Hello SamyB,
please note, to extract a simple solution, you don't need the SolutionPackager. You can extract the ZIP solution file with any Archiving application, which supports ZIP files.
Within the extracted files, you will find the necessary customization.xml file, which contains all the description about the components and metadata, within your solution.
Within the "solution.xml" file, you will find the details about the dependent components and the dependencies, which are mandatory to import the solution at an target environment.
The files you can open with any advanced Text editor, like "Notepad++" or any XML editor.
For working with the solutions, and the supported customization within these files, please have a look at the following part of the documentation:
- See section "Solution File": docs.microsoft.com/.../supported-extensions
- docs.microsoft.com/.../introduction-solutions
To further understand your unexpected behavior, can you please share following details, please?
> is this a "Mangaged" or "Unmanaged" solution, you are trying to import?
> What CRM version you exported the solution and what Version is the target environment?
> What missing dependencies the solution import is complaining about? (screenshot?) What are the Solutions, mentioned within the table for the missing components? Did you installed all the related Addons/Solutions? (for example Field Service, Sales Hub..)
> Are the missing components, at the import error, just custom components of your environment, or also Out-of-the-box or third-party components?
> If these are custom components, were these components already created by another managed solution (does it have the same publisher?), or were these components manually created at the target?
In my opinion, instead of using the solutionPackager, trying to modify and remove entities (which could be important and mandatory related for your other components inside the solution), is to identify the cause for the missing components, and re-introduce them the expected way to fix.
But more information about the SolutionPackager itself, you can find at the documentation at the following URL:
- docs.microsoft.com/.../compress-extract-solution-file-solutionpackager
Thank you very much and have a nice day