Archive: running a key after install


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


To run a program use Exec:
Exec '"application1.exe" "-b configurationfile.config"'

-Stu


i use this in the installer ? or in the registry key?


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