TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Suraj Rai
NA
111
0
writing string to registry at installation time
Feb 14 2007 12:18 AM
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...
Reply
Answers (
2
)
Making reusable custom combo box control
About Compressing using GZipStream