Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3

error 6415 building a patch

I'm getting the following error building a patch.  I have checked that the ProductCode is the same between this patch and the previous version (which was a major upgrade).  I'm not sure where to look next.  Any ideas?

***** Log starting: 2023-01-03 09:05:08 *****

INFO: Using Pcp Path: E:\IS\CW 24 SR1\ServiceReleases\Interm\PatchTemplate.pcp.
INFO: Using Temporary Directory: C:\Users\PAIR3~1.CHP\AppData\Local\Temp\ISP22DC.tmp.
INFO: Passed all of the main control parameter validation to PatchWiz, now calling the next 5 phases.
INFO: Phase I: Entered validation and processing phase.
INFO: Validation of Pcp.
INFO: MinimumRequiredMsiVersion is 301.
INFO: ListOfPatchGUIDsToReplace is .
INFO: ListOfTargetProductCodes is *.
INFO: MsiFileToUseToCreatePatchTables is .
INFO: PatchGUID is {8970A7D0-2F0C-4B5D-837D-BEF1639CF465}.
INFO: PatchOutputPath is E:\IS\CW 24 SR1\ServiceReleases\Patch\ServiceReleases.msp.
INFO: PatchSourceList is PatchSourceList.
INFO: PATCH_CACHE_DIR is E:\IS\CW 24 SR1\ServiceReleases\Cache.
INFO: AllowDualPatch is 0.
INFO: AllowProductCodeMismatches is 1.
INFO: AllowProductVersionMajorMismatches is 1.
INFO: ApiPatchingSymbolFlags is 0.
INFO: DontRemoveTempFolderWhenFinished is 0.
INFO: IncludeWholeFilesOnly is 1.
INFO: OptimizePatchSizeForLargeFiles is 1.
INFO: TrustMsi is 0.
INFO: AllowLaxValidationFlags is 0.
ERROR: UpgradedImages.Upgraded = 'Latest_1': ProductCode is not a valid GUID.
PERF INFO: Time Spent Validating: 72 ms
INFO: Temporary folder is about to be cleaned out and deleted: C:\Users\PAIR3~1.CHP\AppData\Local\Temp\ISP22DC.tmp
PERF INFO: Total Patch Creation Time: 80 ms


Labels (1)
0 Kudos
(2) Replies
Revenera Moderator Revenera Moderator
Revenera Moderator

The error shows that the productcode GUID isn't valid. What format are you using for the ProductCode? Make sure that it is Alpha Numeric in the following 8-4-4-4-12 format:


Also note that the letters must be uppercase.

0 Kudos

I just let the Project Settings window generate it.  Here's the current one:  {55081D50-89D9-46EE-AF79-902292962250}

0 Kudos