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 [C# / .NET MVP]" <x-****@no-spam-please.hotpop.com> wrote
in message news:%2****************@TK2MSFTNGP09.phx.gbl...
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" <ra***********@hotmail.com.nospam> wrote in message
news:uc**************@TK2MSFTNGP09.phx.gbl... 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\Curr entVersion\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.