[Wine] Anybody get ".wsf" WSH scripts to run?
bill.starr.winehq at spamex.com
Fri Jun 13 18:33:46 CDT 2008
I am a pretty new Wine user.
I am hoping to be able to run some pretty large VBScript applications on it, to avoid porting them to Perl when we retire a Windows machine.
All of our VBScript runs as children of a WSH ".wsf" file, for example as follows.
I can get a simple ".vbs" file to run fine, but when I try to run the same file inside of a simple ".wsf" wrapper, I get a message that it cannot find the wrapper script file.
Is there any reference material about how to run ".wsf" files under Wine, or does anyone know for sure that it is or is not supported?
Thanks, Bill Starr
Fri, 13 Jun 2008, 7:33 pm EDT
Here are some simulated screen captures (I apparently can't do a text capture from "wineconsole").
I ran "wineconsole cmd -k" to put myself into a Windows command prompt.
How it works in regular Windows
wscript.echo "Hello, world."
<?xml version="1.0" encoding="ISO-8859-1"?>
<script language="VBScript" src="hello.vbs" />
What happens in Wine on the last step
Input Error: Can not find script file "Z:\usr\app\intercept\temp\starr\wine-test\hello.wsf".
My "I:" drive in Windows maps to the same directory as "Z:\usr\app\intercept" in the Wine environment.
I just tried installing 1.0rc5 from source today and it did not help.
I installed WSH v5.6 from the following file:
I ran "winetricks vcrun6" to get "MFC42.DLL" installed.
I believe that's about is as far as setup.
Can anyone suggest what I need to read or what I might try next.
If I can get ".wsf" files to work, I also need to install ActiveState Perl because the ".wsf" integrates VBScript and Perl together so the VBScript can call a few Perl functions.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wine-users