Often this happens when versions of the files are not correctly set. That is, your patch contains one file that has changed (i.e. binary comparison will show differences) but version number of dll or exe was not changed.
However, if you read install documentation (and some blogs) in depth, you will find out that Microsoft can't guarantee that original MSI won't be required in some cases. For example, the cache allocated for patching is finite in size and if there is not enough space original MSI will be required to get so-called baseline. The safest solution is to have a setup chainer program that copies MSI to a well-known location (the copy that is run from temporary folders usually gets lost after some time) and register it as the alternate source. -----Original Message----- From: Jason Jibben [mailto:jason_jib...@starkey.com] Sent: Wednesday, July 28, 2010 2:09 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Uninstalling patch, requires orginal MSI 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 TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ------------------------------------------------------------------------------ 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