Patch creation not working - 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!

Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

Patch creation not working

Hi,

I get following warning when trying to create a patch:

Warning: Changed component ID. Component ID for "Export_1" was "{36B4C843-396B-40F7-879F-259EFE9FF280}" in target "C:\Projects\patchtest\old\Client.msi" and now is "{67671CB5-48CD-4DCF-AA7B-60C2B35176C9}" in upgraded "C:\Projects\patchtest\all\Client.msi".


This warning does not seem to be correct, in my upgraded project the component ID for Export_1 is still {36B4C843-396B-40F7-879F-259EFE9FF280}, while {67671CB5-48CD-4DCF-AA7B-60C2B35176C9} is and was the component ID for a different component. Only some files were changed between both versions, the old msi was created with AI 4.5, the new one with AI 4.7.1

Even though the patch is still getting created, it doesn't do anything. I can apply it on my server with the old msi installed, but it doesn't upgrade the installation.

What's wrong?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Please make sure you respect all the following patch creation rules:
http://www.advancedinstaller.com/user-g ... tches.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

Hi Gigi,

I read this already, and I am quite sure that I followed the patch creation rules. As mentioned in my previous post, only some files were replaced with newer versions. I wonder why the warning message states the component ID has changed, even though it hasn't.
Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

I reinstalled AI 4.5 on a different machine, loaded my old project, replaced some files and changed the version number. This time I was able to create the patch without getting a warning.
However, the patch isn't doing anything. I created a testproject, but with the same result. A patch is created, but it does not update anything...
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Those warnings only inform the user that the resulted patch might not applying correctly. When the patch is created AI verifies the patch rules (this feature does not exist in the 4.5 version of AI).

In order to investigate the problem please send both AIP file (target and upgraded) or a small similar test case reproducing the issue to support at advancedinstaller dot com.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

Hi Gigi,

I retested everything, started from the beginning, and this time I was able to create a working patch. However, I experience another issue here. The .msi file which is used to install the application is multilanguage, it contains German and English. If I install it on my English server I can apply the patch afterwards, which installs fine.
On my German server this is different. I am able to install my application, but then, I cannot apply the patch. I get a message in German saying that the product to be udpated seems to be missing. Here is the english version of the message:

"The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch."


This is quite urgent, as I need to create a working patch soon, which needs to work on English and German OS, as my MSI does.

Thanks for the assistance.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You cannot create a patch between two multilanguage packages. You need to add both English and German packages as images for the patch.

Let me know if you encounter any problems.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

Hi Gigi

Yes, that seems to work. Thanks!

Return to “Common Problems”