This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Uninstall a previous version and install a new one?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2009
04:39 AM
Uninstall a previous version and install a new one?
Hi all,
My system has a particular version of a product installed. and i when i run the next version of the setup.exe file, the installer should check for any previous version installed, and ask the user if he wants to overwrite the installation with the latest one. If yes, it should remove the previous installation and proceed with installing the current version.
I am able to remove the previously installed product, but i am unable to continue with running the current version of setup.exe.
I have created a new dialog, that has the option of overwriting the existing installation, but when i run the setup.exe, the installer uninstalls the previous version and the screen "Installation completed" appears. It is not allowing me to install the newer version.
Any help on this greatly appreciated.
raj_ksrt.
My system has a particular version of a product installed. and i when i run the next version of the setup.exe file, the installer should check for any previous version installed, and ask the user if he wants to overwrite the installation with the latest one. If yes, it should remove the previous installation and proceed with installing the current version.
I am able to remove the previously installed product, but i am unable to continue with running the current version of setup.exe.
I have created a new dialog, that has the option of overwriting the existing installation, but when i run the setup.exe, the installer uninstalls the previous version and the screen "Installation completed" appears. It is not allowing me to install the newer version.
Any help on this greatly appreciated.
raj_ksrt.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2009
06:27 PM
If it's an MSI project, a "major upgrade" should do the trick. It doesn't automatically prompt the user, but the uninstall-old-then-install-new behavior should do it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2009
11:32 AM
raj_ksrt wrote:
Hi all,
My system has a particular version of a product installed. and i when i run the next version of the setup.exe file, the installer should check for any previous version installed, and ask the user if he wants to overwrite the installation with the latest one. If yes, it should remove the previous installation and proceed with installing the current version.
I am able to remove the previously installed product, but i am unable to continue with running the current version of setup.exe.
I have created a new dialog, that has the option of overwriting the existing installation, but when i run the setup.exe, the installer uninstalls the previous version and the screen "Installation completed" appears. It is not allowing me to install the newer version.
Any help on this greatly appreciated.
raj_ksrt.
General steps:
1) Change the version number,
2) Change the Product Code GUID (leave the Upgrade GUID alone), and
3) Make sure you have an Major or Automatic Upgrade Type configured in the Upgrade view.
If everything is done right, you won't *have* to do any custom dialog work to make this happen.
For more help, search the help file for "major upgrade" as Robert suggested.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2009
06:00 PM
And perhaps see this newsletter tip for information about detecting a major upgrade (PDF): http://www.acresso.com/webdocuments/PDF/nl_article_DEV_MajorUpgradeUI.pdf.