-
minor upgrade/major upgrade
Hi,
I have done this many times earlier, but this time my upgrades are not working.
Let me brief you about my situation.
Our product releases every 6 month and last release (7.1) was supposed to be a minor release, but was converted into a major release over previous release (7.0) as we were time pressed to check for minor release. We modified the product code and it was build and shipped.
Now we have another release lined up (7.2) which we want to treat as minor release over 7.1. Another requirement is it should upgrade from 7.0 as well to the current release.
If the current release is designed as major upgrade it upgrades 7.0 to 7.2, but not from 7.1 to 7.2, this is partly because in the InstallScript code, we allow the installation to proceed only if the product code returned by the property set by installer matches the existing product code.
The above process works fine, if we are installing from 7.0 to 7.2, but not from 7.1 to 7.2 (it is not supposed to work, though). We need the new package to be a minor upgrade as against the existing major upgrade.
To create a minor upgrade, I created a upgrade item in Upgrade view as minor upgrade and removed the existing major upgrade settings. I have also removed the installscript code, to compare product codes, to allow upgrade. I have also restored the (7.2) product code to be same as 7.1 product code.
When I run the installation, it simply uninstalls the previous installation and then runs the installation in the regular way.
It is not at all behaving the way a minor upgrade would. I checked the MSI file, post build, and there are no entries in UPGRADE table with respect to upgrades. The size of the installer is also a matter of concern as it is the same as the regular install without any reduction.
The type of project is InstallScript MSI project.
Please help.
Thanks
Amit Bhargava
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules