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.
Reboot PC and run program on startup
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
You may want to check out "RunOnce" in the MSDN library
Here http://msdn.microsoft.com/library/defau ... ca.xml.asp
Here http://msdn.microsoft.com/library/defau ... ca.xml.asp
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.
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\"
Install[b]Aware[/b] Software Corporation
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
Install[b]Aware[/b] Software Corporation

