This is not strictly a WiX question, but I'd *really* appreciate any suggestions!
I shipped a merge module which customers build into their MSIs. The merge mod installs a device driver. The problem is that I did not properly allow for an upgrade. During an upgrade, the driver must NOT be uninstalled - the custom action that removes the driver should have included NOT UPGRADINGPRODUCTCODE, but I forgot it. The newer version of the merge module will need to edit the installed MSI, and put the condition NOT UPGRADINGPRODUCTCODE on the custom action which installs the driver. How do I do this? A brief outline to get me started will be very helpful and much appreciated. I'm assuming it will need a C++ DLL custom action, but otherwise don't really know much. Unfortunately it isn't possible to produce a separate script (which I know how to do, using SQL to edit tables etc.) -- this has to be done from the merge module, adding the extra complication that it can't hard code the UpgradeCode or ProductCode of the already-installed package. Many thanks! ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users