I am attempting to build a patch that is uninstallable but am not having
any joy so far.
 
I am using Wix version 2 and my patch file is as follows:
 
<Wix xmlns=" <http://schemas.microsoft.com/wix/2003/01/wi>
http://schemas.microsoft.com/wix/2003/01/wi";>
  <PatchCreation Id="{25AEF77A-1D90-4FD8-846B-63B3E5492AD3}"
Codepage="1252">
    <PatchInformation Languages="1033" SummaryCodepage="1252"
AdminImage="no" Comments="Wix Samples" Compressed="no" Description="Wix
Package Type Sample" Keywords="Installer" Manufacturer="Darren"
ReadOnly="no" ShortNames="no" />
    <PatchMetadata AllowRemoval="yes" Classification="Update"
Description="Darrens Wix Package Type Sample Patch" DisplayName="Wix
Package Type Sample Patch" ManufacturerName="Darren"
TargetProductName="Wix Package Type Sample" />
    <Family Name="Patch1" DiskId="2" MediaSrcProp="Patch1"
SequenceStart="1000">
      <UpgradeImage Id="upgImage1"
SourceFile="C:\Dev\ProcessToolset\Packaging\Wix\Samples\Working\PackageT
ypes\Patch\UpdatedInstall\Output\wixscript.msi">
        <TargetImage Id="tgtImage1"
SourceFile="C:\Dev\ProcessToolset\Packaging\Wix\Samples\Working\PackageT
ypes\Patch\InitialInstall\Output\wixscript.msi" Order="1" />
      </UpgradeImage>
    </Family>
    <TargetProductCode Id="{008A89A4-8EDD-4F40-A88D-2F9FC7BA319D}" />
  </PatchCreation>
</Wix>
 
In creating the patch I have ensured the following:
 
--Specified AllowRemoval to be yes. 
--I have Installer version 3 on my machine.
--Both MSI's from which the patch was built have InstallerVersion="300"
specified.
--The patch only updates two existing files, it does not change the
structure of the package.
 
The actual creation and installation of the patch works fine. However
once installed it says it is not removable. I have also looked in ORCA
and there is no sign of a MsiPatchMetadata table.
 
This is my first attempt at patching and therefore may be missing
something. Any advice would be most appreciated.

.
----------------------------------------------------------------------------------------------------------------------

HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
==============================================================================
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to