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
Columbus, Indiana
Fri, 13 Jun 2008, 7:33 pm EDT
More information
===============
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
==============================
I:\temp\starr\wine-test>type hello.vbs
wscript.echo "Hello, world."
I:\temp\starr\wine-test>cscript hello.vbs
Hello, world.
I:\temp\starr\wine-test>type hello.wsf
<?xml version="1.0" encoding="ISO-8859-1"?>
<job id="hello">
<script language="VBScript" src="hello.vbs" />
</job>
I:\temp\starr\wine-test>cscript hello.wsf
Hello, world.
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:
WindowsXP-Windows2000-Script56-KB917344-x86-enu.exe
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...
URL:
http://www.winehq.org/pipermail/wine-users/attachments/20080613/58dcbd98/attachment.htm