views:

369

answers:

1

I'm trying to fix a Windows Installer based setup that is already released. The fix is for an error that occurs when uninstalling the package. For this I'd like to provide a .mst transform file that is applied before uninstalling. Is it possible to use a transform after the product was installed? Or can the transform be applied to an already installed .msi file before the uninstall is started? The command line I used was like this:

msiexec.exe /x {Product-Code} TRANSFORMS={Path-To}\bugfix.mst
+1  A: 

Transforms are only applied at first-install, or internally as part of a patch. To fix problems like this, you should consider applying a minor upgrade (although if size is a major concern, you should be able to package the minor upgrade as a patch). Be sure to pass v as part of the REINSTALLMODE property so that the new package replaces the old one; generally vomus is a good value for that property.

Michael Urman

related questions