Hi,
Again I am asking the same question...
Is it possible to write to Registry
at installation time. I need to write to registry "HKCU\Software\Microsoft\Windows\Current Version\Run " so that when I install
my software it shud display icon in system tray.
string MyApp_ExE_Path = Application.StartupPath + "\\MyApp.exe";
I have to write "MyApp_ExE_Path" string.
I can write to the registry but what I want is that it should get written at installation time coz after picking the
application startup path.
How can I write to the registry taking the
"Application Startup path" at installation time.
While creating SetUp we can write to the Registry on Target Machine.
but how to provide the string dinamically...coz where the user is going to install this software and what will be the
"application start up path" we don'nt know...
Plz suggest sumthing...if any one have nay Idea...
thanx...
Writing string to registry at installation time
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
bigfoot_716 pointsPosted Feb 14, 2007, 12:28 AM EST
regards
Suraj Rai93 pointsPosted Feb 14, 2007, 1:06 AM EST
Hi,
Thank you very much for the your reply....cud u please explain how to use it...
I have to write a string depending on the user intallation path...
plz tell me...i have been lukin for this for many days n cud'nt figure out yet...
regards
suraj