|
|
#1 |
|
Junior Member
Join Date: Sep 2005
Posts: 12
|
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 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
To run a program use Exec:
Exec '"application1.exe" "-b configurationfile.config"' -Stu |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2005
Posts: 12
|
i use this in the installer ? or in the registry key?
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|