Jump to content
Sign in to follow this  

Easy question

Recommended Posts

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

$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')



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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...