Delta patching is not supported using the Patch element yet. Also, using the WiX 3.0 patch build system, you cannot patch things that come from MSM's. The suggested way to share setup logic is to use Wixlibs, if your msm's are built using wix, then you could consider that.
Alternatively, you can create admin images of your target and upgrade layouts and run torch with the -ax switch. You can then pass those transforms as inputs into pyro along with Patch authoring. This is a way to get your msm logic into you patch. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Stindl Sent: Tuesday, October 16, 2007 5:38 AM To: WiX Users Subject: [WiX-users] Patch element and creation of patch in 3.0 Hallo all, could you anybody explain me, how to create patch in 3.0 WiX version? I've read any samples from Peter Marcu (e.g. http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx) but it is not enough for solution of my problem. I also can't find any documentation of "Patch" 3.0 WiX element. My problem is following: I have really big MSI installation, which is built on our build server every day and from time to time we need to apply "delta patch" on our production platform. Unfortunately with 2.0 WiX + PatchWiz we were not successful, because of crash of PatchWiz utility every time. The MSI packages are packages, where we have about 30 features (MSM modules), MSI are created by WiX version 2.0. Thanks a lot for help, otherwise I'm going to be crazy from that... :-/ David There is the main MSI source: -------------------------- <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <!-- Product definition --> <Product Id="2EDDF5B5-FACA-437e-A5AF-E5EB84B47FB5" UpgradeCode='457F1CC2-0441-4114-A317-F640D32F8712' Language="1033" Codepage="1252" Version="4.2" Name="Product" Manufacturer="Company.."> <!-- Package definition --> <Package Id='????????-????-????-????-????????????' InstallerVersion="200" Compressed="yes" Manufacturer="Company" Comments="a comment" /> <!-- Media definitions --> <Media Id='1' Cabinet='Foris.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" /> <Property Id='DiskPrompt' Value="Product Installation [1]" /> <Property Id="ALLUSERS">1</Property> <!-- Upgrade properties --> <Upgrade Id='457F1CA2-0441-4114-A317-F640D32F8712'> <UpgradeVersion OnlyDetect='yes' Property='PATCHFOUND' Minimum='4.2.0' IncludeMinimum='yes' /> <UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND' Minimum='4.2.0' IncludeMinimum='no' /> </Upgrade> <CustomAction Id='AlreadyUpdated' Error='[ProductName] is already installed.' /> <CustomAction Id='NoDowngrade' Error='A later version of [ProductName] is already installed.' /> <!-- Installer Directories --> <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='INSTALLDIR' Name='4.2'> <Merge Id="FNGInstallLib.971AF99B-8195-4248-9C21-776B2B3FD6C5" Language="1033" SourceFile="FNGInstallLib.msm" DiskId="1" /> </Directory> </Directory> </Directory> </Directory> </Directory> <!-- Installer Features --> <Feature Id='Complete' Title="Product 4.2 Installation' Description='The complete Product 4.2 package.' Display='expand' Level='300' ConfigurableDirectory='INSTALLDIR'> </Feature> <!-- ### Component Instalation Fragments ### --> <FragmentRef Id='BaseFragment_FF'/> <FragmentRef Id='BaseFragment_PP'/> <FragmentRef Id='BaseFragment_PCT'/> <FragmentRef Id='BaseFragment_RE'/> <FragmentRef Id='BaseFragment_BM'/> <FragmentRef Id='BaseFragment_CM'/> <FragmentRef Id='BaseFragment_CMO'/> <FragmentRef Id='BaseFragment_BE'/> <FragmentRef Id='BaseFragment_AR'/> <FragmentRef Id='BaseFragment_C'/> <FragmentRef Id='BaseFragment_DF'/> <FragmentRef Id='BaseFragment_V'/> <FragmentRef Id='BaseFragment_MG'/> <FragmentRef Id='BaseFragment_RI'/> <FragmentRef Id='BaseFragment_RT'/> <FragmentRef Id='BaseFragment_NE'/> <FragmentRef Id='BaseFragment_UM'/> <FragmentRef Id='BaseFragment_TU'/> <!-- Installer GUI --> <UIRef Id="WixUI_Mondo" /> <UIRef Id="WixUI_ErrorProgressText" /> <!-- Installer Seguinces --> <InstallExecuteSequence> <Custom Action='AlreadyUpdated' After='FindRelatedProducts'>PATCHFOUND</Custom> <Custom Action='NoDowngrade' After='FindRelatedProducts'>NEWERFOUND</Custom> <RemoveExistingProducts After='InstallFinalize' /> <StartServices Suppress='yes'/> </InstallExecuteSequence> </Product> </Wix> -------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users