How to deploy new program including .NET files

2020-01-20 05:56发布

问题:

A while ago I have created a program in visual studio and installed it on another computer which I was needed to install before a lot of .NET files, framework files, sqla and sdk files and more, and just then, I was able to activate the program. It was a windowsForms application on desktop- so this is what I have tried.

Please how can I make it easier?

How can I install the program on another computer including already all of the files?

Instead of installing them separately?

Maybe on dll?

I dont know but im sure there is an easier way doing it

回答1:

Though your question is not clear, you can create an MSI using WixToolSet, InstallShield,Advanced Installer, etc. For instance, if you are using Wix, you can install the Wix Extension in visual studio, create a wix project and the compile it into an MSI with all the files you want included in the final install. You can find many sources on the net that can give you tutorials to get you start, like codeproject