Patch issue - Advanced Installer Community
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

Patch issue

Hi,

I have created a patch pacth file, by referring http://www.advancedinstaller.com/user-g ... ch-ca.html. But when I tried to build, I will get a warning message shown below and a Error. Can you tell why its coming like that??

Checking builds status... done.
Build required.
Building package: D:\AD Installer_Files _test\test_patch\IPM-SetupFiles\IPM.msp
Running MSI patch compatibility tests...
Warning: Different versions. The version of the target "D:\AD Installer_Files\Standard\IPMPLUS_HP-SetupFiles\IPM+SE.msi" is greater than the version of the upgraded "D:\AD Installer_Files\Standard\IPM+SE.msi".
done.
Creating PCP database... done.
Creating MSP...
***** Log starting: 2014-05-27 15:41:36 *****

INFO: Using Pcp Path: D:\AD Installer_Files _test\test_patch\IPM-SetupFiles\IPM.pcp.
INFO: Using Temporary Directory: C:\Users\vipl\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 {31130925-C579-497F-8D95-1158B845544E}.
INFO: PatchOutputPath is D:\AD Installer_Files _test\test_patch\IPM-SetupFiles\IPM.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.
INFO: Phase III: Entering Prepare Files.
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\bin\IPMPlusConsoleSE.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\bin\IPMPlusConsoleSE.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\bin\IPMPlusUserInteract.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\bin\IPMPlusUserInteract.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\bin\DeviceControl64.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\bin\DeviceControl64.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\bin\IPMPlusService.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\bin\IPMPlusService.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\docs\help\EULA_HP.rtf D:\AD Installer_Files _test\test_patch\images\IPMSE\docs\help\EULA_HP.rtf...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\bin\locale_en.txt D:\AD Installer_Files _test\test_patch\images\IPMSE\bin\locale_en.txt...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\image\bit_ipm.bmp D:\AD Installer_Files _test\test_patch\images\IPMSE\image\bit_ipm.bmp...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\bin\IPMPlusAgentSe.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\bin\IPMPlusAgentSe.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\docs\help\IPMPlus_Help_SE_Japanese.chm D:\AD Installer_Files _test\test_patch\images\IPMSE\docs\help\IPMPlus_Help_SE_Japanese.chm...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\docs\help\IPMPlus_Help_SE.chm D:\AD Installer_Files _test\test_patch\images\IPMSE\docs\help\IPMPlus_Help_SE.chm...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\bin\IPMPlusDiagnostic.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\bin\IPMPlusDiagnostic.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\bin\locale_jp.txt D:\AD Installer_Files _test\test_patch\images\IPMSE\bin\locale_jp.txt...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\TempFolder\Manfacture.vbs D:\AD Installer_Files _test\test_patch\images\IPMSE\TempFolder\Manfacture.vbs...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslShared.dll D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslShared.dll...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslSmBios.dll D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslSmBios.dll...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\CaslVer.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\CaslVer.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslWmi.dll D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslWmi.dll...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\Interop.HPQWMIEXLib.dll D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\Interop.HPQWMIEXLib.dll...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\Interop.hputilsLib.dll D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\Interop.hputilsLib.dll...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Wireless.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Wireless.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hp.mobile.shared.dll D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hp.mobile.shared.dll...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hpCaslNotification.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hpCaslNotification.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\HPDrvMntSvc.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\HPDrvMntSvc.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\hputils.dll D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\hputils.dll...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hpcasl.dll D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hpcasl.dll...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\hpqwmiex.exe D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\hpqwmiex.exe...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\hputils64.dll D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\hputils64.dll...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslShared.dll.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslShared.dll.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslSmBios.dll.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslSmBios.dll.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslWmi.Dll.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\CaslWmi.Dll.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hpCasl.dll.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hpCasl.dll.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hpCaslNotification.exe.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\hpCaslNotification.exe.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\Interop.HPQWMIEXLib.dll.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Net4.5\Interop.HPQWMIEXLib.dll.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\CaslVer.exe.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\CaslVer.exe.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\Wireless.exe.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\Wireless.exe.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\HPDrvMntSvc.exe.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\HPDrvMntSvc.exe.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\hputils.dll.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\hputils.dll.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\hpqwmiex.exe.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\hpqwmiex.exe.hpsign...
INFO Comparing bytes...
INFO Comparing Files: D:\AD Installer_Files _test\test_patch\images\IPMSE_1\ProgramFilesFolder\Hewlett-Packard\Shared\hputils64.dll.hpsign D:\AD Installer_Files _test\test_patch\images\IPMSE\ProgramFilesFolder\Hewlett-Packard\Shared\hputils64.dll.hpsign...
INFO Comparing bytes...
INFO: Phase IV: Entering Generate Payload.
INFO: Phase V: Entering Generate MSP.
INFO: Generating Patch Metadata.
INFO: Temporary folder is about to be cleaned out and deleted: C:\Users\vipl\AppData\Local\Temp\~pcw_tmp.tmp
INFO: Patch created successfully.
done.
Writing Summary Information... done.
Signing MSP... done.

Total build time: 23 sec.

Build finished successfully.
Attachments
error.png
error.png (9.8 KiB) Viewed 3505 times
Best Regards,
Dan
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Patch issue

Hello,

From what I see in your patch build log it seems that the version of your target MSI is greater than the version of your upgraded MSI file.

Code: Select all

Warning: Different versions. The version of the target "D:\AD Installer_Files\Standard\IPMPLUS_HP-SetupFiles\IPM+SE.msi" is greater than the version of the upgraded "D:\AD Installer_Files\Standard\IPM+SE.msi".
Can you please make sure you have carefully followed our "Patch Authoring" article steps and "Creating Patches" rules? If so, can you please send us the .AIPs (project files) of you target, upgraded and patch projects to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vigyanlabsmys
Posts: 73
Joined: Sat May 17, 2014 12:37 pm

Re: Patch issue

Hi,

I have sent the .aip file to support@advancedinstaller.com. please find the attchment.
Best Regards,
Dan

Return to “Common Problems”