473,388 Members | 1,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Project Deployment

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.
Nov 16 '05 #1
2 1182
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.


Nov 16 '05 #2
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.

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Oleg Ogurok | last post by:
Hi all, It seems a Web Deployment Project always installs as "Just Me". I have a merge module project that has to install as "All Users" as part of my web application. This is because in "File...
1
by: Ofer Berkovich | last post by:
Hi, I have some projects (VS .NET C#), for each project I have a deployment project to produce msi. I want to make a deployment project that will include all the other msi project, to install...
7
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
4
by: Zany | last post by:
I added a Web Deployment Project so I can create a debug, staging, and release version. Each set is compiled and saved in a separate folder under the csproj_deploy folder. All works fine. Here's...
2
by: MarkusJNZ | last post by:
Hi, we have an existing solution which contains a bunch of C# projects and one weployment project. Initially I did not have the web deployment project installed on my computer so I downloaded...
10
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov...
3
by: =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post by:
I've added a web deployment project and want to use the config section replacement but I'm obviously not understanding something. I have set up an alternate appSettings file,...
1
by: kirk.quinbar | last post by:
Have you ever used a .net deployment project to install a windows service? If so, then i ran into an issue recently that maybe you could shed some light on. I am sure I probably did something...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: dfrench | last post by:
I have a visual studio 2008 solution(win forms) I have a Deployment project with it to install the software I upgrade the version number on the deployment project and build it When I run this on...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.