Hi, I'm trying to use the toolkit to deploy a VBScript that install an application through SCCM package. The VBScript :
- exits with errorcode 1 if requirements are not met (and doesn't install the appl.)
- exits with errorcode 2 if installation fails
- exits with errorcode 0 if installation succeeds.
I would like to Allow Deferral for 3 times, Rerun the package only if the errorcode 2 (or error 5000) occurs, and finally be notified (at SCCM console) if the installation ends with errorcode different from 0.
How can I configure the script/SCCM ?