jfaiga
Posts: 25
Joined: Wed Sep 13, 2006 8:21 am

Invalid patches

I used the command line to create a patch (where there was some broken patch rules).
The command line gave the warning
"Warning: Sequence changed. Sequence of file ..."
and then concluded with:
"Analyzing the MSI files found that the resulting patch might not apply correctly. The target or upgraded MSI broke some of the patch rules. For more details, please see the Patch help page."

However the .msp file was still created.

How can I configure the path creation process to not create / delete the .msp file if the above message occurs?

(I am using an automated command line mechanism to create the patch)
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

In case of a broken patch rule (a warning message is displayed) the patch is created but might not apply correctly. We have added the possibility to set different error level if patch builds with warnings on our TODO list. And then you can verify the error level and decide to keep the .msp or not.

But you can manage this in your build script. Redirect the build output to a file, find "Warning" text in that file and if its found delete the .msp.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”