upgrade woes - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

thatsamiam
Posts: 6
Joined: Tue Dec 11, 2007 10:36 am

upgrade woes

Hi,
I have two questions:

1.
I have an MSI created by installshield.
And I made an MSI using AI.
In the upgrade box I put in the "upgrade code" for the installshield MSI. (I did this by selecting the .MSI using "...").
The version number of the AI MSI is higher than that of InstallShield MSI.
But when I install the AI MSI it installs "side by side".
Why is this happening?

2.
How can I tell if an MSI file (created by Installshield) is installed "per user" or "per machine"? (What property is it?)
thatsamiam
Posts: 6
Joined: Tue Dec 11, 2007 10:36 am

fixed the problem

Hi,
I managed to fix the problem....
The problem was that when I selected "..." to get the upgrade code, AI got the upgrade code....and got the MinVersi...
Now, AI got MinVesion = X...but when I looked at the "Click here for support information" in the old IS entry in Add or Remove Programs, the Version was not X...but X - A.
Now, even thought I did not have the check box selected in AI to "use the Min" in the range, it appears that range checking was still happening.
So, to fix the problem:
1. Check in "click here for support information" to see what the version really is.
2. Don't select that check box to use the MinVer and clear the value.

(I guess the exact steps to fix the problem will depend on what you want to do...but in my case that is what I did).
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
Now, even thought I did not have the check box selected in AI to "use the Min" in the range, it appears that range checking was still happening.
Note that when you set a minimum version for an upgrade, this version will be taken in consideration when upgrading.

For example, if you set the Minimum version to 1.0.1 then the current MSI package will perform the upgrade only if the old MSI has a version greater than 1.0.1. When using the "Include minimum version in range" option, the Minimum version is included in the supported version versions, therefore the old MSI needs to have a version greater or equal to the Minimum version.
How can I tell if an MSI file (created by Installshield) is installed "per user" or "per machine"? (What property is it?)
In order to determine if the install is per-user or per-machine you can use the ALLUSERS property. You can read more about this here:
http://msdn2.microsoft.com/en-us/library/aa367559.aspx

Note that you can find out the value of this property only by opening the InstallShield MSI with Orca and selecting the "Property" table.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”