Configure Deployment to Install MSI with Lower Version than Previously Installed

Hi TeamCity community members!

We recently encountered an issue with one of our deployments, which required us perform a release from our master branch instead of our release branch. This release was assigned version 99.0.248, which is very far outside of our normal version control scheme.

Last night we tried to perform a release from our release branch, but it failed because the release  was assigned version 3.93, which is lower than version 99.0.248.

The MSI installation failed with error code 1603. Here is the relevant text from the install log:

Action start 3:09:42: LaunchConditions.
MSI (s) (08:50) [03:09:42:580]: Product: Intrigma Scheduling Studio -- Downgrades are not allowed.

Action ended 3:09:42: LaunchConditions. Return value 3.
Action ended 3:09:42: INSTALL. Return value 3.
MSI (s) (08:50) [03:09:42:582]: Note: 1: 1708
MSI (s) (08:50) [03:09:42:582]: Product: Intrigma Scheduling Studio -- Installation failed.

MSI (s) (08:50) [03:09:42:582]: Windows Installer installed the product. Product Name: Intrigma Scheduling Studio. Product Version: 3.93.0.270. Product Language: 1033. Manufacturer: Intrigma Inc.. Installation success or error status: 1603.

MSI (s) (08:50) [03:09:42:588]: Deferring clean up of packages/files, if any exist
MSI (s) (08:50) [03:09:42:589]: MainEngineThread is returning 1603
MSI (s) (08:BC) [03:09:42:591]: RESTART MANAGER: Session closed.
MSI (s) (08:BC) [03:09:42:591]: No System Restore sequence number for this installation.

We're wondering if there is any configuration available to us in TeamCity to allow a downgrade. Otherwise, we will likely have to uninstall and reinstall our application, which will require a brief downtime.

Please let us know if you've figured out how to do this!

Best,

Alex

0
1 comment

Hi Alex,

I'm afraid there isn't much of an option to do that from within teamcity. How do you deploy/run the msi? Doesn't the installer have an option to override / downgrade? Do you create the MSI with some specific plugin for it?

0

Please sign in to leave a comment.