23
edits
Changes
m
:: This is a recommended way of starting WPKG.
:: Use WPKGROOT variable to define where wpkg.js script is.
:: Use PACKAGES variable to define where all your software/installers are.
:: You can later use the PACKAGES variable (and all other variables) in your xml files.
→wpkg-start-vpn-bat
<source lang="vb">
cls
set WPKGROOT=\\tpsrv05\wpkg$
set SOFTWARE=%WPKGROOT%\content
cscript %WPKGROOT%\check-vpn.vbs
if ERRORLEVEL 0 GOTO END
%WPKGROOT%\wpkg.js /synchronize /quiet /nonotify