Reboot PC and run program on startup

Got a problem you cannot solve? Try here.
rdeberry
Posts: 24
Joined: Tue Jan 17, 2006 9:16 am
Location: Texas, USA

Reboot PC and run program on startup

Postby rdeberry » Wed Feb 08, 2006 5:51 pm

I am trying to get around a problem that occurs on some test machines when files are in use. The normal installation (i.e., you install the software on a vrigin machine with nothing running) works like a champ. It installs the services and launches the small app to configure some parameters that I can't do in the installer. But if there is a need to reboot, the PC reboots but the app never gets launched. How do I set the installer to run the program after a complete install and it needed to reboot?

The run program line is right after the TODO: place code to run your app here.

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Wed Feb 08, 2006 6:19 pm

Naturally, since a reboot ends the setup program as well as the entire system, there is no way to run the program after a reboot.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Wed Feb 08, 2006 7:23 pm


Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Wed Feb 08, 2006 7:29 pm

Well actually there is a workaround on that..
You can check if the InstallAWARE is going to reboot, and edit the RunOnce registry key under HKLM/Software/Microsoft/Windows/CurrentVersion, so the programm will only run once AFTER reboot, and then windows will remove the entry from your the registry.. I hope this helps.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 236 guests