Skip to content

Instantly share code, notes, and snippets.

@paucoma
Created March 12, 2014 20:07
Show Gist options
  • Save paucoma/9515224 to your computer and use it in GitHub Desktop.
Save paucoma/9515224 to your computer and use it in GitHub Desktop.
installing wine for VBScript development on Ubuntu
http://askubuntu.com/questions/136714/how-to-force-wine-into-acting-like-32-bit-windows-on-64-bit-ubuntu
https://help.ubuntu.com/community/Wine
http://askubuntu.com/questions/316025/installing-and-configuring-wine
https://bbs.archlinux.org/viewtopic.php?id=39641
Guided by the arch-wiki and the ubuntu recommendations, I installed wine1.6-i386 and with winetricks loaded the WSH 5.7 and C++ required dll
----
:~$ winetricks
Executing w_do_call mfc42
Executing load_mfc42
Executing mkdir -p /home/paui/.cache/winetricks/vcrun6
Downloading http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe to /home/paui/.cache/winetricks/vcrun6
Executing wine /home/paui/.cache/winetricks/vcrun6/vc6redistsetup_deu.exe /T:C:\windows\Temp\_mfc42 /c
Executing cabextract -q /home/paui/.cache/winetricks/vcrun6/vcredist.exe -d /home/paui/.wine/dosdevices/c:/windows/system32 -F mfc42*.dll
Executing w_do_call wsh57
Executing load_wsh57
Executing mkdir -p /home/paui/.cache/winetricks/wsh57
Downloading http://download.microsoft.com/download/4/4/d/44de8a9e-630d-4c10-9f17-b9b34d3f6417/scripten.exe to /home/paui/.cache/winetricks/wsh57
Executing cabextract -q -d /home/paui/.wine/dosdevices/c:/windows/system32 /home/paui/.cache/winetricks/wsh57/scripten.exe
Using native,builtin override for following DLLs: jscript scrrun vbscript cscript.exe wscript.exe
Executing winetricks_early_wine regedit C:\windows\Temp\_wsh57\override-dll.reg
Executing wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
Successfully registered DLL dispex.dll
Successfully registered DLL jscript.dll
Successfully registered DLL scrobj.dll
Successfully registered DLL scrrun.dll
Successfully registered DLL vbscript.dll
Successfully registered DLL wshcon.dll
Successfully registered DLL wshext.dll
Executing w_do_call sound=alsa
Executing load_sound alsa
Setting sound driver to alsa
Executing winetricks_early_wine regedit C:\windows\Temp\_sound=alsa\set-sound.reg
Executing w_do_call win7
Executing load_win7
ADD - HKLM\System\CurrentControlSet\Control\ProductOptions ProductType 0 (null) WinNT 1
The operation completed successfully
Setting Windows version to win7
Executing winetricks_early_wine regedit C:\windows\Temp\_win7\set-winver.reg
You opted in, so reporting 'mfc42 wsh57 sound=alsa win7 ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't. Use --optout to disable future reports.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment