David,
> Manually changing the service settings in the deployed image (that has
extra
> debug components added) so that DUA runs as the administrator user solves
> the problem and msiexec works correctly under DUA. However as Internet
> Explorer is not in the release image that option is not available to me
> (services.exe complains and exits without allowing you to do anything) so
I
> have to define the administrator password (this is not blank due to
security
> considerations) in the DUA component before the image is built.
Not sure I understood this part (services.exe does not work on your
runtime?? why IE mentioned here?).
Why you just don't set Administrator option in he DUA component settings? Or
you're saying that if yo set the option, DUA still runs as "Default User"?
This is weird then. I'd check out if DUA gets installed properly (FBA log,
system log).
Anyway.. to automate service config at run time you can always use sc.exe
tool from NT Resource Kit.
If you want to change the account the service runs under, use a command like
"sc.exe <ServiceName> config obj=<AccoutName> password=<AccountPassword>".
> Therefore I tried to add an EXECUTE command to my DUA script. Using the
> sample provided in the documentation and feeding in my parameters ...
>
> EXECUTE,,DANO,,c:\windows\system32\cmd.exe,,c:\windows\system32\cmd.exe /k
> set,,,,administrator,,,,****,,,,c:\windows\system32,1,,WinSta0\Default
Have you tried using DALOGONWITHPROFILE option (next to password) ?
> (Domain is blank as the machine does not use windows networking)
> Running the DUA script containing the above command places the following
> entry in
> the Application event log ....
>
> DUAgent Service - Error Executing Command
> CreateProcessWithLogonW. The specified service does not exist as in
installed service.
If not above, then it may be a non DUA problem.
Are you able to use "runas" command to run you msiexec manually as a
different user?
If not, you may probably dig into that and see why it does not work.
> I have tried variation on the EXECUTE command in case there was a typo in
> the documentation but the same error occurs whatever I do.
>
> Questions:
> -----------
> Has anyone been able to set a password in the DUA component definition
that
> allows DUA to work out-of-the-box in the deployed image as the
administrator user?
If you read a few threads from
http://groups.google.com/groups?hl=e...sxp.embedded.*
you will notice that EXECUTE/Administrator has been mentioned and used.
> What is wrong with the EXECUTE command listed above?
See comments above.
> David