MAC-DUFF Posted September 8, 2005 Posted September 8, 2005 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 mebse
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now