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!

Eusch
Posts: 1
Joined: Sun Feb 19, 2006 12:18 pm

patch - PackageCode is not unique

When I try to generate a path I get a package code is not unique error. The logfile follows:

Building package: C:\work\C\bapiserver\install2\bapiserverpatch.msp
Creating PCP database... done.
Creating MSP...
***** Log starting: 2006-02-19 11:44:49 *****

Input-PCP path = 'C:\work\C\bapiserver\install2\bapiserverpatch.pcp'
Patch-MSP path = 'C:\work\C\bapiserver\install2\bapiserverpatch.msp'
Temp Folder = 'C:\DOCUME~1\Eugene\LOCALS~1\Temp\~PCW_TMP.TMP\'
Patch GUID = '{31958202-C2BD-4775-AC8D-BEE32F317562}'
ListOfPatchGUIDsToReplace = '<none>'
ListOfTargetProductCodes = '*'
PatchSourceList = 'PatchSourceList'
AllowProductCodeMismatches = '1'
AllowProductVersionMajorMismatches = '0'
OptimizePatchSizeForLargeFiles = '<blank>'
ApiPatchingSymbolFlags = '<blank>'
MsiFileToUseToCreatePatchTables = '<blank>'
SqlCmdToCreatePatchTable = '<blank>'
SqlCmdToCreatePatchPackageTable = '<blank>'
SqlCmdToCreateMsiPatchHeadersTable = '<blank>'
DontRemoveTempFolderWhenFinished = '<blank>'
IncludeWholeFilesOnly = '<blank>'
MinimumRequiredMsiVersion = '200'
SEQUENCE_DATA_GENERATION_DISABLED = '1'
AllowRemoval = '<blank>'

Using internal SQL cmd to create 'Patch' table.
Using internal SQL cmd to create 'PatchPackage' table.
Using internal SQL cmd to create 'MsiPatchHeaders' table.

ERROR: TargetImages.Target = 'setup_1': PackageCode {20872ED9-37FE-4033-818D-B835AAB61955} is not unique.

***** Log finishing: 2006-02-19 11:44:49 *****

error.
Exception - Reason: MsiMsp.exe failed to create the patch file.

Build finished because an error was encountered.
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

It seems that the PackageCodes of the 2 MSI files are identical. Open one of the AIP files (corresponding either to the Target or to the Upgraded image) and rebuild the package by pressing F7.

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”