Set Variable MSXML60 to TRUE
Check/Install MSXML (check v6.0, get result into variable MSXML60)
if Variable MSXML60 Equals FALSE
  Get System Setting Windows 2003 into IS2003
  if Variable IS2003 Equals FALSE
    Comment: MSXML 6.0 has specific requirements on operating systems prior to Windows Server 2003
    Get System Setting Windows XP into ISXP
    if Variable ISXP Equals TRUE
      Comment: MSXML 6.0 requires at least Windows XP Service Pack 1
      Get System Setting Service Pack 1 into ISSP1
      if Variable ISSP1 Equals FALSE
        MessageBox: $TITLE$ Setup, $TITLE$ requires at least Service Pack 1 or later. Please upgrade your operating system and try again.$NEWLINE$$NEWLINE$$TITLE$ Setup cannot continue.
        Terminate Installation
      end
    else
      Comment: MSXML 6.0 requires at least Windows 2000 Service Pack 4
      Get System Setting Service Pack 4 into ISSP4
      if Variable ISSP4 Equals FALSE
        MessageBox: $TITLE$ Setup, $TITLE$ requires at least Service Pack 4 or later. Please upgrade your operating system and try again.$NEWLINE$$NEWLINE$$TITLE$ Setup cannot continue.
        Terminate Installation
      end
    end
  end
  Set Variable PREREQ to TRUE
  Set Variable PRELIST to $PRELIST$$NEWLINE$Microsoft XML Parser 6.0
end
 
