Installation of *.msi program fails

Questions about Wine on Linux
Locked
mortenbo
Newbie
Newbie
Posts: 2
Joined: Mon Nov 28, 2022 4:37 pm

Installation of *.msi program fails

Post by mortenbo »

Hi,

I am trying to install these drivers with wine 7.22:

https://software.sonymobile.com/drivers ... _Setup.msi

But it fails with the error message below. There are several "not implemented" messages, so I guess I am out of luck. But just in case, is there anything I might do about this?

Thanks,
Morten
~/ % wine Sony_Mobile_Software_Update_Drivers_x64_Setup.msi
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
010c:err:winediag:gnutls_process_attach failed to load libgnutls, no support for encryption
010c:err:winediag:process_attach failed to load libgnutls, no support for pfx import/export
010c:fixme:file:NtLockFile I/O completion on lock not implemented yet
010c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
006c:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
006c:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
010c:fixme:imm:ImeSetActiveContext (00010056, 1): stub
010c:fixme:imm:ImmReleaseContext (00010064, 00010056): stub
010c:fixme:msi:event_spawn_wait_dialog doing nothing
0130:fixme:setupapi:pSetupGetGlobalFlags stub
0130:fixme:setupapi:pSetupGetGlobalFlags stub
010c:err:msi:execute_script Execution of script 0 halted; action L"[2.1\00015\0001{54FC78BE-F3E6-40EC-AEA7-0DC8EC1FF93F}\0001C:\\Program Files\\Sony Mobile\\SW Update USB Drivers\\\00012\00012\0001Sony Mobile Software Update Drivers\0001Sony Mobile Communications<=>S-1-5-21-0-0-0-1000<=>{4872001F-F67C-4C54-BC92-281C6A165251}]MsiInstallDrivers" returned 1603
010c:err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1603
010c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
010c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
010c:err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603
010c:err:msi:execute_script Execution of script 2 halted; action L"[2.1\00015\0001{54FC78BE-F3E6-40EC-AEA7-0DC8EC1FF93F}\00012\00012\0001Sony Mobile Software Update Drivers\0001Sony Mobile Communications<=>S-1-5-21-0-0-0-1000<=>{4872001F-F67C-4C54-BC92-281C6A165251}]MsiRollbackInstall" returned 1603
invisible kid
Level 5
Level 5
Posts: 353
Joined: Tue Dec 24, 2019 3:23 pm

Re: Installation of *.msi program fails

Post by invisible kid »

Just a fellow user here. Looks like the Sony program returns an error trying to finalize the install. My first thought is Sony might be trying to authenticate somehow and failing. In other words, they might try to lock-down their products from non-windows services. Like I said, this is just a gut first thought, hopefully it is an issue to be straightened out and someone can get you going.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installation of *.msi program fails

Post by jkfloris »

You can create a log file when you try to install an MSI file. This way you can see why there is an error.

Code: Select all

$ wine msiexec /i Sony_Mobile_Software_Update_Drivers_x64_Setup.msi /L*V log.txt
...

$ cat log.txt
...
DIFXAPP: ERROR: encountered while installing driver package 'C:\Program Files\Sony Mobile\SW Update USB Drivers\ggsomc.inf'
DIFXAPP: ERROR: InstallDriverPackages failed with error 0x65B
DIFXAPP: RETURN: InstallDriverPackages() 1627 (0x65B)
...
As the name of the file suggested, this program attempts to install a Windows driver. This does not work with Wine/ Linux. You will have to find a Linux driver for your device.
mortenbo
Newbie
Newbie
Posts: 2
Joined: Mon Nov 28, 2022 4:37 pm

Re: Installation of *.msi program fails

Post by mortenbo »

Thanks to the both of you. What I am really trying to do is to make the flash tool https://software.sonymobile.com/emma/in ... _Setup.exe for Sony Xperia cell phones work under Wine. The tool installs fine but it needs the updated drivers, unfortunately. There are no drivers under Linux that will solve this, I'm afraid.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Installation of *.msi program fails

Post by jkfloris »

Locked