frank99
23rd September 2005 16:16 UTC
running a key after install
isa there some code that runs a registry key's value after its installed.. etc. i install a registry key in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
and the value is "application1.exe -b configurationfile.config"
how could i make this application launch automaticly from the key? or something like that ? thanks
Afrow UK
23rd September 2005 17:53 UTC
To run a program use Exec:
Exec '"application1.exe" "-b configurationfile.config"'
-Stu
frank99
23rd September 2005 19:09 UTC
i use this in the installer ? or in the registry key?
Afrow UK
23rd September 2005 20:03 UTC
Installer if you want to run it there and then. If you want to wait for the process to finish use ExecWait.
The Run registry key is for running a program when you boot up Windows.
-Stu