Project Deployment

R

Ranjeet

Hi All,

I am trying to configure a deployment package to start the project
application on login.
I have added a run key into the registry under
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
However, I need the application to be in the system search path for this to
work - is there any way of doing this in the VC# deployment process ?


Ranjeet.
 
D

Dmitriy Lapshin [C# / .NET MVP]

Are you really sure applications specified in this registry key have to be
in the system-searchable path? I have just opened regedit, browsed to this
key and I see a couple
of values pointing to fully qualified paths.
 
R

Ranjeet

Hi Dmitriy,

What I'm trying to do is use the VC# deployment setup project to configure
the application to start on boot ... if i was to use a fully qualified path,
I'd have to either know the path the user would install into or somehow
hardcode the installation path.

My thinking was, if I add a key that starts the app everytime windows loads
then app always starts.
However the registry key trick only works if you can fire the exe and have
it load through the default OS search paths.

Pls correct me if i'm wrong - or if there is a better way of doing this ?

Ranjeet.

Dmitriy Lapshin said:
Are you really sure applications specified in this registry key have to be
in the system-searchable path? I have just opened regedit, browsed to this
key and I see a couple
of values pointing to fully qualified paths.

Ranjeet said:
Hi All,

I am trying to configure a deployment package to start the project
application on login.
I have added a run key into the registry under
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
However, I need the application to be in the system search path for this to
work - is there any way of doing this in the VC# deployment process ?


Ranjeet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top