Suraj Rai

Suraj Rai

  • NA
  • 86
  • 0

Registry Key Writing...

Jan 10 2007 4:43 AM

hi,

I am writing to the Registry folder

"HKCU\Software\Microsoft\Windows\Current Version\Run "

So that my application should run whenever system boots.

Now my problem is that, thouse code should run only at the time of installation of the application. e.i it should write to the registry only once at the time of installation.

Somebody in the forum onlu told me to create setup project..find view....and registry....But I did'nt get all subkey value of the registries...

Like...I got...HKEY_Local_Machine\Software...but when I click Software I get "[Manufacturer]"..

My problem is When the user will install the software ...I need to take the path of the local path of .exe file the application...and set this path inside  "HKCU\Software\Microsoft\Windows\Current Version\Run "

How to take that path....
If anyone has any idea...do help me....

Suraj



Can anyone suggest me regarding this.

Suraj