Problems deploying small .NET 3.5 applications

I have written several small applications using .NET 3.5, but now I have deployment problems. My client will probably be angry when he finds out that he will have to download the 231megs dependency ( .NET framework 3.5 ), which installs for 30 minutes (!!!) on the average computer. Everything, just to run my tiny applications.

Offline distribution is also problematic, as the client wants the program to fit on a mini-CD (maximum 185 megabytes)

What can I do? I really like .NET, but now I feel hopeless. With almost any other choice (c, C ++, python) I would save this headache.

update : this is a small data processing software and is mainly deployed in standalone situations on nettops. I can not accept from the network.

+4
source share
4 answers

You can use the .NET Client Profile installer, rather than the full framework. It should be around 28 MB and be a fairly quick installation.

http://blogs.windowsclient.net/trickster92/archive/2008/05/21/introducing-the-net-framework-client-profile.aspx

+11
source

You might need to target the .NET 2.0 platform until your customers are ready to upgrade. Even if you are not using .NET, you will still have these headaches. If you use Python, you still have to make sure that the user has the correct version of Python installed.

+6
source

Please remember, if you use the Windows boot application to install .NET, it will download only those parts of the .NET infrastructure that it needs. Usually less than 100 MB, in the worst case, when they do not even have .NET 2.0.

In addition, depending on your application, you can use the .NET 3.5 Client Only platform, it is much smaller, however I do not know if there is an offline download for it.

You can configure your application to use the "Client Only" infrastructure from the project properties, just check the "Subset the client framework" checkbox.

This will not work if your application uses WPF or WCF, I think. I will update this later if I find out that I am wrong.

EDIT:

Another option is to use something like Xenocode Postbuild or Xenocode Virtual Application ( http://www.xenocode.com ) to implement the .NET platform in your application so that the client does not need to install .NET on each machine.

However, this will make your application much larger. The project I'm working on uses Xenocode Postbuild to implement the .NET framework 3.0 and the exe size is about 50 MB, however the application works fine with a flash drive.

+1
source

You should try it with compact.net framework , it is only 34 mb, and it should be installed quickly enough.

+1
source

Source: https://habr.com/ru/post/1286639/


All Articles