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 machine only at the end of installation


1 reply to this topic

epriya2003

epriya2003
  • Members
  • 22 posts

Posted 16 January 2006 - 13:28

I want to reboot machine only at the end of installation (not for uninstall/repair etc.).

Using ForceReboot or ScheduleReboot how to do that. What conditions should be provided ??

I made a trial as follows:

In execute sequence,

before InstallFinalize, inserted ScheduleReboot with condition ISSCHEDULEREBOOT.

The problem I am facing is the reboot dialog comes even when I uninstall from Add/Remove programs....when I run my application first time, then also installer starts and show restart dialog.

Let me know the steps how to use ForceReboot or ScheduleReboot ??

Edited by epriya2003, 17 January 2006 - 13:31.


epriya2003

epriya2003
  • Members
  • 22 posts

Posted 18 January 2006 - 12:46

My problem is solved with ScheduleReboot. Thanks.