Status MIF Functions
An advertisement's success or failure is determined using either a status MIF or the advertised program's exit code. Relying on the exit code limits the administrator's visibility of what happened during the installation process and requires determination of what the various exit codes mean. However, using the status MIF provides the administrator with enhanced status that lets them know if the installation succeeded or failed and includes an appropriate description.
For more information on how the install status MIF is used by SMS, see the Remarks section of SMS_Package.
You use the following functions to create an install status MIF.
Function | Description |
---|---|
InstallStatusMIF | Called by C/C++ applications to create a status MIF that SMS uses to correlate the install status of an advertisement. |
Create | Called by Visual Basic and scripting applications to create a status MIF that SMS uses to correlate the install status of an advertisement.
Scripting users create this object using "ISMIFCOM.InstallStatusMIF". |