themush1326 Posted October 10, 2006 Share Posted October 10, 2006 I wrote a simple script to reboot a PC after install CitrixPresentation server. I am executing the script thru a tool called Everdream. When executed thru this tool the package just keeps rebooting over and over again here is the script FileInstall("C:\ica32pkg\ica32pkg.msi","c:\",1) RunWait("msiexec /i c:\ica32pkg.msi /qn") Shutdown(6) Any help would be appreciated Link to comment Share on other sites More sharing options...
Xenobiologist Posted October 10, 2006 Share Posted October 10, 2006 Hi, where is the script placed? AutoStart? You can put a MagBox in the Script to check whether the script forces the PC to reboot or anything else. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
themush1326 Posted October 10, 2006 Author Share Posted October 10, 2006 the script is placed in c:\temp A software distribution tool Everdream initiates the execution. Link to comment Share on other sites More sharing options...
cppman Posted October 10, 2006 Share Posted October 10, 2006 What do you mean, the package keeps restarting over and over? The installation keeps restarting? FileInstall("C:\ica32pkg\ica32pkg.msi","c:\",1) RunWait("msiexec /forcerestart C:\ica32pkg\ica32pkg.msi") Miva OS Project Link to comment Share on other sites More sharing options...
this-is-me Posted October 11, 2006 Share Posted October 11, 2006 (edited) DUH!FileInstall("C:\ica32pkg\ica32pkg.msi","c:\",1)RunWait("msiexec /i c:\ica32pkg.msi /qn")Shutdown(6)is the same asString("Do nothing")Shutdown(6)is the same asShutdown(6) Edited October 11, 2006 by this-is-me Who else would I be? Link to comment Share on other sites More sharing options...
themush1326 Posted October 11, 2006 Author Share Posted October 11, 2006 DUH!FileInstall("C:\ica32pkg\ica32pkg.msi","c:\",1)RunWait("msiexec /i c:\ica32pkg.msi /qn")Shutdown(6)is the same asString("Do nothing")Shutdown(6)is the same asShutdown(6)Just the reboot hapens over and over the actual install works fine.Can you explain what you mean I'm not understanding.thanks Link to comment Share on other sites More sharing options...
MrBeatnik Posted October 11, 2006 Share Posted October 11, 2006 He means.... is this script being called on EACH startup? If so, then the Shutdown(6) will reboot the machine as soon as it's called. Please correct me if I am wrong in any of my posts. I like learning from my mistakes too. Link to comment Share on other sites More sharing options...
themush1326 Posted October 11, 2006 Author Share Posted October 11, 2006 He means....is this script being called on EACH startup?If so, then the Shutdown(6) will reboot the machine as soon as it's called.Its just executes once initaited by Everdream. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now