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
- :
- Prerequisite not running during an upgrade
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
‎Jul 28, 2010
11:12 AM
Prerequisite not running during an upgrade
My project type is "InstallScript Project".
I have an existing application that is installed. For my most recent version, I've added a prerequisite for .Net 4.0.
If I install onto a machine as a new install, the prerequisite runs fine when it is needed to be run.
But on a machine that is upgrading, the prerequisite does not run. Is there any way around this, or a setting I am missing? Or do I need to run it manually? If so, how do I run a prerequisite manually?
Or will I need to check myself if .Net 4.0 is not installed, and then run the .net 4.0 install myself? If so, what would I need to check on the machine for the existence of .Net 4.0?
I have an existing application that is installed. For my most recent version, I've added a prerequisite for .Net 4.0.
If I install onto a machine as a new install, the prerequisite runs fine when it is needed to be run.
But on a machine that is upgrading, the prerequisite does not run. Is there any way around this, or a setting I am missing? Or do I need to run it manually? If so, how do I run a prerequisite manually?
Or will I need to check myself if .Net 4.0 is not installed, and then run the .net 4.0 install myself? If so, what would I need to check on the machine for the existence of .Net 4.0?
4 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 28, 2010
12:59 PM
Try treating it like a Major upgrade - generate a new Product Code (Don't change the upgrade code).
Be sure to save the current Product Code in case you need to revert to it for some reason.
The upgrade will then run more like a new install on top of the old version.
I pretty much do this for all of my upgrades.
Des
Be sure to save the current Product Code in case you need to revert to it for some reason.
The upgrade will then run more like a new install on top of the old version.
I pretty much do this for all of my upgrades.
Des
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 28, 2010
01:13 PM
Thanks for the response, that is one option I can try.
But it still doesnt make sense why a prerequisite would not run during an upgrade. You should have that ability, yu would have to think that its possible that newer versions of your application can have new prerequisites.
But it still doesnt make sense why a prerequisite would not run during an upgrade. You should have that ability, yu would have to think that its possible that newer versions of your application can have new prerequisites.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 29, 2010
05:24 AM
I'm far from an expert (I can't even see one from here 😉 ) but I think that is one of the "rules" of a major upgrade. If the prerequisites change then you really need to promote your installer to major upgrade status.
Let me know if this works for you.
Let me know if this works for you.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 30, 2010
12:36 PM
I encountered this myself last year - very very frustrating. I had to code my own checks and installs for updates in my InstallScript program!!
Anyway, after 11 months, InstallShield finally acknowledged the bug and here is the incident information for you to monitor - Good Luck:
I've have checked with our Engineering team about the issue you raised, and they have accepted this as a bug to be resolved in a future release of InstallShield.
When a future release is launched, all bug fixes will be displayed in the Release Notes. Please check these Release Notes, by searching for this issue number: IOB-000058418. The Release Notes can be found on our web site, via the following web page:
InstallShield: Resources:
http://www.flexerasoftware.com/products/installshield/resources.htm
Anyway, after 11 months, InstallShield finally acknowledged the bug and here is the incident information for you to monitor - Good Luck:
I've have checked with our Engineering team about the issue you raised, and they have accepted this as a bug to be resolved in a future release of InstallShield.
When a future release is launched, all bug fixes will be displayed in the Release Notes. Please check these Release Notes, by searching for this issue number: IOB-000058418. The Release Notes can be found on our web site, via the following web page:
InstallShield: Resources:
http://www.flexerasoftware.com/products/installshield/resources.htm
