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: Which MSI Conditions tells me that a minor upgrade is being performed?
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
‎Mar 02, 2009
01:47 AM
Which MSI Conditions tells me that a minor upgrade is being performed?
Hi,
I am working on a Basic MSI project with Installshield 2008.
My UI sequence depends on MSI conditions like:
But is there any condition which would tell me that the Setup is actually performing a minor upgrade?
I managed to find the following document http://www.acresso.com/webdocuments/PDF/msiconditions.pdf, but it does not mention the upgrade.
Regards
I am working on a Basic MSI project with Installshield 2008.
My UI sequence depends on MSI conditions like:
- Installed
- Not Installed
- _IsMaintenance="Reinstall"
- _IsMaintenance="Change"
- _IsMaintenance="Remove"
But is there any condition which would tell me that the Setup is actually performing a minor upgrade?
I managed to find the following document http://www.acresso.com/webdocuments/PDF/msiconditions.pdf, but it does not mention the upgrade.
Regards
(10) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2009
09:43 AM
Well for a major upgrade the property is IS_MAJOR_UPGRADE so im assuming that for a minor upgrade the property is IS_MINOR_UPGRADE i've never used this property before though, so no garanties. 😉
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2009
09:44 AM
Please see the condition on the SetupResume dialog box for one possibility.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2009
09:16 AM
Any one got solution for this problem, even i am facing same problem.
In my case IS_MINOR_UPGRADE is not working. 😞
In my case IS_MINOR_UPGRADE is not working. 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2009
09:29 AM
puresoul,
the IS_MINOR_UPGRADE is indeed set when you perform a minor upgrade.
It does work.
You should be more specific about the issue you are facing and give a bit more information.
Regards
the IS_MINOR_UPGRADE is indeed set when you perform a minor upgrade.
It does work.
You should be more specific about the issue you are facing and give a bit more information.
- Are you working on a Basic MSI project?
- Does the problem occur during the UI sequence or the Execute sequence?
- Did you try to produce a detailed MSI log to have a look at the properties that are set during the upgrade?
- Did you start the upgrade by double-clicking on setup.exe or did you just double-click the MSI package?
Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2009
09:32 AM
Please see the condition on the SetupResume dialog box for one possibility.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2009
09:34 AM
Hi Reureu,
I am workin on Basic MSI Project,
I want to check during setup, whether it Minor or Major upgrade.
It is in UI Sequence, IS_MAJOR_UPGRADE is working fine but IS_MINOR_UPGRADE is not working, even I am not aware how to set it or how to use it.
I am executing setup by clicking on Setup.exe
Also can you please tell me how to set Minor Upgrade.
Thanks
I am workin on Basic MSI Project,
I want to check during setup, whether it Minor or Major upgrade.
It is in UI Sequence, IS_MAJOR_UPGRADE is working fine but IS_MINOR_UPGRADE is not working, even I am not aware how to set it or how to use it.
I am executing setup by clicking on Setup.exe
Also can you please tell me how to set Minor Upgrade.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 10, 2009
02:04 AM
Hi puresoul,
Can you create an MSI logfile in verbose mode, when performing your minor upgrade?
Just launch setup.exe from the command line as follows:
Then open C:\LogfileMinorUpgrade.log with an MSI file analyser or even with a text editor and look for the string "IS_MINOR_UPGRADE".
If it is set during the minor upgrade, then the log file should show it.
In my setup project, this MSI property is automatically set by setup.exe from the very beginning of the minor upgrade. So it is already set before displaying any UI dialog.
Even better, as it is a public property (ie its name is written in upper case), it exists during the UI sequence as well as during the Execute sequence
A few more questions:
Regards
Can you create an MSI logfile in verbose mode, when performing your minor upgrade?
Just launch setup.exe from the command line as follows:
setup.exe /v"/L*vx C:\LogfileMinorUpgrade.log"
Then open C:\LogfileMinorUpgrade.log with an MSI file analyser or even with a text editor and look for the string "IS_MINOR_UPGRADE".
If it is set during the minor upgrade, then the log file should show it.
In my setup project, this MSI property is automatically set by setup.exe from the very beginning of the minor upgrade. So it is already set before displaying any UI dialog.
Even better, as it is a public property (ie its name is written in upper case), it exists during the UI sequence as well as during the Execute sequence
A few more questions:
- What happens when you launch setup.exe to perform your minor upgrade? Which dialog do you see first? The InstallWelcome dialog, or the SetupResume dialog?
- Which version of Installshield are you using to build your setup?
Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 10, 2009
05:11 AM
Hi,
It is working now, I hav made silly mistake.
Actually I have not updated the upgrade code, now I have updated it and it is working fine.
Thanks a lot for help 🙂 🙂 🙂
Regards
It is working now, I hav made silly mistake.
Actually I have not updated the upgrade code, now I have updated it and it is working fine.
Thanks a lot for help 🙂 🙂 🙂
Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 10, 2009
05:19 AM
Hi puresoul,
You don't normally change the upgrade code.
The upgrade code allows to tell Windows Installer that 2 products (with different product codes) are related, and that it should perform a major upgrade, if you have configured your upgrade table accordingly.
Windows Installer assumes that 2 products with the same upgrade code are related.
If you want to perform a minor upgrade, you should:
Have a look at the last table in
http://documentation.installshield.com/robo/projects/installshield12helplib/MajorMinorSmall.htm
It shows which code needs to be changed to perform upgrades.
Regards
You don't normally change the upgrade code.
The upgrade code allows to tell Windows Installer that 2 products (with different product codes) are related, and that it should perform a major upgrade, if you have configured your upgrade table accordingly.
Windows Installer assumes that 2 products with the same upgrade code are related.
If you want to perform a minor upgrade, you should:
- Change the package code
- Change the product version
Have a look at the last table in
http://documentation.installshield.com/robo/projects/installshield12helplib/MajorMinorSmall.htm
It shows which code needs to be changed to perform upgrades.
Regards
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 10, 2009
09:48 AM
Hi,
Yes you are right, it is my mistake again.
It was testing mistake and i thought it worked fine.
Again I stucked at same point i mentioned in previous post.
I will try your suggestion and get back to you.
Thanks,
Yes you are right, it is my mistake again.
It was testing mistake and i thought it worked fine.
Again I stucked at same point i mentioned in previous post.
I will try your suggestion and get back to you.
Thanks,