Optimize the package size without deleting project content..
One of our recommendations is to clean up your project folder, getting rid of unnecessary content like installer cache.. One problem by doing that to early in the packaging phase is that you might need to perform self-repair on the package (ending up in the Sandbox and sbmerge it to the project folder). So one option can be to use build exclusion list. There is a documented parameter (package.ini reference guide can be found here) that will tell the build process to skip certain files, while still remaining in your project folder, making your package smaller.
Picture 1 shows you the original size of a not cleaned up Office 2003 package. The size is close to 1.3GB.
Picture 2 shows the ExcludePattern parameter inserted into the package.ini file (file extensions only an example to showcase the parameter).
Picture 3 shows the result from the build process using ExcludePattern. The size is now down to 960MB.
Comments