RTFM? Doh!

I'm doing some final testing now, and your suggestion appears to work 
perfectly.

Thanks Neil, and thanks WiX crew for putting together such an excellent 
installer authoring tool - it has been a pleasure to work with compared 
to anything I've used in the past.
 
  - Brian

Brian Gillespie
Rhinoceros Development | Robert McNeel & Associates | 
http://www.rhino3d.com

/"In theory, there is no difference between theory and practice. But, in 
practice, there is."/


Neil Sleightholm wrote:
> Take a look at the WixQueryOsWellKnownSID topic in the help file, this
> should allow you to use a "well known sid" for the account id which
> should work on all languages.
>
> Neil
>
> -----Original Message-----
> From: Brian Gillespie [mailto:br...@mcneel.com] 
> Sent: 14 April 2009 19:48
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Installing .NET service as "NT Authority\Network
> Service" fails on some locales of Windows XP
>
> Hi all,
>
> Our installer installs a service that should run on XP/Vista as "NT
> Authority\Network Service".
>
> We're using custom actions to set a McNeelUpdateServiceName property
> appropriately, and then use that property in the <ServiceInstall>
> action.
>
> Depending on how I spell "Network Service" the user account name,
> installation of the service either succeeds or fails with error 1923 -
> but it's not consistent on all platforms.
>
> Attached is the wxs file that defines the installation of the service.
>
> Here are the various configurations I've tried:
>
>
>       *NT Authority\Network Service
> *     *NT Authority\NetworkService
> *     *Network Service
> *     *NetworkService
> *
> Windows XP English
>       Works
>       Fails
>       Fails
>       Fails
> Windows XP Spanish
>       Fails
>       Works
>       ?       ?
> Vista 64 English
>       Works
>       Works
>       ?
>       ?
> Vista 32 Spanish
>       Fails
>       Works
>       ?
>       ?
>
>
> Is it really true that installing services on Windows is this hard?
>
> This leaves me with three options:
>
>    1. Have a bunch of special cases and detect the "correct" verison of
>       NetworkService based on the local system settings. This will be
>       lots of fun, given that we have customers all over the world.
>    2. Determine a one-size-fits-all version of "NT Authority\Network
>       Service" that work on all platforms.
>    3. Install as LocalSystem. That seems irresponsible from a principle
>       of least-privilege perspective.
>
> Any other ideas? Help!
>  
>   - Brian
>
> Brian Gillespie
> Rhinoceros Development | Robert McNeel & Associates |
> http://www.rhino3d.com
>
> /"In theory, there is no difference between theory and practice. But, in
> practice, there is."/
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to