catman915 Posted April 6, 2006 Posted April 6, 2006 I've created an au3 script to install Zonealarm 6.06. Everything works fine except that I stopped the script making process at the point that ZA wanted to reboot to finalize the install. Is there a way to modify the script to prevent the Reboot window from appearing or close it without rebooting? Would appreciate any assistance. Thanks
MHz Posted April 6, 2006 Posted April 6, 2006 You should be able to close the reboot window. If it has a Yes/No buttons, then just click No to reboot.I have problems with that installer so cannot check from here and little that you show for any further positive help.
catman915 Posted April 6, 2006 Author Posted April 6, 2006 The window only has an "OK" button. There is no option to reboot later and I don't want to reboot at that point in the installation.
MHz Posted April 6, 2006 Posted April 6, 2006 Not good. It would probably reboot automatically. You could try ProcessClose(), but it was to write registry entries or anything after the messagebox, then that would not be good. There is a /noreboot switch which may work also if autonated.Here is silent usage that you could try also.RunWait(@ScriptDir & '\Setup.exe /s /i /noreboot /lickey xxxxxxxxxxxxxxxxxxxxx ' & @ScriptDir & '\Software\zonealarm\yourconfig.xml')
catman915 Posted April 6, 2006 Author Posted April 6, 2006 Thanks for suggestion but I'm not knowledgeable enough to know what goes in the example or what "@ScriptDir" means or how I get "\Software\zonealarm\yourconfig.xml". Is there a description somewhere that gives a step by step to creating and implementing what you have suggested?
MHz Posted April 7, 2006 Posted April 7, 2006 @ScriptDir is the directory that your AutoIt3 script is. If your AutoIt3 script resides in "D;\Software", then @ScriptDir will return "D;\Software". @ScriptDir is a macro."\Software\zonealarm\yourconfig.xml" is the path to a xml file that is saved from a previous installation. muiz or other may know some more as he has been helping members with ZoneAlarm. A search may uncover some more information on this also.
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