OK I can't explain this one.  I put in a property with a default value
containing a backslash to see if it would leave that in there or remove it
entirely, and... it worked.  It filled in the StartName=DOMAIN\username and
then appropriately bombed trying to install it with phony credentials.

I originally was letting the dialog set the property SERVICEACCOUNT and then
referencing [SERVICEACCOUNT] in the ServiceInstall element, and the result
in the installer log was that it left out the StartName= argument entirely
but put in a Password=******** which I thought was odd since I never set a
password property default either.  All I added was:

<Property Id="SERVERACCOUNT" Value="DOMAIN\username" />

This appropriately appears in the dialog and I can change it to my proper
domain\username, and it works now.  That's the one and only change I made
since my last recompile where it was having problems.  This baffles me, but
I'm moving on to the next gift horse.

Thanks!
# Nathan



Blair-2 wrote:
> 
> In the past I have seen installers where the user and domain names are in
> different dialogs. I don't know why you are seeing the issues you are with
> the UI and the "\" character.
> 
> As to the service start issue - does the service use either anything you
> install into the GAC or any win32 SxS you install (using fusion)? Such as
> any fi...@assembly attributes or any use of Microsoft's C/C++ runtime
> MSMs?
> 
> Those things get final installation/setup towards the end of
> InstallFinalize
> and so are not available for the default sequencing of StartServices.
> 
> You should see something in the event viewer in that case.
> 

-- 
View this message in context: 
http://n2.nabble.com/Setting-account-info-in-merge-module-from-MSI-dialog-tp3568432p3576521.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to