简体   繁体   中英

How can I create to my own setup.exe file in C#?

I'm developing an application using the C# programming language. How can I create to my own setup file in C# ?I don't want a commercial software. How can I do that?

只需创建一个新的安装项目

试试Nullsoft安装程序: http//nsis.sourceforge.net/

In the File menu, click New->Project, and then in the dialog select Other Project Types->Setup and Deployment in the tree on the left. Select InstallShield LE or Visual Studio Installer, as you prefer.

Personally I'd recommend Visual Studio Installer->Setup Wizard for beginners.

实际上,您可以通过转到New Project - > Other Project Type - > Setup and Deployment Visual Studio Installer在Visual Studio中执行此操作。

If you're absolutely determined to write your own .exe that's compatible with the Microsoft installer stuff, then you pretty much need to read this chapter cover-to-cover:

http://msdn.microsoft.com/en-us/library/cc185688%28v=VS.85%29.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM