I needed to create upgrade patch 55724 to patch 55824. So I created a new MSI for 55824 and kept existing product code. Just like I did with the MSI for 55724 when I created that patch. Then I created a patch using the MSI from 55724 and the MSI from 55824. When I build, I get this error:
Code: Select all
Checking builds status
Build required.
Building package:
C:\Users\clothere.grammont\source\repos\Ecat.WPF.Core\ECATSetup_Temp\Ecat6Setup-UpdatePatchFiles\Ecat6Setup_Patch55824.msp
Running MSI patch compatibility tests
Creating PCP database
Creating MSP
***** Log starting: 2021-08-29 11:15:32 *****
INFO: Using Pcp Path: MyPath\MyAppSetup_Patch55824.pcp.
INFO: Using Temporary Directory: MyPath\AppData\Local\Temp\~pcw_tmp.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 200.
INFO: SEQUENCE_DATA_GENERATION_DISABLED is 1.
INFO: ListOfPatchGUIDsToReplace is .
INFO: ListOfTargetProductCodes is *.
INFO: MsiFileToUseToCreatePatchTables is .
INFO: PatchGUID is {DDCFF224-632E-4086-A4F8-AE5A73BD4F44}.
INFO: PatchOutputPath is MyPath\MyAppSetup_Temp\MyAppSetup-UpdatePatchFiles\MyAppSetup_Patch55824.msp.
INFO: PatchSourceList is PatchSourceList.
INFO: PATCH_CACHE_DIR is .
INFO: AllowDualPatch is 0.
INFO: AllowProductCodeMismatches is 1.
INFO: AllowProductVersionMajorMismatches is 0.
INFO: ApiPatchingSymbolFlags is 0.
INFO: DontRemoveTempFolderWhenFinished is 0.
INFO: IncludeWholeFilesOnly is 1.
INFO: PATCH_CACHE_ENABLED is 0.
INFO: OptimizePatchSizeForLargeFiles is 0.
INFO: TrustMsi is 0.
INFO: AllowLaxValidationFlags is 0.
ERROR: TargetImages.Target = 'MyAppSetup_2': PackageCode {D8744254-172A-4BEA-8F34-1C333BBB510E} is not unique.
INFO: Temporary folder is about to be cleaned out and deleted: MyPath\AppData\Local\Temp\~pcw_tmp.tmp
MsiMsp.exe failed to create the patch file.
Error details
Build finished because an error was encountered.