a_j_burgess
Posts: 15
Joined: Tue Oct 18, 2005 12:24 pm

Build error when creating patches

Hi,

I have created two releases (msi's) for my application using the same .aip file (just some souce files are different between the two versions) to ensure consistency. The product version number is also the same so patching should be possible. However, when I try to build a patch, I get the following output:

---START OF OUTPUT---

Building package: D:\PatchTest\2_16-2_17.msp

Running MSI patch compatibility tests...

Warning: Changed component ID. Component ID for "uddi" was "{C523A460-58D4-4B1B-AF2F-E736419BF9BA}" in target "D:\PatchTest\ADC_2_16\Installer\setup.msi" and now is "{8A6AACFC-B658-48F0-9DCD-87CAA32FBC97}" in upgraded "D:\PatchTest\ADC_2_17\BaseInstaller\Installer\setup.msi".

unknown exception

Build finished because an error was encountered.
---END OF OUTPUT---

I guess I have two questions:
1. How do I prevent the component id from changing or how do I fix it if this happens?
2. What is causing the unknown exception? Surely a warning will not cause and exception so it must be something else I have missed?

AI version number: 4.6

Thanks

Anthony
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Anthony,

Please send a zipped archive containing following files to support at advancedinstaller dot com:

- the AIP project files for both target and upgraded and for the patch, if they don't contain any confidential information or a similar, simplified project reproducing the issue.
- the MSI files for both target and upgraded.

They will help us greatly to provide a solution in the shortest possible time.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
a_j_burgess
Posts: 15
Joined: Tue Oct 18, 2005 12:24 pm

I tried to build using 4.2 instead of 4.6 and got the error 2771 when attempting to apply.

Is it possible to run a patch in debug mode (like using msiexec /l etc for msi files)?

If so, I can try to fix the problem myself and report back to the forum

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

Hi Anthony,

You can obtain the log file of a running patch using following command line:

Code: Select all

msiexec /p patch.msp /L*V C:\patch.log
Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”