How to pack single-file Windows EXE for download?

I have a free program for sharing through my website. It consists of a single Win32 executable. Its only external dependency is the .NET 4.0 client environment. The exe file is digitally signed with my signature signature.

How do I pack it for distribution from my site and why?

  • send exe source file?
  • send a zip file containing one exe?
  • to create an actual installer (MSI) for publication?
  • or
+4
source share
3 answers

If you plan on targeting only Windows, it's probably best to create an .msi file. You can create it by adding the Setup project to your solution in Visual Studio.

+4
source

Send the exe file.

As a user, it would be more convenient for me to find out what I’m downloading and don’t need to guess, for example, say if it has been archived.

+2
source

I would suggest creating an Inno Setup installer that installs the program, creates a startup menu and / or shortcut on the desktop and checks for .NET and loads + installs if necessary. Also sign the installer. It is difficult to create an installer, and this will make your program more accessible.

+1
source

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


All Articles