Microsoft KB Archive/268791

= How a status Management Information Format (MIF) file produced by the ISMIF32.exe file is processed in SMS 2.0 =

Article ID: 268791

Article Last Modified on 10/27/2006

-

APPLIES TO


 * Microsoft Systems Management Server 2.0 Standard Edition

-



This article was previously published under Q268791



SUMMARY
When you perform a software distribution, you may want to define a custom status Management Information Format (MIF) file to be returned after the advertisement has run. This can be accomplished by using the Ismif32.exe file from the Microsoft BackOffice Resource Kit version 1.0.

The status MIF file is collected by the client agent, Smsapm32, and reported to the database if the following criteria are correct:  The time and date recorded on the status MIF file are between the time and date that Smsapm32 starts and ends the advertisement. The information on the Reporting tab in Package Properties in the SMS administrator's console matches the status MIF file.



MORE INFORMATION
The Ismif32.exe file has the following command-line switches:

-f = MIF file name (no drive letter or extension, test)

-p = Product name

-c = The manufacturer or publisher of your package

-v = The version of your status MIF

-d = The description of your status message

-s = 0 or 1 with 0 (zero) being failed and 1 being success

-q = Quiet mode, no output is displayed on the screen

The following information is a map of the command parameters and the fields that they map to, as they are listed in the Reporting tab:

MIF file name = Value entered for -f

Name = Value entered for -p

Version = Value entered for -v

Publisher = Value entered for -c

The following is an example of an Ismif32 command line (and its corresponding log entries) that creates a status MIF file: ISMIF32 -f test -p &quot;SMS&quot; -c &quot;Microsoft&quot; -v &quot;2.0 SP2&quot; -d &quot;This test was a success&quot; -s 1

Sched data : MIF file spec &quot;C:\Temp\Test.mif&quot;~ $$

Sched data : MIF file spec &quot;C:\Winnt\Test.mif&quot;~ $$

Sched data : Checking MIF file &quot;C:\Winnt\Test.mif&quot;~ $$

Sched data : MIF file manufacturer &quot;Microsoft&quot;~ $$

Sched data : MIF file product &quot;SMS&quot;~ $$

Sched data : MIF file version &quot;2.0 SP2&quot;~ $$

Sched data : MIF file locale &quot;&quot;~ $$

Sched data : MIF file status &quot;Success&quot;~ $$

Sched data : MIF file description &quot;This test was a success&quot;~ $$

Sched data : Found MIF file match: &quot;C:\Winnt\Test.mif&quot;~ $$

Note If the last line is not present, the status MIF file was not written to the database. Smsapm32 looks for the MIF file in both the Temp and Windows NT directories.

After the MIF file is written to the database, you are able to use advertisement status messages to see it. To do this, right-click the advertisement status message and click Show All Messages. Locate the message ID 10009. This is your custom status MIF message.

