Hello AI-team,
we have a problem building patches for our setup-files. We are using Advanced Installer version 15.9
We use a 4 digit product version, like x.x.x.x and always sign our setups with a certificate.
Our last released version is 6.7.1.5
Every version is built by a self written tool where you can select a zip with changes for our software.
Then the tool lets you decide if you want to build a service pack (full Setup) or a patch.
The tool uses the Advanced Installer to build a service pack / patch and changes the *.aip project of the release on the fly (change product code for a new setup, set target and upgrade for a patch etc.).
Inbetween version releases we have some setups built for test purposes (which are only released internally). Usually the product code changes with these test builds.
We now have a version number of 6.7.1.7 with only minor / minimal changes in some exe files. But it is not possible to build a patch between 6.7.1.7 and our released version 6.7.1.5 which is able to patch our last release.
Before building the patch I open the *.aip-file for this product to ensure that the correct product code (the one from 6.7.1.5) is available.
I think this is very important.
The patch project has the following switches set:
- Allow Product Code mismatches
- Allow Product Version major mismatches
- Include whole files only
- Disable automatic patch sequence information generation
Patch information in the tab "Add/Remove (Control Panel) are set correctly. The classification is set to Service pack.
The digital signature is using the correct certificate and works fine.
In the "Images" section a Family is generated. The Disk ID is 2, the file sequence is 219. I don't really know who has set these setting - maybe our self written build tool, which uses the Advanced Installer for generating setup or patch.
In the Family, upgraded image "Setup" points to the msi v6.7.1.7 and the target image "Setup_1" points to the msi v6.7.1.5.
Under "Validation" the following options are checked:
- Product must match base database
- Upgrade code must match base database
- Product version check: Check major, minor and update versions
- Product version relation: Installed version = base version
When a patch is built (as a Patch.exe), it is not possible to patch our released version 6.7.1.5.
We always get an error saying that the patch couldn't find a patchable version of our software.
Did I miss something? Am I doing something wrong?
We are due to release a patch next week, but I couldn't find the problem. Any help would be very appreciated.
Best regards
alf