Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Forcing a Reboot


2 replies to this topic

CGreg

CGreg
  • Members
  • 18 posts

Posted 11 March 2002 - 20:25

Hey guys, in an install I need to install MDAC_Typ.exe and then Windows Media Player.  I've found that if I reboot after having installed both MDAC and Windows Media Player that numerous Windows Media Player components fail to register.  Thus, I want to install MDAC and then force a reboot before continuing with the installation.  Can anyone recommend a way to do this?  I've tried using a ForceReboot, but I'm not having much luck in this department.  By the way, this is a Standard Project.  Any suggestions would be much appreciated.  Thank you.

Marie Tupps

Marie Tupps
  • Members
  • 22 posts

Posted 12 March 2002 - 14:48

There are a couple of ways to achieve this.  I use
szTitle = "System Reboot";
szMsg = @FINISH_COPY + @PLEASE_REBOOT;
RebootDialog(szTitle, szMsg, SYS_BOOTMACHINE);

Please note that if you want to continue after the reboot, you must set BATCH_INSTALL=TRUE prior to the reboot.

Hope this helps.
Marie :)
Marie Tupps

Marie Tupps

Marie Tupps
  • Members
  • 22 posts

Posted 12 March 2002 - 14:51

There are a couple of ways to achieve this.  I use
szTitle = "System Reboot";
szMsg = @FINISH_COPY + @PLEASE_REBOOT;
RebootDialog(szTitle, szMsg, SYS_BOOTMACHINE);

Please note that if you want to continue after the reboot, you must set BATCH_INSTALL=TRUE prior to the reboot.

Hope this helps.
Marie :)
Marie Tupps