#RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=SETUP_CUST.ico #AutoIt3Wrapper_Outfile_x64=Releases\ChocolateyCustom.exe #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** if not FileExists(@ScriptDir & "\ChocoPackages.ini") Then IniWrite(@ScriptDir & "\ChocoPackages.ini","Packages","PACKAGES","") Exit(1) EndIf $packages = IniRead(@ScriptDir & "\ChocoPackages.ini","Packages","PACKAGES","424242") if $packages = "424242" Then Exit(1) EndIf Run("choco feature enable -n=allowGlobalConfirmation") Run("choco install " & $packages)