简体   繁体   中英

C# VS2010 How to force setup project to install application without asking for user input

Is there a way to tell "Setup Project" in Visual Studio 2010 to force installation of an application without asking for any kind of user input, like "destination directory", "finish" and "next" buttons, etc.

I would just like the user (or another program) to run "setup.exe" and the application would be installed. Without prompting or asking for information.

I think FileZilla Client has a feature like the one I just described. But then again they have a custom setup project...

Any help would be appreciated.

您可以使用Windows Installer的静默安装功能

You may want to consider using a ClickOnce deployment instead. It provides the ability to auto-update the app from a UNC location, ftp server, CD/DVD, etc.

http://msdn.microsoft.com/en-us/library/t71a733d.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