How can I force a major upgrade to not switch to maintenance mode using the old installation package

Posted by Brian on Stack Overflow See other posts from Stack Overflow or by Brian
Published on 2010-04-29T17:32:19Z Indexed on 2010/04/29 17:37 UTC
Read the original article Hit count: 413

I have an installer that I would like to use for a major upgrade. I have done the following:

  • Increased the version number (from a.b.c to a.b.c+1)
  • Changed the ProductCode
  • Kept the same UpgradeCode
  • Made the appropriate entry in the Upgrade table
  • Changed the component ID of an existing component
  • Changed the name of the installer package
  • Changed the PackageCode

Basically I've done everything I can think of to force MSI to treat this as a major upgrade.

However, when I attempt to install this new package, the installer log says "Product registered: entering maintenance mode" and proceeds to try to find the old installer file (which fails, since the new installer is in a different folder than was used for the original installation, and wasn't even what I wanted to happen).

What am I missing? Why does the installer switch to maintenance mode right away rather than perform the major upgrade?

Thanks!

© Stack Overflow or respective owner

Related posts about msi

Related posts about major-upgrade