Skip to content

Instantly share code, notes, and snippets.

@rodoviario
Forked from Ravenstine/vbscript_wine.md
Created July 14, 2017 10:45
Show Gist options
  • Save rodoviario/28ec3e160ec5370e196c55cf48e21708 to your computer and use it in GitHub Desktop.
Save rodoviario/28ec3e160ec5370e196c55cf48e21708 to your computer and use it in GitHub Desktop.
Installing VBScript in Wine (Linux)

How to Run VBScripts in Wine

It's very easy but not straight-forward or documented anywhere.

First, install Wine 1.6.2. This version probably isn't required, but it's the version that currently ships with Debian Jessie and it works with VBScript.

Install Winetricks and use it to add the following libraries:

  • wsh57
  • vcrun6

Now you should be able to execute a vbscript:

MsgBox("Hello World")

wine wscript helloworld.vbs

SAPI

To get SAPI working, install the following:

  • sapi51 (you may have to obtain this without winetricks)
  • speechsdk (MS Speech SDK 5.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment