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: Issues with Major upgrade - Urgent!!!!
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 07, 2008
02:58 AM
Issues with Major upgrade - Urgent!!!!
Hello,
I am having some issues with major upgrade and need to resolve immediately.
I am upgrading from Version 1.2.0 of my software to 1.2.2
To bring our software to version 1.2.0 ,our clients were given the following two installers depending on if the clients were new or existing
1) Upgrade from version 1.1.0 to 1.2.0
2) Fresh installation to 1.2.0
The above installers have the same product code but different upgrade code
Now when i am trying to upgrade to version 1.2.2, i face the following issues
a) when the product code is not changed (same upgrade code as previous upgrade installer), my installation goes into maintenance mode (if the client has used the previous upgrade installer)
b) When the product code is changed i get two entries in Add/Remove program which is not desirable.
Would appreciate immediate and detailed response as I am a novice to installshield.
Many thanks in advance
Vaneeth
I am having some issues with major upgrade and need to resolve immediately.
I am upgrading from Version 1.2.0 of my software to 1.2.2
To bring our software to version 1.2.0 ,our clients were given the following two installers depending on if the clients were new or existing
1) Upgrade from version 1.1.0 to 1.2.0
2) Fresh installation to 1.2.0
The above installers have the same product code but different upgrade code
Now when i am trying to upgrade to version 1.2.2, i face the following issues
a) when the product code is not changed (same upgrade code as previous upgrade installer), my installation goes into maintenance mode (if the client has used the previous upgrade installer)
b) When the product code is changed i get two entries in Add/Remove program which is not desirable.
Would appreciate immediate and detailed response as I am a novice to installshield.
Many thanks in advance
Vaneeth
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2008
03:37 AM
Hi Vaneeth,
Look into the Major Upgrade Versioning Rules in this http://helpnet.acresso.com/Robo/BIN/Robo.dll?mgr=agm&tpc=%2Frobo%2Fprojects%2Finstallshield14helplib%2FMajorMinorSmall.htm&wnd=InstallShieldLivingHelp%7CMain&agt=wsm&ctxid=showthread.php
Upgrade code should not be changed for ANY Upgrades.
So, typically u should change the Product Code and not Upgrade Code.
Hope this helps.
-VJ
Look into the Major Upgrade Versioning Rules in this http://helpnet.acresso.com/Robo/BIN/Robo.dll?mgr=agm&tpc=%2Frobo%2Fprojects%2Finstallshield14helplib%2FMajorMinorSmall.htm&wnd=InstallShieldLivingHelp%7CMain&agt=wsm&ctxid=showthread.php
Upgrade code should not be changed for ANY Upgrades.
So, typically u should change the Product Code and not Upgrade Code.
Hope this helps.
-VJ
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2008
03:56 AM
Hello VJ,
Many thanks for your immediate response.
As i said two different installers were distributed for the previous version . One fresh and one upgrade. My cureent upgrade installer should be able to update irrespective of the installer used in the previous version.
I have tried same upgrade code (as the previous upgrade installer) and different product code but i get two entries in the add/remove programs which i don't want
Another issue is that the two installers for the previous version have two different upgrade codes.
Any suggestion would be of great help.
Thanks and Regards,
Vaneeth
Many thanks for your immediate response.
As i said two different installers were distributed for the previous version . One fresh and one upgrade. My cureent upgrade installer should be able to update irrespective of the installer used in the previous version.
I have tried same upgrade code (as the previous upgrade installer) and different product code but i get two entries in the add/remove programs which i don't want
Another issue is that the two installers for the previous version have two different upgrade codes.
Any suggestion would be of great help.
Thanks and Regards,
Vaneeth
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2008
04:35 AM
Hi Vaneeth,
It is impossible to do Upgrades if the UpgradeCode has changed.
You say that you have two installer with different Upgrade Codes. So, you can't create a single installer targeting both the packages.
Did you populate the Upgrade table?
It is impossible to do Upgrades if the UpgradeCode has changed.
You say that you have two installer with different Upgrade Codes. So, you can't create a single installer targeting both the packages.
"I have tried same upgrade code (as the previous upgrade installer) and different product code but i get two entries in the add/remove programs which i don't want"
Did you populate the Upgrade table?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2008
05:01 AM
Thanks VJ for your response.
I have populated the upgrade table. I am currently concentrating on installer for installing on top of previous upgrade installer. My problem is I am getting two entries in the Add/remove program.Many thanks for your valuable suggestions
Also if i include the upgrade code for the othe installer in the upgrade table.Will it cater to both the installers?
Regards,
Vaneeth
I have populated the upgrade table. I am currently concentrating on installer for installing on top of previous upgrade installer. My problem is I am getting two entries in the Add/remove program.Many thanks for your valuable suggestions
Also if i include the upgrade code for the othe installer in the upgrade table.Will it cater to both the installers?
Regards,
Vaneeth
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2008
06:46 AM
Hi Vaneeth,
Can You paste the screen shot of the Upgrades view in the Installshield.
-VJ
Can You paste the screen shot of the Upgrades view in the Installshield.
-VJ
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2008
06:49 AM
Hi Vaneet,
If you are using diff upgrade code then you need to add these entry in upgrade table(latest installer).So before installation it will uninstall previous version.
Best practice is use same upgrade code for same family of package.
Thanks
Nil
If you are using diff upgrade code then you need to add these entry in upgrade table(latest installer).So before installation it will uninstall previous version.
Best practice is use same upgrade code for same family of package.
Thanks
Nil
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2008
10:53 AM
Many thanks VJ , Nil
The changes in entries of upgrade table worked like a charm.
On upgrading, it is deleting the virtual directory which is not desired.
The previous installer on creating VD did not mark it as permanent.Any thoughts how to prevent it from getting deleted.
Many thanks once agin for your valuable inputs.
Regards,
Vaneeth
The changes in entries of upgrade table worked like a charm.
On upgrading, it is deleting the virtual directory which is not desired.
The previous installer on creating VD did not mark it as permanent.Any thoughts how to prevent it from getting deleted.
Many thanks once agin for your valuable inputs.
Regards,
Vaneeth
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2008
02:46 PM
Vaneeth,
I am not sure how to do this, but before you check for previous versions you would have to somehow apply a patch to the existing setup to make sure that your Virtual Directory is flagged as permanent. That is the only method I can think of since your current install does not control the uninstall script for previous installs.
I am not sure how to do this, but before you check for previous versions you would have to somehow apply a patch to the existing setup to make sure that your Virtual Directory is flagged as permanent. That is the only method I can think of since your current install does not control the uninstall script for previous installs.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2008
03:03 PM
Many thanks for your response.
Is there a way to manually mark the virtual directory and application pool pernmanent or can i add it in the system rgistry.
Any suggestion would be of great help.
Thanks and Regards,
Vaneeth
Is there a way to manually mark the virtual directory and application pool pernmanent or can i add it in the system rgistry.
Any suggestion would be of great help.
Thanks and Regards,
Vaneeth
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2008
08:29 AM
I don't think a registry hack will help you here. The problem as far as I can tell will be that the cached MSI for the already installed application will not expect to check the registry keys, maybe this is not so - I cannot say that I have tried it, but logically it sounds like it would not work.
When you install a patch the cached MSI and registry are both updated.
When you install a patch the cached MSI and registry are both updated.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)