if Variable MSI20 Equals FALSE
  Set Variable PROGRESSTEXT to Installing Microsoft Windows Installer 2.0
  Set Variable PROGRESSMODE to MARQUEE
  Check/Install Windows Installer (install v2.0, get result into variable MSI20)
  Set Variable PROGRESSMODE to 
  if Variable MSI20 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 MSI20 Equals ERROR
    Get System Setting Windows 9X Kernel (95, 98, ME) into PLATFORM
    if Variable PLATFORM Equals FALSE
      MessageBox: $TITLE$ Setup, Windows Installer 2.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
    else
      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
  end
end
 
