开发者

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

开发者 https://www.devze.com 2023-03-24 04:51 出处:网络
I\'m developing an application using the C# progr开发者_运维百科amming language. How can I create to my own setup file in C# ?I don\'t want a commercial software. How can I do that?Just create a new S

I'm developing an application using the C# progr开发者_运维百科amming language. How can I create to my own setup file in C# ?I don't want a commercial software. How can I do that?


Just create a new Setup Project


Try the Nullsoft installer: 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.


Actually, you can do that in Visual Studio by going New Project -> Other Project Type -> Setup and Deployment Visual Studio Installer.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号