cancel
Showing results for 
Search instead for 
Did you mean: 
Magnus
Flexera beginner

Minor upgrade does not work

I run minor upgrade on version 5.4.6.0 to version 5.4.9.0.

The upgrade seems to work, all files were installed (upgraded).

But when I'm starting the installation again, I got the dialog "This setup will perform an upgrade of ..." again. I'm expecting the maintenance GUI.

Now I can't even remove it from Add/Remove programs either.

Please help me.

/Magnus
Labels (1)
0 Kudos
18 Replies
Reureu
Pilgrim

Re: Minor upgrade does not work

What project type is it?

If it is an Basic MSI or InstallScript MSI project, you can:

  • Log what's going on while the minor upgrade is taking place and when you launch the installer again.
  • Use the Upgrade Validation Wizard to see if your installation package respects all rules to support a minor upgrade.
0 Kudos
Brandon_Lowe
Pilgrim

Re: Minor upgrade does not work

I have 3 different Basic MSI installation right now that we are working on and we just started on the minor upgrade part and they are all 3 doing the same thing. Once you upgrade to the new build/version it now will only run in upgrade mode. No matter what you do it is now in update mode.

I will try what is asked above to see if any of it helps.
0 Kudos
Magnus
Flexera beginner

Re: Minor upgrade does not work

Yes I'm using Basic MSI project IE 2012, the wizard and logfiles gives me nothing that points in any direction that helps me solve this problem.

I'm still looking for a solution.

(Is this an IS2012 thing, I have not seen this using the IS2011)
0 Kudos
Magnus
Flexera beginner

Re: Minor upgrade does not work

I have still not found any solution of this...

To reproduce this (takes 10 minutes).
0: unzip the attached zipfile, (contains and ism and a test app .exe).
1: Build the attached installation in IS2012 and install the build version.
2: Change version from 5.31.788.006 to 5.31.789.006 and build this version.
3: Install the minor upgrade 5.31.789.006.
4: Start the installation (3) again, now I expect the wizard to be launched in maintenance mode, but it only end up in upgrade mode.

Please help.

(I have just converted this project from IS2011 to IS2012, if that helps)
0 Kudos
Brandon_Lowe
Pilgrim

Re: Minor upgrade does not work

Make sure if you are following his steps above that you test it on a test machine because after you do it you will also not be able to uninstall.

I can duplicate it at will with the three new MSI installations we are developing in IS2012 right now.

After doing the upgrade and getting stuck where it will only want to upgrade I thought maybe the system just did not think it upgraded so I went back and tried to run the previous install again but it displayed and error that the product was already installed and would not run.

This problem is really bad for me and my team right now as we are getting ready for beta and I cannot let beta go with this error. I'm hoping it is just user error on my part but the fact that another team member has the same issue with a completely different install leads me to think not.
0 Kudos
Magnus
Flexera beginner

Re: Minor upgrade does not work

You can always skip the minor upgrade, create a major upgrade instead, then it is possble to uninstall.
0 Kudos
Highlighted
Magnus
Flexera beginner

Re: Minor upgrade does not work

I still don't know whats wrong in the ism, but when running FixIt program, it manage to solve the problem.

http://support.microsoft.com/fixit

See also: http://support.microsoft.com/kb/971187

If anyone could give me a hint what I shall do in the InstallShield project, I would be happy.
0 Kudos
Magnus
Flexera beginner

Re: Minor upgrade does not work

After a lot of investigations it seems to be that the installer sets the Preselected property to "1", and I don't know why.

This property is used in SetupResume Condition in User Interface Sequence: "Installed And (RESUME Or Preselected) And Not PATCH"

How can I fix this?
0 Kudos
Reureu
Pilgrim

Re: Minor upgrade does not work

It is due to the way msiexec is called when performing a minor upgrade.
Your setup.exe calls msiexec and sets the REINSTALL property. Then the Preselected property gets set to "1".
MSDN says:
The installer sets the Preselected property to a value of "1" during the resumption of a suspended installation or when any of the following properties are specified on the command line. If the Preselected property has been set to 1, the installer does not use the Condition table to evaluate the selection of features.

It means the Preselected property is handled internally. As far as I know, it is an expected behaviour.
Did you run the Minor Upgrade Validation Wizard?
0 Kudos