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
- :
- Auto uninstall before install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 29, 2013
03:15 AM
Auto uninstall before install
Hi all,
I am using InstallShield LE 21012 form Visual Studio as SingleImage.
I am trying to set my setup.exe to auto uninstall prev app before install but fail.
I saw in some thread that I should basically change my "Product Code" and increase my "Product Version".
In my "Upgrade Paths" I left blank "Min Version" and set "Include Min Version" to true.
"Max Version" is "1.00.0000" and "Include Max Version" to true.
I copied "Upgrade code" from "General Information" to "Upgrade Paths".
The problem is that my previous app is still exist on the "Uninstall a program".
however, I do see that before the installation it tries to uninstall the previous app.
I'd appreciate your help.
I am using InstallShield LE 21012 form Visual Studio as SingleImage.
I am trying to set my setup.exe to auto uninstall prev app before install but fail.
I saw in some thread that I should basically change my "Product Code" and increase my "Product Version".
In my "Upgrade Paths" I left blank "Min Version" and set "Include Min Version" to true.
"Max Version" is "1.00.0000" and "Include Max Version" to true.
I copied "Upgrade code" from "General Information" to "Upgrade Paths".
The problem is that my previous app is still exist on the "Uninstall a program".
however, I do see that before the installation it tries to uninstall the previous app.
I'd appreciate your help.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 15, 2014
02:00 PM
I'm using InstallShield GUI for this so not sure how to access this from "InstallShield LE 21012 form Visual Studio".
However, in IS GUi, you should have 2 upgrade items, one which I believe is there by default and that is the PreventDowngrade with Products sharing my Upgrade Code. It has the minimum product version set to the current version and upper version range blank.
The other item would have the "Any earlier versions" option sharing the same Upgrade Code.
Again - check to make sure Upgrade codes are the same and yes, change the current product code and increase the version.
However, in IS GUi, you should have 2 upgrade items, one which I believe is there by default and that is the PreventDowngrade with Products sharing my Upgrade Code. It has the minimum product version set to the current version and upper version range blank.
The other item would have the "Any earlier versions" option sharing the same Upgrade Code.
Again - check to make sure Upgrade codes are the same and yes, change the current product code and increase the version.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 17, 2014
12:33 AM
Hi,
When the older version is already installed and when you try to install a new version, you might get an error stating-
"Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."
To avoid this and to automatically uninstall and remove previous versions of your applications, please try the following:
-> In Solution Explorer go to "General Information" page
-> Increase the Product Version
-> Generate a new Product Code
-> Make sure that ALLUSERS property has the same value as in the old package
-> Go to "Upgrade Paths" page and add the old MSI
-> Build and install your new version
When running this new package it should automatically detect and remove older versions.
You may also want to have a look at the below link which gives more information about upgrades:
http://msdn.microsoft.com/en-us/libr...79(VS.85).aspx
Please let us know if you require any further assistance on this.
Thanks,
Chaitra
When the older version is already installed and when you try to install a new version, you might get an error stating-
"Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."
To avoid this and to automatically uninstall and remove previous versions of your applications, please try the following:
-> In Solution Explorer go to "General Information" page
-> Increase the Product Version
-> Generate a new Product Code
-> Make sure that ALLUSERS property has the same value as in the old package
-> Go to "Upgrade Paths" page and add the old MSI
-> Build and install your new version
When running this new package it should automatically detect and remove older versions.
You may also want to have a look at the below link which gives more information about upgrades:
http://msdn.microsoft.com/en-us/libr...79(VS.85).aspx
Please let us know if you require any further assistance on this.
Thanks,
Chaitra
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 27, 2014
03:43 AM
I try it but I can't upgrade my application without uninstall the package !
For example , I specify this :
Min version 1.00.00000
Max version : Nothing
I supress ispreventdowngrade.
And the package is not installed.!
Are you a solution ?
For example , I specify this :
Min version 1.00.00000
Max version : Nothing
I supress ispreventdowngrade.
And the package is not installed.!
Are you a solution ?