/build/static/layout/Breadcrumb_cap_w.png

Why should I never repackage an MSI?

First of all MSI installations are already in a in a distributable format, so there is no benefit to recreating the setup. MSI packages are full of internal references, which cannot be captured and recreated. These internal references are critical to the self-healing functionality of MSI packages and are fundamental to their operation.

Repackaging an MSI may result in uninstall problems and other Windows Installer related problems. Finally, and perhaps most important, when the vendor releases and update or patch (MSP) for the product, it will be designed to update their MSI and not yours. When repackaging, all of the globally unique identifiers (GUIDs) used to identify items in the package are regenerated and will not match up to the updates provided by the software vendor package.

There are no changes that cannot be implemented at install-time using an MST (transform) file. Aside from dictating installation preferences, you can add, delete or change any items you wish. I have had some people challenge the fact that the capabilities of MST negate the need to repackage an MSI. While the statement is certianly a fact- it can admittedly be a very difficult task to carry out when dealing with certian packages. Have you given up on MST and repackaged an MSI? Please rate the applications difficulty and provide comments in the software's Package Knowledge base entry. Fighting with a package right now? The Package Knowledge base may hold some answers for you. Also visit our package development message board.


Comments

  • One good reason to repackage an MSI is when MSI vendor, usually large, stuffs it with custom actions to the degree where MSI has already very little left of the MSI. My favorite example is the installation of Adobe Reader When you deal with that, it's much easier to simply repackage the thing than even try to figure out what those custom actions do. An equivalent transform in that case would tell to discard everything that the original MSI did, and instead do this and that. - vadimrapp 9 years ago
  • To add to this great article, for anyone who requires creating and applying MST to their MSI files, we offer a tool called PACE Suite - you can try it for free: http://pacesuite.com/ - pace-support 6 years ago
This post is locked
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ