The uninstallable patch is looking for the original MSI that was
extracted from Setup.exe chainer into temporary folder and is since long
gone.

I re-read the docs but I am still clueless as to what caused it. 

 

Naturally, I want to uninstall the patch without requiring the access to
the original RTM MSI.

 

Here is wxs used to create the patch:

 

<?xml version="1.0" encoding="windows-1252"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>

  

  <!-- Path variables -->

  <?define APPROOT = "C:\wixpatch"?>

  <?define RTM = "$(var.APPROOT)\Build104"?>

 

  <!-- update location(s) need to be updated -->

  <?define QFE1 = "$(var.APPROOT)\Build111"?>

 

 

  <!-- patch id needs to be updated -->

  <PatchCreation Id="{.....}"

                 AllowMajorVersionMismatches="no"

                 AllowProductCodeMismatches="no"

                 CleanWorkingFolder="no" 

                 WholeFilesOnly="no"

                 Codepage="1252" >

 

  <PatchInformation Description="MyPatch"

                 Keywords="Installer Hotfix Patch"

                 Comments="MyPatches"

                 Manufacturer="Me"

                 Languages="1033"

                 Compressed="yes"

                 SummaryCodepage="1252" 

                 AdminImage="yes"/>

 

  <!-- Build number needs to be updated -->

  <PatchMetadata Description=" Hotfix 111"

                 DisplayName="My Hotfix" 

                 TargetProductName="Mine"

                 ManufacturerName="Me"

                 MoreInfoURL="http://www.MeMeMe.com";

                 Classification="Hotfix" 

                 AllowRemoval="yes"

                 OptimizedInstallMode="yes" />

 

  <Family Name="Patch" DiskId="2" MediaSrcProp="PATCH111"
SequenceStart="100"  >

      <UpgradeImage  Id="PatchQFE1" SourceFile="$(var.QFE1)\My.msi" >

        <TargetImage Id="PatchRTM" Order="1" IgnoreMissingFiles="no"
SourceFile="$(var.RTM)\My.msi" />

      </UpgradeImage>

  </Family >

 

  <TargetProductCode Id="{....}" />

 

  <PatchProperty Name="PATCH_111" Value="yes" />

 

  <!-- patch sequence needs to be updated -->

 

                <PatchSequence PatchFamily="MyPatchFamily"

                 Sequence="1.0.4.0"

                 Supersede="no" />

    

  </PatchCreation>

</Wix>

 

 

 

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to