I don't believe there's any requirement that the local admin group have the 
name "Administrators" (it's easy to go into the group names and change it). 
Most of the code I've seen that wants to know the name of the group uses the 
standard SID for the group then uses LookupAccountSid to get the name. That 
might be worth checking on the machines where it fails. 

Phil Wilson 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bikash Agrawala
Sent: Tuesday, December 04, 2007 10:26 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Failed to get group 'STUONBBOX5DOM/Administrators'

Hi,

We are facing a issue. Actually our MSI occasionally fails when it tries to add 
a user to the Administrators group. 
It is not able to find out Administrators group itself ???.This is a random 
behavior. It has been observed that the problem 
happens more often when virtual 1-box is being used Instead of physical 1-box.  
The MSI is installed using the Administrator 
login and the machine is a domain controller named (STUONBBOX5DOM).The 
OCSDumpUser is the Domain user of STUONBBOX5DOM.

The following is the log that is being generated which is of interest

MSI (s) (D8:24) [00:54:45:062]: Executing op: ActionStart(Name=CreateUser,,)
MSI (s) (D8:24) [00:54:45:062]: Executing op: 
CustomActionSchedule(Action=CreateUser,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (D8:24) [00:54:45:062]: Creating MSIHANDLE (138) of type 790536 for 
thread 1572
MSI (s) (D8:A8) [00:54:45:062]: Invoking remote custom action. DLL: 
D:\WINDOWS\Installer\MSIE7.tmp, Entrypoint: CreateUser
MSI (s) (D8:80) [00:54:45:062]: Generating random cookie.
MSI (s) (D8:80) [00:54:45:062]: Created Custom Action Server with PID 2984 
(0xBA8).
MSI (s) (D8:64) [00:54:45:078]: Running as a service.
MSI (s) (D8:64) [00:54:45:078]: Hello, I'm your 32bit Elevated custom action 
server.
MSI (s) (D8!78) [00:55:06:828]: Creating MSIHANDLE (139) of type 790531 for 
thread 4728
CreateUser:  Error 0x80004005: Failed to get group 
'STUONBBOX5DOM/Administrators'.
MSI (s) (D8!78) [00:55:06:828]: Closing MSIHANDLE (139) of type 790531 for 
thread 4728
MSI (s) (D8!78) [00:55:06:828]: Creating MSIHANDLE (140) of type 790531 for 
thread 4728
CreateUser:  Error 0x80004005: failed to add user: OCSDumpUser to group 
Administrators


The following is the lines in the wxs file that does the needful.

        <Group Id='AdministratorsGroup' Domain='[PCFDUMPTOOLDOMAIN]' 
Name='Administrators' />
                                                :
                                                :
                                                :
<User Id='PCFDumpUser' Name='[PCFDUMPTOOLACCOUNT]' Domain='[PCFDUMPTOOLDOMAIN]' 
CreateUser='yes' UpdateIfExists='yes' RemoveOnUninstall='no' 
Password='[PCFDUMPTOOLPASSWORD]'>
                                            <GroupRef Id='AdministratorsGroup' 
/>
                </User>

Please give me some pointers on how the problem can be debugged. 

Regards
Bikash




-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to