I still need help. The 1st patch is created by using msimsp between the RTM and patched version is around 35MB and contains the new components and UI sequence items I added and works as expected.
The second patch is created by using the same procedure diffing the 2nd patched version (which is identical to the 1st patch version with a couple of updated files) with the 1st patched version. When inspecting the 2nd patch msi (via orca) the new components are included but the generated msp file is only 11KB. And when I try to run this patch with MSIENFORCEUPGRADECOMPONENTRULES=1 I get a 2771 error and none of the new components that were added in the 1st patch and are included in the 2nd are listed in the log file. Below is the Patch Creation file I used to create the 2nd patch (This is almost identical to the one I used to create the first patch except the first patch is a small update and does not allow removal since it adds a new directory and files) <?xml version='1.0' encoding='windows-1252'?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <?define var.Manufacturer = "Acme, Inc."?> <?define var.PRODUCTNAME = "Test" ?> <?define var.ReleaseNumber= "1.0.0" ?> <PatchCreation Id='{9B03790A-0EE1-4274-BCFA-1C0A72BF017D}' AllowMajorVersionMismatches='no' AllowProductCodeMismatches='no' CleanWorkingFolder='yes' WholeFilesOnly='yes'> <PatchInformation Description="Test SP1" Keywords='Installer,MSI,Database' Comments='Service Pack for 1.0.0' Manufacturer='$(var.Manufacturer)' Languages='1033' Compressed='yes' SummaryCodepage='1252' ShortNames="no" /> <PatchMetadata Description="1st Service Pack for Test" DisplayName='Test SP1' TargetProductName='Acme $(var.PRODUCTNAME) v$(var.ReleaseNumber)' ManufacturerName='$(var.Manufacturer)' MoreInfoURL='www.acme.com' Classification='Service Pack' AllowRemoval='yes' /> <Family Name='Test100' DiskId='3' MediaSrcProp='Test100Src' SequenceStart='2000'> <UpgradeImage Id='Patch2' SourceFile='C:\Official Releases\2nd\AdminVer\Test.msi'> <TargetImage Id='Patch2F1' Order='2' IgnoreMissingFiles='no' SourceFile='C:\Official Releases\1st\AdminVer\Test.msi' /> </UpgradeImage> </Family> <PatchSequence PatchFamily="Test100" Sequence="1.0.1.1600" Supersede="yes" ProductCode="{1ADB8B66-7BD7-4043-8DE6-4A37BB2BE8F0}"/> </PatchCreation> </Wix> -----Original Message----- From: Tom Crozier [mailto:tcroz...@rackwise.com] Sent: Tuesday, February 22, 2011 1:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Disallowing uninstallation of patch One more piece of information. When I run the second patch I get the following message for each component (1 per file) for each of the files that were added in the first patch and are still part of the second patch. Patch Supersedence: Component 'CompPatchedContentDir' is added by a superseded patch and will become orphaned. I looked at both the msi packages via Orca and the component exists in both the 1st and 2nd patch msi's. Why does it say they will be orphaned? I had tried this but when I run the second patch the UI sequence does not get run. Any ideas why this would happen? -----Original Message----- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Tuesday, February 22, 2011 11:58 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Disallowing uninstallation of patch If you base the second patch on the RTM, itll need the new createfolder table entries in case the first patch is never applied. You need to base the second patch on the patched MSI (RTM + patch 1). -----Original Message----- From: Tom Crozier [mailto:tcroz...@rackwise.com] Sent: 22 February 2011 16:44 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Disallowing uninstallation of patch Hi, What I am trying to accomplish is to first install an unremovable Small Update patch that adds new files into a new directory. (This works) Next is to install a removable Minor Update patch that delivers new versions of the files that were added in the first patch as well as modifications of existing dlls etc... (This does not) What I am getting is the following message in the msi log file: Disallowing uninstallation of patch {D40C91BE-8619-426B-8B11-2AEA5106A767} because it adds new entries to table CreateFolder Even though these files were added in the first patch as well. The first patch is set with AllowRemoval='no' and Supersede="no" and is built against the RTM version. The second patch is set with AllowRemoval='yes' and Supersede=" yes" and is also built against the RTM version. I had tried creating a small test installer and this same sequence seems to work. Thanks - Tom ----------------------------------------------------------------------------- - Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users