if Variable MSXML60 Equals FALSE
  Set Variable PROGRESSTEXT to Installing XML Parser 6.0
  Check/Install MSXML (install v6.0, get result into variable MSXML60)
  if Variable MSXML60 Equals REBOOT
    MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. You will have to run setup again at a later time to install $TITLE$.
    if Variable REBOOTNOW Equals OK
      Reboot Computer and Resume Setup
    else
      Terminate Installation
    end
  end
  if Variable MSXML60 Equals ERROR
    MessageBox: $TITLE$ Setup, XML Parser 6.0 could not be installed. Please use Windows Update to manually install this update on your system.$NEWLINE$$NEWLINE$$TITLE$ Setup cannot continue.
    Terminate Installation
  end
end
 
