Posts

Showing posts from November, 2010

SCCM Deployment - Generating MIF file using VBScript

Image
The below VBScript will create the package installation status MIF file. The problem with the script initiated deployment is that it returns the success status even if the action performed by the script failed.   I have found this script on appdeploy website. The original script is located at http://www.appdeploy.com/messageboards/tm.asp?m=52414     Script Usage: SMSWriteStatusMIF “MIF File Name”, “Manufacturer”, “Product Name”, “Version”, “Description”,bSuccess   MIF File Name   : Name of the status MIF file. Manufacturer      : The application vendor Product Name     : Application name Version               : Application version Description         : The error description bSuccess             : True / False Script   Sub SMSWriteStatusMIF(FileName,Manufacturer, Product, Version, Description, bSuccess) ' Writing a status MIF for SWDist to return a success or a failure to execute ' Product is the name of the Script and MIF file. ' Description is the status