h54y4rtgsdfg Posted January 13, 2007 Posted January 13, 2007 (edited) . Edited August 4, 2015 by abryanb
MHz Posted January 13, 2007 Posted January 13, 2007 If your refering to windows updates then you can get the switches by using /? on them to get the needed ones to use for unattended installation. Autoit can easily handle the installations for you. Since updates normally use common switches then you can use a script similar to the below. $path = FileSelectFolder('Nominate Hotfix folder', @ScriptDir) If $path = '' Then Exit FileChangeDir($path) $handle = FileFindFirstFile($path & '\*.*') If $handle = -1 Then Exit While 1 $hotfix = FileFindNextFile($handle) If @error Then ExitLoop If $hotfix = @ScriptName Then ContinueLoop RunWait($hotfix & ' /nobackup /norestart /passive') WEnd FileClose($handle)
h54y4rtgsdfg Posted January 13, 2007 Author Posted January 13, 2007 (edited) . Edited August 4, 2015 by abryanb
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