简体   繁体   中英

How to install windows application and SQL server on the client machine?

I want to install my c# windows application on a client place which does not have .NET framework or SQL server. What files do I need to install in order for the application to work with database and how to create a package?

Create a setup project from Visual Studio and specify in the prerequisitesto include .NET framework and SQL Server Express. these packages will then be included in the setup or I think you can also specify to download automatically on setup execution.

You can use ClickOnce deployment for this. With ClickOnce you will give the client an install package that can check for prerequisites and install them if neccesarry. The .NET framework and SqlServer express can be installed this way.

Check the following link for more info: ClickOnce

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