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!

AI_New_User
Posts: 25
Joined: Thu Aug 26, 2021 4:57 pm

Consecutive Patches

I saw the previous thread with this title but I have a different problem.

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.
What do I need to do differently?
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Consecutive Patches

Hello,

Please note I have answered your other thread in which I have explained how to create consecutive patches:

Tutorial on how to create consecutive patches.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”