Here is what I did:

created:
patch\rtm          which holds the admin install of the RTM version of our
software (WIX 3.5 MSI 3.0)
patch\upp          which holds the latest hotfix admin install of our
software (WIX 3.5, MSI 3.0)
patch\temp        holds icons/binaries that are internal to MSI

rtm folder has the RTM install.msi (changed package code)
upp folder has the latest hotfix install.msi (make sure same product
code/upgrade code of RTM, changed package code)

so rtm folder has RTM MSI with subfolder containing files from admin install
of RTM
so upp folder has latest hotfix MSI with subfolder containing files from
admin install of hotfix

1. ran torch: "C:\Program Files (x86)\WiX Toolset v3.8\bin\torch.exe" -p -ax
C:\Patch\temp -xo "C:\Patch\rtm\Install(RTM).msi"
"c:\Patch\upp\Install(Hotfix).msi" -out C:\Patch\diff.wixmst

2. ran candle: "C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe"
patch.wxs    (see patch.wxs below)

3. ran light:  "C:\Program Files (x86)\WiX Toolset v3.8\bin\light.exe"
C:\Patch\patch.wixobj -out C:\Patch\patch.wixmsp

4. ran pyro:  "C:\Program Files (x86)\WiX Toolset v3.8\bin\pyro.exe"
C:\Patch\patch.wixmsp -out C:\Patch\patch.msp -t RTM C:\Patch\diff.wixmst

here is my PATCH.WXS:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
        <Patch
                AllowRemoval="yes"
                Manufacturer="My Company Inc." 
                DisplayName="My Product Patch"
                Description="Patch from RTM version of My product 3.4 to latest 
hotfix"
                Comments="Patch from RTM version of My product 3.4 to latest 
hotfix"
                Classification="Update"
                Codepage="1251"
                >
                
                <Media Id="5000" Cabinet="RTM.cab">
                        <PatchBaseline Id="RTM"/>
                </Media>
        </Patch>
 </Wix>

does that make sense?

thanks,

Steve




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patch-question-been-a-while-since-I-did-patches-and-haven-t-used-WIX-for-Patches-tp7596990.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to