MSFN Forum: JS and Setup.exe - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

JS and Setup.exe JavaScript and Safeguard Easy Rate Topic: -----

#1 User is offline   MAC-DUFF 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 05-April 05

Posted 08 September 2005 - 12:53 PM

hi,
i only want to write a small script for these safeguard installations, that we dont have to confugrate it everytime new on the laptops.
i took the description from winmap and it works well with for example 7zip. but now, when i start the script i get this error:
Please go to the Control Panel to install and configure system components.

function getWin(win, inc)
{
var cntr = 0;
while (!WshShell.AppActivate(win))
{
if (cntr==12) return true;
cntr++;
WScript.Sleep(inc);
}
return true;
}
var WshShell = new ActiveXObject("WScript.Shell");
var oExec = WshShell.Exec("setup.exe");
while (oExec.Status == 0)
{
WScript.Sleep(2000);
getWin("SafeGuard Easy Setup", 500);


}
WScript.quit();


and is it possible to give a long path like \setup1\setup.exe?

so, hope someone can help me
bse


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy