Sample Package Command Status MIF File

The following example shows the package command status MIF file (called OFFICE97.MIF) created by the previous code sample.

START COMPONENT
 NAME="WORKSTATION"
 START GROUP  NAME="ComponentID"
  ID=1
  CLASS="DMTF|Component|1.0"
  START ATTRIBUTE
   NAME="Manufacturer"
   ID=1
   ACCESS=READ-ONLY
   STORAGE=SPECIFIC
   TYPE=STRING(64)
   VALUE="Microsoft"
  END ATTRIBUTE
  START ATTRIBUTE
   NAME="Product"
   ID=2
   ACCESS=READ-ONLY
   STORAGE=SPECIFIC
   TYPE=STRING(64)
   VALUE="Office 97"
  END ATTRIBUTE
  START ATTRIBUTE
   NAME="Locale"
   ID=4
   ACCESS=READ-ONLY
   STORAGE=SPECIFIC
   TYPE=STRING(64)
   VALUE="ENU"
  END ATTRIBUTE
  START ATTRIBUTE
   NAME="Serial Number"
   ID=5
   ACCESS=READ-ONLY
   STORAGE=SPECIFIC
   TYPE=STRING(64)
   VALUE="1234"
  END ATTRIBUTE
  START ATTRIBUTE
   NAME="Version"
   ID=3
   ACCESS=READ-ONLY
   STORAGE=SPECIFIC
   TYPE=STRING(64)
   VALUE="999.999"
  END ATTRIBUTE
  START ATTRIBUTE
   NAME="Installation"
   ID=6
   ACCESS=READ-ONLY
   STORAGE=SPECIFIC
   TYPE=STRING(64)
   VALUE="DateTime"
  END ATTRIBUTE
 END GROUP
 START GROUP
  NAME="InstallStatus"
  ID=2
  CLASS="MICROSOFT|JOBSTATUS|1.0"
  START ATTRIBUTE
   NAME="Status"
   ID=1
   ACCESS=READ-ONLY
   STORAGE=SPECIFIC
   TYPE=STRING(32)
   VALUE="Success"
  END ATTRIBUTE
  START ATTRIBUTE
   NAME="Description"
   ID=2
   ACCESS=READ-ONLY
   STORAGE=SPECIFIC
   TYPE=STRING(128)
   VALUE="Completed Successfully"
  END ATTRIBUTE
 END GROUP
END COMPONENT