Hallo an alle,
ich habe ein Problem mit Runwait. Was mache ich falsch. Weder lokal noch im Netzwerk kann ich Dateien ausführen.
Was mache ich falsch?
LG UdoL
AutoIt
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ###
$Form1 = GUICreate("Test", 501, 420, 410, 189)
$Button5 = GUICtrlCreateButton("Installieren", 400, 200, 65, 20)
$Button3 = GUICtrlCreateButton("Beenden", 400, 348, 65, 20)
$Checkbox1 = GUICtrlCreateCheckbox("7ZIP", 50, 56, 97, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $Button3
Exit
case $Button5
If GUICtrlRead($Checkbox1)=1 then RunWait ("\\de-nb-vm-101\sources$\Applications\7Zip\16.04-x86\7z1604.msi" )
EndSwitch
WEnd
Alles anzeigen