The Upgrade element. It's in the WiX tutorial. Phil Wilson
-----Original Message----- From: Anvoy Singh [mailto:anv...@gmail.com] Sent: Monday, June 08, 2009 12:23 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix Service uninstall from Add Remove Programs "You can still do a major upgrade to remove the older products" -- how do you do this in Wix? i mean what is the syntax? and this will remove entries from Add/Remove, right? On Mon, Jun 8, 2009 at 3:01 PM, Wilson, Phil <phil.wil...@wonderware.com>wrote: > An MSI install is an MSI install, whether it was built by WiX or something > else. You can still do a major upgrade to remove the older products. > > Using the SCM to uninstall the services is just a bad idea. Uninstalling > the services won't uninstall the owning product, so you're still going to > see entries in Add/Remove Programs for the older installed products. Plus if > you delete files and services from those older installed products you might > see Windows simply repair and restore them. The right thing to do is to > upgrade the existing installed products, and that includes an uninstall of > the older products and their services. > > Phil Wilson > > > -----Original Message----- > From: Anvoy Singh [mailto:anv...@gmail.com] > Sent: Monday, June 08, 2009 11:44 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Wix Service uninstall from Add Remove Programs > > hi Rob, > Earlier the service was installed using a regular MSI (not Wix). Now the > requirement is that one MSI will uninstall/install 5- 6 of these previously > installed (non Wix) services. We also have the option of using SCCM but was > hoping to solve this problem in Wix. please let me know. > > thanks. > > > On Mon, Jun 8, 2009 at 2:25 PM, Rob Mensching <r...@wixtoolset.org> wrote: > > > 1. How did you put the previous product in Add/Remove Programs. In the > > Windows Installer language, that's usually called an upgrade (in > > particular, a Major Upgrade). You can read about upgrades in the MSI SDK. > > > > 2. Yes, it is possible to have a "chainer" (what you call the wrapper > > below). An MSI cannot be a chainer because MSI no longer allows "nested" > > installs. There are quite a few chainers out there today... in WiX v3.5 > > we're introducing burn as our chainer. > > > > Anvoy Singh wrote: > > > Hello all, > > > I have a problem creating an Installer that does multiple things like > > > running SQL scripts, install services etc. > > > For installing services i need to uninstall the previously installed > > Service > > > by removing it from add remove programs menu, besides removing it from > > from > > > Services.msc using: > > > > > > <ServiceControl Id="test" Name="My Service" Stop="install" > > > Remove="install"></ServiceControl> > > > > > > How do i remove the existing service from Add/Remove programs using > WIX? > > > > > > Also, is it possible to have a wrapper MSI that calls several MSI's in > > turn > > > in WIX? (As an alternative to doing everything in one MSI, have a > master > > MSI > > > that calls child MSI's?) > > > > > > Please advice. > > > > > > thanks > > > Anvoy. > > > > > > ------------------------------------------------------------------------------ > > > Crystal Reports - New Free Runtime and 30 Day Trial > > > Check out the new simplified licensing option that enables unlimited > > > royalty-free distribution of the report engine for externally facing > > > server and web deployment. > > > http://p.sf.net/sfu/businessobjects > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables unlimited > > royalty-free distribution of the report engine for externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users