Jump to content

krawhitham

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by krawhitham

  1. ...and if you have a working Internet connection during your unattended install you can use this AutoIt routine to install, update, scan, and close the app all in one shot:

    RunWait("msiexec /i " & @ScriptDir & "\Extras\WindowsDefender.msi /qb""")
    Sleep(1500)
    WinWait("Windows Defender", "Your computer is running normally")
    WinClose("Windows Defender")

    I had to change it a little to work with Beta 2

    RunWait("msiexec /i WindowsDefender.msi /qb" , @ScriptDir & "\Extras")
    Sleep(1500)
    WinWait("Windows Defender (Beta 2)", "Banner Panel")
    WinClose("Windows Defender (Beta 2)")

×
×
  • Create New...