I think you can use the UPGRADINGPRODUCTCODE property, similar to Dana Gutride's recent post. If you condition the removal at uninstall (the custom action in the older version) on NOT UPGRADINGPRODUCTCODE then a major upgrade will not run the custom action to remove the shortcut but a plain uninstall will.

Phil Wilson


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Lalande
Sent: Wednesday, September 13, 2006 2:39 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] restoring an app-created Startup folder shortcut on amajor upgrade

I have an application that will allow the user to add an app shortcut.  I would like to remove it during an uninstall but not a major upgrade.  Right now, I have a custom action that restores the shortcut (written in C++ and doing some weirdbut there must be a way without a CA..or at least a CA that isn't so unweildy.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to