http://bugs.winehq.org/show_bug.cgi?id=31423
Bug #: 31423 Summary: Windows script host broken Product: Wine Version: 1.5.10 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: jscript AssignedTo: wine-bugs@winehq.org ReportedBy: djahma@gmail.com Classification: Unclassified
Windows script host is not found by software which provide a scripting interface based on it. AmiBroker is the software in question. It offers a scripting feature which rely on WSH but AmiBroker doesn't find it on recent versions of wine, although running scripts work when doing: wine wscript myscript.js I've tried various setups with Ubuntu 12.04 64bit and mint13 32bit and playonlinux to install various wine versions (1.5, 1.4, 1.3 ,1.2, 1.1.30). The strange thing is that AmiBroker could run jscripts when I was on Ubuntu 11.04 32bit and wine 1.2.2. Each time, I installed vcrun6 wsh56 and wsh57, msxml3, MFC42, ie6. I don't know how but I could see in the registry that jscript and vbscript are registered...not sure that help.
Unfortunately, I'm not a hacker, I just write simple scripts and programs to help me in my financial researches (render information directly on charts). A lot of my code written for AmiBroker rely on this ability to call WSH from within Amibroker. This means that a lot of my work would be lost unless a Hacker finds a way to setup WSH properly in wine, or I return to windows.
All I can do is to offer my time to run the commands someone knowledgeable would tell me to type. I've got AmiBroker, I've got some scripts to test, let me know