Book a Demo

Author Topic: EA scripting not work on Windows 8(.1)!  (Read 3569 times)

mmo

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
    • View Profile
EA scripting not work on Windows 8(.1)!
« on: September 12, 2014, 06:25:01 pm »
As I had to learn there is a major issue with EA on Windows 8(.1): VBScripts do not run anymore (they don't even start and there is no error message or nothing - clicking on "Run" is like a No-Op), because the scripting environment in Windows 8+ has apparently changed such, that EA has trouble with it. The very same scripts run fine on Windows 7, btw.

I reported this >2 months ago, but Sparx support so far was unable to provide a solution. So I am bringing this to the forum in the hope that some other user may have found a solution or could at least provide me some hint what to try or install to remedy this.

I include Sparx' response to my problem report to avoid that others bother to provide the same suggestions:
----------------------
...
We had the same issue with a Microsoft user using Windows 8.1. It seems the access to the VBscript.dll is not correctly supported in Windows 8.1.

Here are a couple of processes to check. Unfortunately we did not resolve exactly which process corrected the issue:

1) Try registering the DLL.
 
Open a command prompt (as administrator) and run the following command:
regsvr32 C:\Windows\SysWOW64\jscript.dll & C:\Windows\SysWOW64\vbvscript.dll
 
If the problem continues, try re-installing the Windows Scripting Service - see the following page for more information.
http://support.microsoft.com/kb/949140

2) Try also re-registering using regsvr32 the following:
\Program Files (x86)\Sparx Systems\EA\VEA\x86\SSAgent32.dll
\Program Files (x86)\Sparx Systems\EA\VEA\x86\SSScriptAgent32.dll

Let us know how you go with this.
...
----------------------

Alas, none of these items helped or were even possible! All the mentioned .dll's don't even exist on my Windows 8.1 system and the hint behind the knowledge-base link suggests to install a stone-old windows scripting environment but its installer refuses to run (with error msg. "this OS version is not supported" or something similar)...

Has maybe anyone else found a way to get EA scripting back to life?

Michael

smendonc

  • EA User
  • **
  • Posts: 148
  • Karma: +5/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: EA scripting not work on Windows 8(.1)!
« Reply #1 on: September 13, 2014, 08:40:49 am »
I ran one of the Sparx test scripts that gets installed - the one that counts elements in a package - and had no issues with VBScript on two different machines running Windows 8.1 (all latest patches installed).

A couple of thoughts:
  • Are you running Win 8.1 in 32 bit mode or 64 bit mode?  Both my tests were on 64 bit machines (one being a virtual machine)
  • I have a complete installation of visual studio 2013 on both machines.  Do you have VS on the machines you tested?  Just wondering if VBScript might have been enabled by VS.

Thanks,
Stan.