Home > Blogs > VMware ThinApp Blog

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.

The parameter is called ExcludePattern and must be placed in package.ini under its own section; [FileList].


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. 3




This entry was posted in Package.ini, Tips and tagged , , , , on by .
Peter Bjork

About Peter Bjork

Peter Bjork is a Senior Staff Architect, Technical Marketing at VMware. He specializes in Identity and Access Management. He's widely appreciated as a speaker at events like VMworld, VMUG and vFORUM. He is the author of two books as well as numerous white papers and blog posts. When the work day is over, Peter volunteers as a Scout leader for the local Sea Scout troop outside Stockholm, Sweden. Twitter: @thepeb.