The other scenario to cover is when an EXE sometimes is and sometimes isn't a service. I usually try to get my developers to factor their classes out into a DLL and create two different EXE facades for it. This plays nicer with MSI. But sometimes they resist and I'm forced to do mutually exclusive components.
---------------------------------------- From: "Rob Reynolds" <ferventco...@gmail.com> Sent: Tuesday, October 01, 2013 6:58 PM To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] How to pass an enumeration as a variable? Allowing Service Start Type to be passed in as an MSI PROPERY I think that's likely the path I will take. I'll send a link when done for review. On Tuesday, October 1, 2013, Rob Mensching wrote: > Yeah, this sort of thing reminds me why we need to create a standard custom > action to replace the built-in ServiceInstall support of the Windows > Installer. They just didn't get the core functionality right. <sigh/> > > > On Tue, Oct 1, 2013 at 11:02 AM, Hoover, Jacob > <jacob.hoo...@greenheck.com <javascript:;>>wrote: > > > As Chris outlined in in his answer, If you want an Install time variation > > point you'll have to go the mutually exclusive component route or the > > harder dynamically emmited ServiceInstall table route using custom > actions > > that leverage SQL Temporary Tables. ( Much harder... ) > > > > The first involves defining a component for each startup option you want > > to support, condition the components, and utilize the remember me pattern > > to persist the users choice across upgrades and repairs. > > > > The second is much harder to get right, and would take an advanced > > understanding of Windows Installer. > > > > -----Original Message----- > > From: Rob Reynolds [mailto:ferventco...@gmail.com] > > Sent: Tuesday, October 01, 2013 12:48 PM > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] How to pass an enumeration as a variable? Allowing > > Service Start Type to be passed in as an MSI PROPERY > > > > I am trying to pass a variable to the service start enumeration. > > > > This is what I have found > > > > > http://stackoverflow.com/questions/9419411/wix-setting-service-startup-type- using-a-property-property-not-recognized > > > > What is the recommended way to do that? > > > > ____ > > Rob > > "Be passionate in all you do" > > > > http://devlicio.us/blogs/rob_reynolds > > http://ferventcoder.com > > http://twitter.com/ferventcoder > > > > > ---------------------------------------------------------------------------- -- > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > > from the latest Intel processors and coprocessors. See abstracts and > > register > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > ---------------------------------------------------------------------------- -- > > October Webinars: Code for Performance > > Free Intel webinars can help you accelerate application performance. > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > > from > > the latest Intel processors and coprocessors. See abstracts and register > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ---------------------------------------------------------------------------- -- > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most > from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > <https://lists.sourceforge.net/lists/listinfo/wix-users> -- ____ Rob "Be passionate in all you do" http://devlicio.us/blogs/rob_reynolds http://ferventcoder.com http://twitter.com/ferventcoder ---------------------------------------------------------------------------- -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users