PDA

View Full Version : Auto uninstall before install



johnd2
10-15-2004, 05:46 AM
I have two install packages that I made some time ago with X Express. One of the packages automatically uninstalls the application (if it is installed) before re-installing. The second package gives me the dialog box "Another version of this product is installed...." and does not re-install the application. How do I set the second package to auto-uninstall like the first one?

Thanks.

Mike Marino
10-19-2004, 05:33 PM
You get the "Another version of this product is installed...." dialog when the product code of the installation has not been changed. Change your new setup's Product Code to a new Product Code. This can be done in the General Information view.

Next, author the Upgrade view to reference the setup you want to remove. This view allows removal of previous versions of your product.