PDA

View Full Version : How do i launch the program after install


tguez
03-10-2007, 01:05 PM
when i let setup factory detect if a restart is necessary, how do i launch the program only if a restart is not necessary?

If let the function run which detects if a restart is necessary, then how do i tell that the user did not click "no" to restarting. If the user clicked "no" i do not want to launch, but if the user was never prompted because a restart is not neccessary, then i want to run my applciation.

How do i determine if the user clicked no?

Tomer

Adam
03-12-2007, 10:10 AM
You could edit the script that handles the reboot or use similar code in your app. The script can be found in:

C:\Program Files\Setup Factory 7.0\Includes\Scripts\_SUF70_Global_Functions.lua

and is named:

function g_HandleSystemReboot()

Adam Kapilik

tmancey
03-13-2007, 06:55 AM
Hi

Wondering if you did find a solution to this problem as if so, could somebody please let me know best way of adding this.

Thanks
Terry