Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploying a C#/.NET application without an installer nor ClickOnce

I am looking for a solution to:

  1. I don't have authorisation for installing an application on a client computer. That's why I need to deploy the application without an installer. Just like a portable application or a standalone application - something like that.

  2. The client computer also has a limitation in its Internet connection, so ClickOnce will not work either.

  3. I'm using Visual Studio Express 2010. I saw WiX could solve my limitation in setting-up my application. But still, I can't install the application.

like image 565
Rijdzuan Sampoerna Avatar asked Jul 03 '12 13:07

Rijdzuan Sampoerna


1 Answers

In your solution, set CopyLocal to true for all projects. This will ensure that the ..\Bin folder contains all the necessary assemblies for your program. Then just zip up the ..\Bin folder, get it onto the client machine, and then unzip it.

like image 177
Chris Avatar answered Oct 03 '22 06:10

Chris