Hey thanks guys for the quick responses.

This means branching three ways at the moment which means quite a bit of
code duplication (I've already started down the route recommended). Auto,
Manual and Disabled being the three options (translating to auto, demand,
and disabled).

I'm gearing up for the next part of this which is to allow a user/password
combo with a default of LocalSystem which has no password being passed.
Does this mean I am going to be branching six ways if I use option 1? Or
can I pass an empty/null password without error to the service install
options?

____
Rob
"Be passionate in all you do"

http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder


On Tue, Oct 1, 2013 at 1:03 PM, Christopher Painter <chr...@iswix.com>wrote:

>
>
> Other then the mutually exclusive definitions of the service, the next two
> best tricks that I know are:
>
> 1) Override with a registry setting
>
> 2) Use a custom action to dynamically author the ServiceInstall table at
> install time using TEMPORARY sql rows.
>
> ----------------------------------------
>  From: "Rob Reynolds" <ferventco...@gmail.com>
> Sent: Tuesday, October 01, 2013 12:54 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

Reply via email to