http://bugs.winehq.org/show_bug.cgi?id=35250
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |netapi32 Summary|BOINC service install fails |BOINC service install fails | |(user accounts created by | |NetUserAdd need to be | |persistent across sessions) Severity|minor |normal
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
The failing 'CAGrantBOINCMasterRights' custom action depends on persistence of created user accounts across sessions (account info is lost when netapi32.dll is unloaded).
--- snip --- ... 0046:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CAGrantBOINCMasterRights 2: Starting Custom Action 3: 0 " ... 0046:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CAGrantBOINCMasterRights 2: Successfully retrieved 'BOINC_MASTER_USERNAME' with a value of 'boinc_master' 3: 0 " ... 0046:Call advapi32.LookupAccountNameW(00000000,013c0ed8 L"boinc_master",00a41d10,013be7d4,00a40f58,013be7e0,013be7d0) ret=004be0bf 0046:Ret advapi32.LookupAccountNameW() retval=00000000 ret=004be0bf 0046:Call KERNEL32.GetLastError() ret=004be0c9 0046:Ret KERNEL32.GetLastError() retval=00000534 ret=004be0c9 ... 0046:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 2 L"1: Failed to be able to obtain the SID for the selected user on the localhost 2: " ... 0035:err:msi:ITERATE_Actions Execution halted, action L"CAGrantBOINCMasterRights" returned 1603 --- snip ---
Previous 'CACreateBOINCAccounts' custom action which creates both accounts:
--- snip --- ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Starting Custom Action 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Using automatic account creation and management of 'boinc_master' account 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Generating 'boinc_master' account name 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Generating 'boinc_master' password 3: 0 " ... 0045:Call advapi32.LookupAccountNameW(00000000,013c0e60 L"boinc_master",00a41130,0099e6f8,00a41928,0099e704,0099e6f4) ret=004be0bf 0045:Ret advapi32.LookupAccountNameW() retval=00000000 ret=004be0bf 0045:Call KERNEL32.GetLastError() ret=004be0c9 0045:Ret KERNEL32.GetLastError() retval=00000534 ret=004be0c9 ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Creating 'boinc_master' account 3: 0 " ... 0045:Call netapi32.NetUserAdd(00000000,00000001,0099e764,0099e75c) ret=004b34ba 0045:fixme:netapi32:NetUserAdd ((null), 1, 0x99e764, 0x99e75c) stub! 0045:Call ntdll.RtlAllocateHeap(00110000,00000000,0000024c) ret=f6fd87d7 0045:Ret ntdll.RtlAllocateHeap() retval=00a44420 ret=f6fd87d7 0045:Ret netapi32.NetUserAdd() retval=00000000 ret=004b34ba ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Using automatic account creation and management of 'boinc_project' account 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Generating 'boinc_project' account name 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Generating 'boinc_project' password 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Creating 'boinc_project' account 3: 0 " ... 0045:Call netapi32.NetUserAdd(00000000,00000001,0099e764,0099e760) ret=004b37ea 0045:fixme:netapi32:NetUserAdd ((null), 1, 0x99e764, 0x99e760) stub! 0045:Call ntdll.RtlAllocateHeap(00110000,00000000,0000024c) ret=f6fd87d7 0045:Ret ntdll.RtlAllocateHeap() retval=00a45138 ret=f6fd87d7 0045:Ret netapi32.NetUserAdd() retval=00000000 ret=004b37ea ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Successfully set 'BOINC_MASTER_USERNAME' to a value of 'boinc_master' 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Successfully set 'BOINC_MASTER_ISUSERNAME' to a value of '.\boinc_master' 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Successfully set 'BOINC_MASTER_PASSWORD' to a value of '<Value Hidden>' 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Successfully set 'BOINC_PROJECT_USERNAME' to a value of 'boinc_project' 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Successfully set 'BOINC_PROJECT_ISUSERNAME' to a value of '.\boinc_project' 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Successfully set 'BOINC_PROJECT_PASSWORD' to a value of '<Value Hidden>' 3: 0 " ... 0045:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"1: CACreateBOINCAccounts 2: Successfully set 'RETURN_REBOOTREQUESTED' to a value of '1' 3: 0 " ... 0045:trace:msi:DllThread custom action (45) returned 0 --- snip ---
Regards