"This patch package could not be opened.." - 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!

arlttomi
Posts: 5
Joined: Tue Dec 12, 2006 2:14 pm

"This patch package could not be opened.."

Hi,

When I am trying to apply a patch generated by Advanced Installer 4.5,I get:

"This patch package could not be opened, plz contact your ..."

The last lines of the .log are saying sg. about a transform:


MSI (c) (C4:CC) [13:49:53:749]: Note: 1: 2262 2: #_BaselineFile 3: -2147287038
MSI (c) (C4:CC) [13:49:53:749]: Note: 1: 2262 2: #_BaselineData 3: -2147287038
MSI (c) (C4:CC) [13:49:53:749]: Note: 1: 2262 2: #_PatchCache 3: -2147287038
MSI (c) (C4:CC) [13:49:53:749]: Note: 1: 2262 2: __MsiRegistryList 3: -2147287038
MSI (c) (C4:CC) [13:49:53:749]: Note: 1: 2262 2: _MsiPatchAuthorTransformView 3: -2147287038
MSI (c) (C4:CC) [13:49:53:749]: Note: 1: 2262 2: _MsiPatchPatchTransformView 3: -2147287038
MSI (c) (C4:CC) [13:49:53:749]: Detected that this is a 'Small Update' patch. Any remaining transforms in the patch will be skipped.
MSI (c) (C4:CC) [13:49:53:749]: Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (C4:CC) [13:49:53:749]: Note: 1: 2768
MSI (c) (C4:CC) [13:49:53:749]: Note: 1: 2729
DEBUG: Error 2768: Transform in patch package is invalid.
1: 2768


When I searched further, I got to the .pcp file generated by AI in
the TEMP directory.

The "TargetImages" table looks like this:(with Orca)

Target
1. ess_test_1
2. D:\MSI\temp\patch\ess\images\ess_test_1\ess_test.msi 3.
4. ess_test

MsiPath SymbolPaths
1.
2.0x00000922
3.
4.

Upgraded Order ProductValidateFlags
1. Family
2.
3.
4.

The "UpgradedImages" table looks the following:

Upgraded
1. ess_test
2. D:\MSI\temp\patch\ess\images\ess_test\ess_test.msi


MsiPath
1. D:\MSI\temp\patch\ess\images\ess_test\ess_test.msi
2.

PatchMsiPath SymbolPaths
1.
2.

Family
1.Family
2.

The "ess_test_1" & "ess_test" directories are representing the target & update images, with the main .msi-s sitting at their roots.

Then,I tried to create the patch manually..

I changed both tables. I left only one line in each of them, pointing to the main ".msi". I ran msimsp.exe. This worked. The patch is now doing its job.

What are those strange lines doing in the generated .PCP file, which I have posted above ?

Thanks forward,

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

Hi,

Please send a zipped archive containing the .AIP project files (target and upgrade), if it doesn't contain any confidential information or a similar, simplified project files (target and upgrade) reproducing the issue. In the second case send the .msi files also.

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

Return to “Common Problems”