am632 Posted July 13, 2009 Share Posted July 13, 2009 Hi, I have searched around the internet and the help files but not really getting anywhere. I starting work on a script that installs windows updates from a folder on a network computer which isn't a problem. but is there a way that i can use the script to check to see if the update is already installed, if so it will automatically go onto the next update, if not it will install it then go onto the next one? Also my second question is.. if the computer needs a reboot after the install of an update, is there a way to continue the running of the script after the reboot from the place it left off? Thanks Link to comment Share on other sites More sharing options...
lordicast Posted July 13, 2009 Share Posted July 13, 2009 To check if a current update is installed I would use a FileRead() to check the install log. If you use RegWrite() you can write a value that will start your .exe or script upon boot up of the system. Finally you can use Shutdown(6)to force a reboot. All these commands are fully explained the help file. -Enjoy [Cheeky]Comment[/Cheeky] Link to comment Share on other sites More sharing options...
am632 Posted July 15, 2009 Author Share Posted July 15, 2009 Hi, thanks for the reply, It is my understanding that these log files are cleared by programs such as ccleaner? this would mean the script would find updates as not installed, is this correct? if so, is there another way to check? thanks 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