Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to create a patch using VS Team Foundation


1 reply to this topic

sstadigh

sstadigh
  • Full Members
  • 1 posts

Posted 08 January 2007 - 16:33

Hi,
Im in need of help/instructions on creating a patch/hot fix for our application.

I found some sites, but most referred back to the Windows Installer Developer SDK.

I tried creating a PCP file via ORCA. I think it looks fine, but not sure.

Then I tried creating the MSP file using msimsp.exe, but I get the following error
in the log:

***** Log starting: 2007-01-08 09:15:20 *****

INFO: Using Pcp Path: C:\temp\AdminInstallImage\mars_patch2.pcp.
INFO: Using Temporary Directory: C:\DOCUME~1\sstadigh\LOCALS~1\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 0.
INFO: ListOfPatchGUIDsToReplace is .
INFO: ListOfTargetProductCodes is *.
INFO: MsiFileToUseToCreatePatchTables is .
INFO: PatchGUID is {31AF5AA9-C968-4DDE-8FDC-992BBB440892}.
INFO: PatchOutputPath is C:\temp\AdminInstallImage\marspad.msp.
INFO: PatchSourceList is .
INFO: PATCH_CACHE_DIR is .
INFO: AllowDualPatch is 0.
INFO: AllowProductCodeMismatches is 1.
INFO: AllowProductVersionMajorMismatches is 0.
INFO: ApiPatchingSymbolFlags is 0.
INFO: DontRemoveTempFolderWhenFinished is 1.
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 = 'Widget1': PackageCode {744E6A11-35CE-4BEF-9F79-BF82F6F41D18} is not unique.
ERROR: The Last Error Received is: 0
ERROR: Internal PatchWiz Error occurred.
ERROR: The Last Error Received is: -1072803519

How do I make the PackageCode unique? I cant figure how to make it unique.

Please help.

Thanks


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 08 January 2007 - 18:25

When you build the new version of your msi it must have a new PackageCode GUID in its Summary Information stream. So this is something you do when you build the new msi file.
How do you create the msi setup? Ususally your authoring tool should do this for you.