Overblog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Editer l'article Suivre ce blog Administration + Créer mon blog
MENU

SCCM 2007 : MDT: Wizard error code on cancel. If you want to manage the cancel or error on wizard

Publié le par damcuvelier

Add this to your process and add a quit on this condition:

If oEnvironment.Item("WizardComplete") <> "Y" then

oShell.Popup "The Deployment Wizard was cancelled or did not complete successfully.  The deployment will not proceed.", 0, "Wizard Error", 16

Cleanup

oLogging.ReportFailure "The Deployment Wizard was cancelled or did not complete successfully.  The deployment will not proceed.", 5206

End if

Commenter cet article