Skip to content

Instantly share code, notes, and snippets.

@Ravenstine
Last active August 18, 2023 19:43
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save Ravenstine/9ccbe8269e8d5d28305b to your computer and use it in GitHub Desktop.
Save Ravenstine/9ccbe8269e8d5d28305b 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)
@Infinite-Unexpired-Love

Thank you very much bro!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment