Msiexec: Deploy Scripts that Run Before a Connect Event


msiexec.exe /i GlobalProtect.msi PREVPNCONNECTCOMMAND="%userprofile%\pre_vpn_connect.bat c: test_user" PREVPNCONNECTCONTEXT="user" PREVPNCONNECTTIMEOUT="60" PREVPNCONNECTFILE="C:\Users\test_user\pre_vpn_connect.bat" PREVPNCONNECTCHECKSUM="a48ad33695a44de887bba8f2f3174fd8fb01a46a19e3ec9078b0118647ccf599" PREVPNCONNECTERRORMSG="Failed executing pre-vpn-connect action."