Skip to content

Instantly share code, notes, and snippets.

@nom3ad
Forked from Ravenstine/vbscript_wine.md
Created December 3, 2016 06:07
Show Gist options
  • Save nom3ad/45b503615378116b4231e0e0b2183c3a to your computer and use it in GitHub Desktop.
Save nom3ad/45b503615378116b4231e0e0b2183c3a 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