"Сырой" рабочий пример
Код:
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Change2CUI=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
$Key = "/help"
$aArray = StringSplit($CmdLineRaw, " ")
If $aArray[1] <> "" Then
For $i = 1 To $aArray[0]
ConsoleWrite("Key #" & $i & " = " & $aArray[$i] & @CRLF)
Next
If $aArray[1] = $Key And $aArray[0] = 1 Then RunWait("msiexec.exe " & $aArray[1])
EndIf