Donnerstag, 8. April 2010

Install vbrun60sp6.exe in wine

On my Ubuntu 9.10 installation,

wine vbrun60sp6.exe

failed with the following error message:

fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 32f970,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\windows\\temp\\IXP000.TMP\\OLEAUT32.DLL" -> L"C:\\windows\\system32\\OLEAUT32.DLL"
fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 32f970,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\windows\\temp\\IXP000.TMP\\OLEPRO32.DLL" -> L"C:\\windows\\system32\\OLEPRO32.DLL"
fixme:ole:DllRegisterServer stub

The reason for this seems to be already existing OLEAUT32.DLL and OLEPRO32.DLL.

Luckily, I found a similar issue in Ubuntuforums. This is what I did:

cd ~/.wine/drive_c/windows/system32
mv oleaut32.dll  oleaut32.dll_backup
mv olepro32.dll olepro32.dll_backup

Create a file temp.reg with the following lines:

REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"asycfilt"="native"
"comcat"="native"
"msvbvm60"="native"
"oleaut32"="native"
"oleaut32"="native"
"olepro32"="native"
"stdole2.tlb"="native"

Then run

wine regedit temp.reg

and finally

wine vbrun60sp6.exe

This should do the job.

Keine Kommentare: