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.
-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
Name = Value entered for -p
Version = Value entered for -v
Publisher = Value entered for -c
ISMIF32 -f test -p "SMS" -c "Microsoft" -v "2.0 SP2" -d "This test was a success" -s 1
Sched data : MIF file spec "C:\Winnt\Test.mif"~ $$
Sched data : Checking MIF file "C:\Winnt\Test.mif"~ $$
Sched data : MIF file manufacturer "Microsoft"~ $$
Sched data : MIF file product "SMS"~ $$
Sched data : MIF file version "2.0 SP2"~ $$
Sched data : MIF file locale ""~ $$
Sched data : MIF file status "Success"~ $$
Sched data : MIF file description "This test was a success"~ $$
Sched data : Found MIF file match: "C:\Winnt\Test.mif"~ $$
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.
ID do Artigo: 268791 - Última Revisão: 19/06/2014 - Revisão: 1