deployment - How to skip action defined in Installer's BeforeUninstall function when upgrading to WiX -
our current setup project created using vdproj needs migrated wix. during process, facing problem while upgrading existing vdproj msi wix msi. existing implementation performs action on 'beforeuninstall' event of installer, should not called when upgrading, on using wix msi, action being called. how skip event while upgrading using wix installer?
i have tried setting properties 'previousversionsinstalled', 'newerproductfound' still action called.
if you're doing major upgrade in wix should using majorupgrade element. if there upgrade going on, set wix_upgrade_detected property documented here:
http://wixtoolset.org/documentation/manual/v3/xsd/wix/majorupgrade.html
i recommend away installer class method of running custom action code , @ dtf managed code custom actions. don't know can call installer classes wix anyway, because in vs depend on infrastructure (the installutilb dll) proprietary visual studio.
Comments
Post a Comment