Sign in to follow this  
Followers 0
themush1326

System Keeps Rebooting

8 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

the script is placed in c:\temp

A software distribution tool Everdream initiates the execution.

Share this post


Link to post
Share on other sites

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")

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

DUH!

FileInstall("C:\ica32pkg\ica32pkg.msi","c:\",1)

RunWait("msiexec /i c:\ica32pkg.msi /qn")

Shutdown(6)

is the same as

String("Do nothing")

Shutdown(6)

is the same as

Shutdown(6)

Edited by this-is-me

Who else would I be?

Share this post


Link to post
Share on other sites

DUH!

FileInstall("C:\ica32pkg\ica32pkg.msi","c:\",1)

RunWait("msiexec /i c:\ica32pkg.msi /qn")

Shutdown(6)

is the same as

String("Do nothing")

Shutdown(6)

is the same as

Shutdown(6)

Just the reboot hapens over and over the actual install works fine.

Can you explain what you mean I'm not understanding.

thanks

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

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