Hi Rob,

What appears to be the relevant section of the verbose log associated with the 
failure reads as follows:

MSI (s) (A8:28) [16:29:14:687]: Executing op: ActionStart(Name=CreateUser,,)
Action 16:29:14: CreateUser.
MSI (s) (A8:28) [16:29:14:687]: Executing op: 
CustomActionSchedule(Action=CreateUser,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (A8:0C) [16:29:14:697]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI9.tmp, Entrypoint: CreateUser
MSI (s) (A8:80) [16:29:14:717]: Generating random cookie.
MSI (s) (A8:80) [16:29:14:737]: Created Custom Action Server with PID 1812 
(0x714).
MSI (s) (A8:AC) [16:29:14:837]: Running as a service.
MSI (s) (A8:AC) [16:29:14:847]: Hello, I'm your 32bit Elevated custom action 
server.
CreateUser:  Error 0x8007007b: failed to create user: AdminUser
Error 26401. Failed to create user.  (-2147024773   AdminUser      )
MSI (s) (A8!E0) [16:29:31:751]: Product: [Product Name] -- Error 26401. Failed 
to create user.  (-2147024773   AdminUser      )

Action ended 16:29:31: InstallFinalize. Return value 3.
...

There is something a little strange, however. It seems that the CreateUser 
action had also run successfully at an earlier point in the installation (via 
the ConfigureUsers action). Here is the log from that point:

MSI (s) (A8:28) [16:29:10:821]: Doing action: ConfigureUsers
Action 16:29:10: ConfigureUsers.
Action start 16:29:10: ConfigureUsers.
MSI (s) (A8:88) [16:29:10:891]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSI5.tmp, Entrypoint: ConfigureUsers
MSI (s) (A8:80) [16:29:10:982]: Generating random cookie.
MSI (s) (A8:80) [16:29:11:352]: Created Custom Action Server with PID 1388 
(0x56C).
MSI (s) (A8:AC) [16:29:12:063]: Running as a service.
MSI (s) (A8:AC) [16:29:12:093]: Hello, I'm your 32bit Impersonated custom 
action server.
MSI (s) (A8!A0) [16:29:12:624]: PROPERTY CHANGE: Modifying CreateUser property. 
Its current value is '**********'. Its new value: '**********'.
MSI (s) (A8!A0) [16:29:12:624]: Doing action: CreateUser
Action 16:29:12: CreateUser.
Action start 16:29:12: CreateUser.
CreateUser:
Action ended 16:29:12: CreateUser. Return value 1.
Action ended 16:29:12: ConfigureUsers. Return value 1.

Examining the MSI with Orca does not show the CreateUser custom action anywhere 
in the InstallExecuteSequence, but it does show the ConfigureUsers one.

Please let me know if there is anything else you need to know about the problem.
Regards,
Richard

-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2008 3:53 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Service installation using specified user / password.

What does the verbose log for the install with the User say?  There will be 
more details about the User failure than the Service failure (because the 
Windows Installer message is generically useless).

[Remainder of history trimmed]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to