Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

We are developing C# 4.0 windows based application using visual studio 2010. Now we want to make an installable version of the exe using clickonce to deploy our application. I am new to .NET platform. So, please give me a step by step procedure to use clickonce to deploy my application.

While following steps :Project properties->publish window :

What should I need to give in Installation Folder URL Box(2 nd text Box):For example I want to give the c:\program files on installation folder. How do I do it?

I am going to deploy my application using USB/CDROM...
Posted
Updated 31-Mar-11 8:02am
v3

1 solution

I am afraid this is not possible with ClickOnce. ClickOnce applications are always installed in the Apps subdirectory of local application data. See the overview here;

Overview of Click Once Deployment[^]

You can check this link it is similar to your question for more help;

Control the location of the click once installation[^]

Click once in msdn ;

MSDN Click Once Deployment[^]

If you really need to specify the location where the application is going to be installed, you will have to use another method, like an .msi file.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900