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
FOLLOW US
Get the latest news in Application Packaging