Hi, We have an issue where our RTM msi had some launch conditions that are preventing patches from being uninstalled. It was suggested that we create a uninstallable patch to remove that launch condition so that subsequent patches could be uninstalled.
This seems like a simple thing to do, but I am new to patches and don't know where to start. How do I go about authoring a patch to remove launch conditions? Thanks, Shawn On Fri, Aug 8, 2008 at 1:49 PM, Shawn Dwyer <[EMAIL PROTECTED]> wrote: > Thanks Bob. > > Do I need to do anything special so that MSI won't let the user install the > product a second time? Without that Condition entry, the second time I run > the installer it goes through the entire UI sequence, and then just > disappears with no indication of what went wrong. > > I like the idea of an uninstallable minor upgrade patch that removes the > launch condition. How do I author a patch to remove launch conditions? > > When following the instruction in Wix.chm (v2), when I create the updated > installer.msi with new Package Id, should the rest of it be the same as the > original installer.msi with possibly some new components, or should/can it > just contain the Wix for installing the handful of files I want > replaced/added in the patch? > > Thanks again, > > Shawn > > On Fri, Aug 8, 2008 at 11:48 AM, Bob Arnson <[EMAIL PROTECTED]> wrote: > >> Shawn Dwyer wrote: >> > I'm now in the process of creating our first patch, but unfortunately >> when I >> > uninstall the patch this message is being shown and the patch fails to >> > uninstall. I am able to uninstall the full product which removes the >> patch >> > with it. >> > >> >> Uninstalling a patch runs a repair of the unpatched product. (So likely >> your current product would likewise fail on repair.) You don't need a >> launch condition like that, because MSI will install a product only once >> (ignoring things like SxS installs and instance transforms.) >> >> You might try an uninstallable minor upgrade patch that removes the >> launch condition; other patches can target that minor upgrade as a new >> baseline. >> >> -- >> sig://boB >> http://joyofsetup.com/ >> >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users