Just to mention repair briefly, it does indeed repair broken components where the key item is wrong or missing, but custom actions seem to be a common unanticipated issue. If you have a CA that runs when a component is installed (because it's an "install" custom action) then it will also run during a repair. CA code often seems to be pretty bad at dealing with running twice. Ideally, CA code that configures the system or file contents should be able to deal with the configuration being semi-broken and restoring it so that it really can repair as well as install. Sometimes these issues are avoided by simply saying that the CA won't run if the product is already installed, but that also means that whatever the CA did cannot be repaired. --------------- Phil Wilson
On Fri, Jul 11, 2014 at 6:21 AM, Hoover, Jacob <jacob.hoo...@greenheck.com> wrote: > And don't forget about <MajorUpgrade /> and all the simplification it does > for you. > > -----Original Message----- > From: John Cooper [mailto:jocoo...@jackhenry.com] > Sent: Friday, July 11, 2014 8:09 AM > To: General discussion about the WiX toolset. > Subject: Re: [WiX-users] Upgrade Questions > > 1) author your launch conditions correctly; > > 2) use the remember pattern for key properties; > > 3) follow the Component Rules strictly; > > 4) ensure your assemblies, executables, MSI's, and bootstrappers are all > properly versioned; > > 5) test with MSIENFORCEUPGRADECOMPONENTRULES property set and remove any > resulting error causes; > > 6) test, test, test! > > -- > John Merryweather Cooper > Build & Install Engineer - ESA > Jack Henry & Associates, Inc.® > Shawnee Mission, KS 66227 > Office: 913-341-3434 x791011 > jocoo...@jackhenry.com > www.jackhenry.com > > > > -----Original Message----- > From: Joshua Linker [mailto:jlin...@hotmail.com] > Sent: Thursday, July 10, 2014 10:26 PM > To: 'General discussion about the WiX toolset.' > Subject: [WiX-users] Upgrade Questions > > Can someone point me towards some exhaustive information/examples on how to > add upgrade/repair capabilities to my installer? On repair it would > basically just replace the installed files with the ones in the installer > regardless of version, upgrade would naturally only install if the version in > the installer is higher than the installed version. > > On upgrade, one of my projects is a Windows Service. Will WIX automatically > handle the stopping/starting of the service on upgrade or will there be code > I will need to include to handle this? > > Also, is it possible on upgrade to have configuration files update but only > specific sections? I have configuration files that handle binding redirects > for versions of third party controls, so on upgrade if those controls are > newer than the existing ones they need to be updated and the redirects in the > configuration file has to be updated, but the configuration file also holds > custom properties that the users can set that do not need to be modified on > upgrade. > > Thank you in advance for your help. > > ~Joshua Linker > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse Turn > processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows Winner of > BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > NOTICE: This electronic mail message and any files transmitted with it are > intended exclusively for the individual or entity to which it is addressed. > The message, together with any attachment, may contain confidential and/or > privileged information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution is strictly prohibited. If you have received this message in > error, please immediately advise the sender by reply email and delete all > copies. > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse Turn > processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows Winner of > BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users