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

Reboot -After Installation and unInstallation


1 reply to this topic

Hemamalini

Hemamalini
  • Members
  • 22 posts

Posted 22 January 2002 - 07:39

How to reboot the system after installation and uninstalltion
I have included ScheduleReboot Action,at the end of the sequence.But it is not working.
Please help me to solve this.

Hemamalini


calenkl

calenkl
  • Members
  • 42 posts

Posted 25 January 2002 - 08:21

hello !!
may i know what's the condition that u set for the ScheduleReboot sa ? put "1" and try....

i did use this SA before, it works fine without giving any problems...

if you really cannot solve it, mayb u can add a CA with Install Scripts, check the followings:

function ForceRebootSystem(hMSI)  
   NUMBER nCode;
begin            
 
   //To force rebooting the system
   nCode = RebootDialog("","",SYS_BOOTMACHINE);
   if (nCode = 0) then
   MessageBox("Make sure you reboot your system to complete the Setup.", WARNING);
   endif;
   
end;

add this CA then at the end of ur Sequence.

Good Luck !! :)