Jump to content

LiveFreeDead

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by LiveFreeDead

  1. I was getting annoyed at the error message's not allowing it to silently run this package so I made an autoit script to fix it: #Region ;**** Directives created by AutoIt3Wrapper_GUI ****#AutoIt3Wrapper_UseX64=n#AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****#cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.8.1 Author: myName Script Function: Template AutoIt script.#ce ----------------------------------------------------------------------------#RequireAdmin; Script Start - Add your code below here$Runs = Run (@ScriptDir&"\VBCFJRedist_AIO_x86_x64-2013-02-07.exe /y", @ScriptDir)While ProcessExists($Runs) If WinExists("Windows Installer") Then ControlClick("Windows Installer", "OK", "[CLASS:Button; INSTANCE:1]") EndIf Sleep(100)WEnd Thanks rick, I read that using .msi instead of the .exe is what causes the errors to show (no way to disable them), but using the .msi is faster and smaller, so with protection agains it stopping I am happy again, this only continues when an error is found so if you manually uninstall the packages first it'll work as intended still, just in case someone needs this totally silent.
×
×
  • Create New...