Hello fine WiX-Users!

Here's my dilemma,  I'm testing patch creation with WiX.   I take my setup.msi 
and make a patch (msp) for it. The patch is something simple, such as changing 
an .ico file.  The patch works great.  When I uninstall the patch, it prompts 
for the original MSI.  If you target the msi, the patch uninstall works.

Using a third-party product, I can make an msp patch that does the same thing, 
except it doesn't prompt for the original MSI.  I also note the WiX msp is 
about 22kb, and the third-party msp is 117kb.  My theory is the third-party msp 
is bringing a copy of the original .ico file and using it for uninstall.

My question: Is there a way to have a pure WiX project that would do the same 
thing as the third-party msp (Uninstall without requiring the original MSI)?

Steps I'm using:
Patch.wxs
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
    <Patch
        AllowRemoval="yes"
        Manufacturer="Acme"
        MoreInfoURL="http://www.Acme.com/";
        DisplayName="Patch A"
        Description="Small Update Patch"
        Classification="Update"
        >

        <Media Id="5000" Cabinet="RTM.cab">
            <PatchBaseline Id="RTM">
                <Validate ProductId="no" ProductVersion="Update"
                          ProductVersionOperator="Equal"/>
            </PatchBaseline>
        </Media>

        <PatchFamilyRef Id="VipePatch"/>
    </Patch>

    <Fragment>
        <PatchFamily Id='VipePatch' Version='1.0.1.1' Supersede='yes' />
    </Fragment>
</Wix>

>candle Patch.wxs
>light Patch.wixobj -out patch.wixmsp

Make output dirs
>mkdir rtm
>mkdir newer
>mkdir bin

Create Admin image of installer to rtm folder.
>msiexec /a "Setup.msi" TARGETDIR=C:\Patch\rtm

Copy contents of RTM to Newer folder
      Make changes to the Install by moving new files (the .ico) into the Newer 
folder


>torch -p -ax bin -xo rtm\Setup.msi newer\Setup.msi -out patch.wixmst
>pyro patch.wixmsp -t RTM patch.wixmst -out patch.msp
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to