|
From: <dar...@hb...> - 2007-07-03 06:21:32
|
I am attempting to build a patch that is uninstallable but am not having any joy so far. =20 I am using Wix version 2 and my patch file is as follows: =20 <Wix xmlns=3D" <http://schemas.microsoft.com/wix/2003/01/wi> http://schemas.microsoft.com/wix/2003/01/wi"> <PatchCreation Id=3D"{25AEF77A-1D90-4FD8-846B-63B3E5492AD3}" Codepage=3D"1252"> <PatchInformation Languages=3D"1033" SummaryCodepage=3D"1252" AdminImage=3D"no" Comments=3D"Wix Samples" Compressed=3D"no" = Description=3D"Wix Package Type Sample" Keywords=3D"Installer" Manufacturer=3D"Darren" ReadOnly=3D"no" ShortNames=3D"no" /> <PatchMetadata AllowRemoval=3D"yes" Classification=3D"Update" Description=3D"Darrens Wix Package Type Sample Patch" DisplayName=3D"Wix Package Type Sample Patch" ManufacturerName=3D"Darren" TargetProductName=3D"Wix Package Type Sample" /> <Family Name=3D"Patch1" DiskId=3D"2" MediaSrcProp=3D"Patch1" SequenceStart=3D"1000"> <UpgradeImage Id=3D"upgImage1" SourceFile=3D"C:\Dev\ProcessToolset\Packaging\Wix\Samples\Working\PackageT ypes\Patch\UpdatedInstall\Output\wixscript.msi"> <TargetImage Id=3D"tgtImage1" SourceFile=3D"C:\Dev\ProcessToolset\Packaging\Wix\Samples\Working\PackageT ypes\Patch\InitialInstall\Output\wixscript.msi" Order=3D"1" /> </UpgradeImage> </Family> <TargetProductCode Id=3D"{008A89A4-8EDD-4F40-A88D-2F9FC7BA319D}" /> </PatchCreation> </Wix> =20 In creating the patch I have ensured the following: =20 --Specified AllowRemoval to be yes.=20 --I have Installer version 3 on my machine. --Both MSI's from which the patch was built have InstallerVersion=3D"300" specified. --The patch only updates two existing files, it does not change the structure of the package. =20 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. =20 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 ar= e= authorised and regulated by the Financial Services Authority. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D |