cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jameslcs001
Level 3

Registry value

I want to adds a registry entry to

HKLM:\software\microsoft\windows\currentversion\run

for my program to run when the computer starts.

My question:

1) How do i set the registry?

2) what value to put in, so that it follow my program installation path (even if user change it install path during installation)?

3) during uninstall will the above registry value get clean up (deleted)?
If not, how to clean it up?

thanks.
Labels (1)
0 Kudos
(1) Reply
mfd001
Level 5

1. If you are using Installshield set the registry key in the "Registry view".
2. Use [INSTALLDIR] path to your EXE file or to the program that will run your application.
3. If you are using Installshield, it will be cleaned up.

Regards
0 Kudos