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

patch and .CAB


4 replies to this topic

jumi

jumi
  • Members
  • 3 posts

Posted 20 April 2004 - 13:13

I have got an application, precisely two versions of an application.
Each of both version consists of one .MSI and one .CAB files.
How to create a patch .MSP from first version to second one?

I am trying to accomplish this with following:
CODE
Msimsp.exe -s Patch2.1.13_2.2.0.pcp -p patch_2.1.13.0_2.2.0.0.msp -l patch_2.1.13.0_2.2.0.0.log


I am getting this error:
QUOTE
ERROR: UpgradedImages.MsiPath 'Version213.msi' is marked as having compressed files (PID_WORDCOUNT property of Summary Information stream). PatchWiz is unable to patch files compressed in a cabinet.


I am not able to involve .CAB in patch creation process...


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 20 April 2004 - 18:23

You need to unpack the CABs. To do this run an administrative install (msiexec /a) of the packages to uncompress the files.

jumi

jumi
  • Members
  • 3 posts

Posted 21 April 2004 - 12:25

Thank you, I did that administrative installation.
Now, when I try to create patch, I am getting:
CODE

 ERROR: TargetImages.Target = 'Coban_Old213': PackageCode {42AD1DC2-479C-11D6-93F3-0060080F0770} is not unique.


42AD1DC2-479C-11D6-93F3-0060080F0770 is ProductCode accross all versions of the application.

jumi

jumi
  • Members
  • 3 posts

Posted 21 April 2004 - 13:54

I found a hint in the thread "How to create small update, What are the step - by - step procedure". It was needed to change Revision Number in Properties of a .MSI file. I got a .MSP yet. I will test it to see whether it is usable.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 April 2004 - 10:20

Yes, it is important that you change the package code GUID whenever you rebuild your msi file.