PDA

View Full Version : #00005: Install MSDE 2000, reboot and continue.



FAQ
01-24-2006, 01:28 AM
Question:

How to install MSDE 2000 and reboot the machine. After the reboot, launch the setup again and continue on from the same location it left off from.

Answer:

[ Initialize Setup ]
! --- Define commonly used constants ---
#include script "Common Definitions.sbi"

Set Variable %REBOOTED% to 0
Set Variable %INSTALLERFILENAME% to ScriptItem->Get System Information(Installer File Name)

If %REBOOTED% Equals "0" Then

! /V REBOOTED 1 to skip reboot process
Add RegistryRunOnce Entry "%INSTALLERFILENAME% /V REBOOTED 1"

! Include MSDE 2000
#include script "msde2000a.sbi"

Reboot Computer SystemEnd

Display Message Box "--- After Reboot ---\n\nExecute SQL Scripts now.\n" -- "SetupBuilder 5"