Hello, If the GUID are created via an wxs file, how do you create this file?
Using this example- the -ag parameter makes guid on compile time, the guids ramian the same for the same installer. "C:\Program Files\Windows Installer XML v3.5\bin\heat.exe" file MyAddin.dll -ag -template fragment -out MyAddin.wxs If you create it like this: "C:\Program Files\Windows Installer XML v3.5\bin\heat.exe" file MyAddin.dll -gg -template fragment -out MyAddin.wxs The gg paramter creates the guids on the sopt. 2014-07-07 14:40 GMT+03:00 Craft, Mark (GE Aviation) <[email protected]>: > Hello, > > I'm quite new to WIX so apologies if this is a common "gotcha" > > I have a windows service that I install via WIX. > > To do this I used this blog post as a guide: > http://www.chrissurfleet.co.uk/post/2011/08/04/Creating-windows-service-installer-with-Visual-Studio-and-WiX.aspx > > In short the article suggests using heat to generate a list of components, > this is then edited by some XSL to remove the <File> tag for the service > executable. The executable is then manually added in a second WXS file with > the ServiceInstall/ServiceControl elements. > > For the most part it works well, but I've come across an odd scenario.. > Run the install > Change the version number & rebuild > Run the install again > > Everything is fine, product is upgraded etc. > > If I now uninstall everything is removed apart from the service > executable, which remains in the program folder. > This doesn't happen if I just install and then uninstall the same version. > > >From reading it seems most uninstall issues like this are related to > GUIDs being incorrect - I'm guessing its something to do with the manual > addition of the component for the service executable - the GUID there never > changes. > > Am I on the right track ? > > Would it be better to use the XSl to add the ServiceInstall/Control stuff > directly to the heat output ? > > thanks > > ------------------------------------------------------------------------------ > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

