windows installer - How to detect that Wix bundle is being uninstalled? -
i have wix bootstrapper bundle installs couple of msi packages.i want delete registry values when bundle being uninstalled. problem values should deleted when whole bundle uninstalled (not 1 of msi packages). tried use wixbundleaction wix variable detect case , pass msiproperty packages, allways evaluates 0
<msipackage id="pac" sourcefile="$(var.so)" compressed="yes" vital="yes"> <msiproperty name="remove_reg" value="[wixbundleaction]"/> </msipackage>
is there proper way detect when bundle uninstalling?
the direct answer question bug 0, should fixed in latest build of v3.10 , v4.0.
the real answer should doing registry operations inside msi, not bootstrapper. let windows installer keep track of ref counting, rollback, etc.
Comments
Post a Comment