Build Error Patch - Advanced Installer Community
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Build Error Patch

Hello,

i want to create a patch for me client. I have this error:

Code: Select all

  

Checking builds status... done.
Build required.
Building package: D:\MSI_Installer\update_2739-SetupFiles\update_2739.msp 
Running MSI patch compatibility tests... done.
Creating PCP database... done.
Creating MSP... 
***** Log starting: 2014-03-06 10:12:14 *****

  INFO: Using Pcp Path: D:\MSI_Installer\update_2739-SetupFiles\update_2739.pcp.
  INFO: Using Temporary Directory: C:\Users\sh\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 {96574CBB-8BF0-4ED9-9F81-A63A83009C9E}.
  INFO: 		PatchOutputPath is D:\MSI_Installer(Sascha)\update_2739-SetupFiles\update_2739.msp.
  INFO: 		PatchSourceList is PatchSourceList.
  INFO: 		PATCH_CACHE_DIR is .
  INFO: 		AllowDualPatch is 0.
  INFO: 		AllowProductCodeMismatches is 1.
  INFO: 		AllowProductVersionMajorMismatches is 1.
  INFO: 		ApiPatchingSymbolFlags is 0.
  INFO: 		DontRemoveTempFolderWhenFinished is 0.
  INFO: 		IncludeWholeFilesOnly is 0.
  INFO: 		PATCH_CACHE_ENABLED is 0.
  INFO: 		OptimizePatchSizeForLargeFiles is 0.
  INFO: 		META_DATA_GENERATION_DISABLED is 0.
  INFO: 		TrustMsi is 0.
  INFO: 		AllowLaxValidationFlags is 0.
  ERROR: TargetImages.Target = 'ClinixxUp_1': PackageCode {F109A2C6-7B57-4482-AEFD-4AD437F354E9} is not unique.
  ERROR: 	The Last Error Received is: 0
  INFO: Temporary folder is about to be cleaned out and deleted: C:\Users\sh\AppData\Local\Temp\~pcw_tmp.tmp
  ERROR: Internal PatchWiz Error occurred.
  ERROR: 	The Last Error Received is: -1072803519
error.
MsiMsp.exe failed to create the patch file.

Build finished because an error was encountered.

I have installed the SDK from Microsoft, but the error comes again and again...

Please help!
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Build Error Patch

Hello,

Please keep in mind patching is a very delicate process and requires careful settings not to mention following the patch rules.
Breaking one of the rules is probably your case as well. You can verify the build log for any related warnings and check the settings you changed from one version to the next against the patch rules list.
In order to get a starting point you can follow our "Patch Authoring" tutorial.

In order to have a better view about this, can you please give us the AIP's( old project file, the upgraded project file and the patch project file) to support at advancedinstaller dot com so we can investigate them?

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”