Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


Sign in to follow this  
Followers 0
Bhudda

Script error by install routine

18 posts in this topic

first problem :

 

I have set up all intallation files on WPI ,all works fine, but  when i run a reboot agter programm installation, the installer call me there is a script error on the site, but the reboot is works fine and the message goes away, every time with the reeboot command {REBOOT} 5  is the same error

is there anyone who have a solution for this problem ?

 

second : when wpi starts the instalation the network connection failed with step 2/3/4 ,appears only, all work fine after the error, is there any solution to hide the error ?

 

regards Andy

Edited by Bhudda
0

Share this post


Link to post
Share on other sites

What version of WPI? What version of Windows? Could you send me your config.js file from the userfiles folder?

0

Share this post


Link to post
Share on other sites

Hi Kelsenellenelvian
 

  this is Version 8.7.2 on windows 7 64 bit
my config.js you will find in attachment

 

thanks a lot in advance

config.js

0

Share this post


Link to post
Share on other sites

you will receive a little donate

Edited by Bhudda
0

Share this post


Link to post
Share on other sites

That'd part of the issue. Use 8.7.3 there are fixes in it for some of that. Try it (you'll find it in the stickies up top) and then report back please.

0

Share this post


Link to post
Share on other sites

program ist up to date , the issue is the same

see attchment

post-413390-0-70490700-1455201929_thumb.

0

Share this post


Link to post
Share on other sites

done !  have solved by myself , delete the 431 and it works :thumbup

0

Share this post


Link to post
Share on other sites

shhhiiii..... dont fix the problem, the program will not install when i delete the 431 grrrrrrrrrrrrrr.....**** ;-)

0

Share this post


Link to post
Share on other sites

Have you modified a file in such a way where a quote mark (or similar type character) was accidentally removed? WScript is a .exe and I wouldn't think it would show up as being "undefined" unless the files were modified or you are using a lited OS. :unsure:

0

Share this post


Link to post
Share on other sites

i dont have modifyed the script core.js i cannot say what is the problem about that script

and the script is the original from first installation

Edited by Bhudda
0

Share this post


Link to post
Share on other sites

Not exactly my field of experience, but line 431 of core.js of WPI should be:
WScript.Sleep(duration);

Wscript is a "standard" script parser for the Visual Basic Script language on *any* windows, if you open a command prompt and type in it:

Wscript /?

[ENTER]

a popup window should come up.

If it doesn't, it means that for *some reason* your environment is faulty.

 

Try copying the following and pasting it in a new file, name it test.vbs:

WScript.Echo "Hello World!"Wscript.Sleep(1000)WScript.Echo "Hello again!"

then double click on test.vbs.

What happens?

 

jaclaz

0

Share this post


Link to post
Share on other sites

tested, open a window "Hello World" klick on OK then "Hello Again"

Edited by Bhudda
0

Share this post


Link to post
Share on other sites

Here is the Original core.js

thanks a lot in advance for your help !

core.js

Edited by Bhudda
0

Share this post


Link to post
Share on other sites

Is it common to run WPI from the Administrator's desktop?

0

Share this post


Link to post
Share on other sites

is anyone there who can me help ?

0

Share this post


Link to post
Share on other sites

Try this for a test, take the original code as shown here and replace it with 

function PauseNew(secs, milli){   position = "core.js";   whatfunc = "PauseNew()";   var duration;   duration = (secs * 1000) + milli;   WScript.Sleep(duration);}

This code here:

function PauseNew(secs, milli){   position = "core.js";   whatfunc = "PauseNew()";   WScript.Sleep(1000);}

Then run your WPI

0

Share this post


Link to post
Share on other sites

i have tested, WPI does not start, script error in many scripts, after the change

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.