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
- :
- Re: Upgrade should be treated as a new installation.
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
Nov 13, 2007
06:26 AM
Upgrade should be treated as a new installation.
Hi,
I am using installshield 2008 for creating installer of installscriptmsi type. Here i am handling the upgrade of my software through the code and the registry entries done during the installation of my software. I do not want to use installshield's features for upgrading my software. Can anybody tell me how can i achieve this?
Precisely i want my installer to work same everytime whether it is an upgrade or new installation i.e. all the dialogs should come everytime as it comes during new installation. It should not behave differently during upgrade.
I have tried following things but they are not working.
1. I selected the 'disabled' radio button for 'small\minor upgrade' in 'upgrades' view but then also it is giving me error stating that 'this program has already been installed, first remove it from add\remove program'(this is summarised form of error) during installation.
2. I deleted some registry entries as
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{PRODUCT_GUID}
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\INSTALLSHIELD_{PRODUCT_GUID}
But after deleting these entries i am getting the same error that i am getting in 1.
NOTE: Afer executing step 2 change\remove button of my software entry has become invisible in Add or remove programs.
I am using installshield 2008 for creating installer of installscriptmsi type. Here i am handling the upgrade of my software through the code and the registry entries done during the installation of my software. I do not want to use installshield's features for upgrading my software. Can anybody tell me how can i achieve this?
Precisely i want my installer to work same everytime whether it is an upgrade or new installation i.e. all the dialogs should come everytime as it comes during new installation. It should not behave differently during upgrade.
I have tried following things but they are not working.
1. I selected the 'disabled' radio button for 'small\minor upgrade' in 'upgrades' view but then also it is giving me error stating that 'this program has already been installed, first remove it from add\remove program'(this is summarised form of error) during installation.
2. I deleted some registry entries as
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{PRODUCT_GUID}
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\INSTALLSHIELD_{PRODUCT_GUID}
But after deleting these entries i am getting the same error that i am getting in 1.
NOTE: Afer executing step 2 change\remove button of my software entry has become invisible in Add or remove programs.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 14, 2007
02:56 PM
Why don't you create a major upgrade. If the installer does not detected any old version then it installs a new setup. If it detected an old version then it completely uninstall old setup before installing new setup
1. Change you product code so it different from previous version(s)
2. Set 'Upgrade Windows Installer Setup' with these options:
disable minor/small upgrade setting
completely uninstall old setup before installing new setup
3. Add 'Major Upgrade Item' and fill the corrected info
4. Add more 'Major Upgrade Item' if need to
Hope this help.
- Thanh
1. Change you product code so it different from previous version(s)
2. Set 'Upgrade Windows Installer Setup' with these options:
disable minor/small upgrade setting
completely uninstall old setup before installing new setup
3. Add 'Major Upgrade Item' and fill the corrected info
4. Add more 'Major Upgrade Item' if need to
Hope this help.
- Thanh
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)