Applying a "minor upgrade" ignores new files and deletions - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Applying a "minor upgrade" ignores new files and deletions

This is regarding AI 9.4.

We have 2 installers and I'm working on the 3rd revision, e.g. 9.1.0, 9.1.1 and now 9.1.2. The 9.1.1 minor release was setup for "Install MSI as minor upgrade (if applicable)". The 9.1.1 and 9.1.2 installers also do a full installation on systems with no previous installation.

The 9.1.1 updates a 9.1.0 correctly.

When building the 9.1.2 installer the 9.1.1 AI project was copied, the version changed, and "Patch" was selected on the "Which update method for your new version?". It is also set for "Install MSI as minor upgrade (if applicable)". For that update a few files and directories are to be deleted and new directories and files added. Some of those files are 32- and 64-bit and use the Install in Parent Folder option along with the appropriate conditions in the Organization page.

The problem is when 9.1.2 is installed on a 9.1.1 system (installed as a full installation, not an update from 9.1.0) it completely ignores the deletions and additions. Those changes are NOT performed at all. Have not tested the other permutations like 9.1.0 to 9.1.1 to 9.1.2 or 9.1.0 to 9.1.2 cumulative.

What am I missing or doing wrong?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Applying a "minor upgrade" ignores new files and deletio

Hello,

First of all, I'm not sure you are fully understanding how patching mechanism can be implemented. Please take a look on following articles that describe using patches and upgrades:
Patching and Upgrades
Creating Patches

Please keep in mind that patches only contain the differences between the two application versions (older and newer). If you want to create a patch please follow our Patch Autoring article steps. Also, when patching you should carefully follow the Patches Rules.

Also, you can take a look on our Remove some files using patch thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
thill
Posts: 111
Joined: Sat Jan 21, 2012 5:58 pm

Re: Applying a "minor upgrade" ignores new files and deletio

Yes, it seems the issue was a lack of understanding on my part. Am working on this again and am taking a different approach based on a lot of trying and testing.

Return to “Common Problems”