Actually you can patch without UpgradeID. UpgradeCode isn't used for Minor Upgrades or Small Updates. You can't easily or reliably perform automated Major Upgrades, however. If you patch, I would recommend adding the UpgradeCode via the patch.
The product with the missing ProductId: There are ways to "detect" it, but how you would/should do so depends on some situational analysis. Would you mind pinging me offline and send me a non-disclose agreement (if you require one) and I can help you plan a way out of it? -----Original Message----- From: Craig Miller [mailto:craig.mil...@spatialminds.com] Sent: Tuesday, October 20, 2009 3:11 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Wix 2.0 - Patching? Blair, Thanks for the helpful reply. Unfortunately I just found out that of the 53 installers I created last year, the one I now need to upgrade is the one where the UpgradeId was somehow left out. Looks like I won't be able to patch, major/minor upgrade this one at all. Boy, I sure wish MSI had a way to check for a previously install of a ProductID and then force the uninstall of it when performing a major upgrade (w/o requiring an UpgradeID). While not the reason for omitting it, I have to admit that I thought the UpgradeID would only be required for patches and minor updates. Craig > -----Original Message----- > From: Blair [mailto:os...@live.com] > Sent: Tuesday, October 20, 2009 12:58 PM > To: 'General discussion for Windows Installer XML toolset.' > Subject: Re: [WiX-users] Wix 2.0 - Patching? > > If your build system and your installer will allow administrative installs, > you have three choices: > > 1. The pyro from MSI technique described by Peter. > 2. The PatchWiz approach described as the "SDK" way in the WiX help. > 3. What I call your preferred option. > > If your installer doesn't support admin installs, or if you can't perform > those reliably in your build process, you will be forced to consider what I > would call your preferred option: > > Run your source WXS file through version 3's WixCop and build your installer > using WiX 3. You will need to make any adjustments needed so that an MSIDIFF > regards the MSI you then build as functionally identical to the shipped one > (alter IDs, etc.). Then make your changes and build your Patch. > > -----Original Message----- > From: Craig Miller [mailto:craig.mil...@spatialminds.com] > Sent: Tuesday, October 20, 2009 10:00 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Wix 2.0 - Patching? > > > Does anyone have any suggestions or links that explain the easiest way to > create a patch for a Wix 2.0 wxs/msi file? E.g. I have an installer and the > source WXS file for a Wix 2.0 installer that I now need to patch. The > original installer has a custom UI that I'd like to replicate in the patch > installer. > > > > Thanks, > > Craig > > > > > > > > > > > > ---------------------------------------------------------------------------- > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ---------------------------------------------------------------------------- -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users