Install InstallShield Limited Edition for VS2010 so that it automatically uninstalls previous versions of my application

I am working on a WPF desktop application and I am deploying through the installation file created by InstallShield Limited Edition. I want the installer to request the user and uninstall previous versions of the application before installing the new version. I suspect this is done using the Upgrade Paths option in InstallShield, but I cannot figure out how to do this.

The answer goes to an explanation or a link to a decent, practical, educational or reference page that answers my question.

At the moment, when I run the installer, I get: "Another version of this product is already installed. Installation of this version cannot be continued. To configure or remove an existing version of this product, use the" Add or Remove Programs "in the control panel."

thanks

+6
source share
1 answer

Try the following:

  • in Solution Explorer, go to the General Information page
  • increase product version
  • create a new product code
  • make sure that the ALLUSERS property has the same value as in the old package
  • go to the "Update Paths" page and add the old MSI
  • create and install new version

When starting this new package, it should automatically detect and remove older versions.

Here you can read about Windows Installer updates: http://msdn.microsoft.com/en-us/library/aa370579(VS.85).aspx

+9
source

Source: https://habr.com/ru/post/890938/


All Articles