if Variable OFFICE Equals FALSE
  Set Variable PROGRESSTEXT to Installing Access DataBase Engine
  Define File Bag : D:\Develop\Internal\PrintShopMailSuite\DatabaseEngine\AceRedist.msi, get runtime location of files into variable OFFICEFILESMSI
  Set Variable ADEERR to 
  Set Variable CONTINUEANYWAY to 
  Set Variable FAILED to 
  Install/Remove MSI Package data\Access Database Engine 2010\mFileBagIDE.dll\bag\AceRedist.msi[ADDLOCAL=ALL ] (get result into variable OFFICE)
  if Variable OFFICE 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
  else
    if Variable OFFICE Equals ERROR
      MessageBox: $TITLE$ Setup, Access Database Engine could not be installed. Please use Windows Update to manually install this update on your system.$NEWLINE$$NEWLINE$Would you like to  continue installing $TITLE$ Setup ?
      if Variable CONTINUEANYWAY Equals NO
        Terminate Installation
      end
    end
  end
end
 
