PDA

View Full Version : Re-Start or Re-Boot



umaiyer
12-11-2003, 12:10 AM
In OnBegin() function i am removing some registry values & i want to re-start (reboot) the sytem & continue the further installation after reboot.

Problem is:
in OnBegin function it displays the sdFinishReboot dialogue & on pressing for reBoot it goes to OnFirstUIBefore() executes all the instructions & copies the files & also executes OnfirstUIAfter() instructions & then the system restarts.

I want to avoid executing these functions before restart & to be executed after restarting the system.

Also how to get the path from where the setup the running so that i can put the path in runonce to continue the installation on rebooting the system

thanks