简体   繁体   English

如何在同一安装部署中包含安装文件?

[英]How to include setup file in the same Setup Deployment?

I'm deploying application written in C# with .NET Framework 4.0 CP using Visual Studio 2010. I'd like to include uninstall option in the application folder. 我正在使用Visual Studio 2010部署使用.NET Framework 4.0 CP用C#编写的应用程序。我想在应用程序文件夹中包含卸载选项。 I've already tried creating shortcut to msiexec.exe system file but that didn't really worked for me, besides I've heard that on earlier OS (I'm on Win7) it might cause problems. 我已经尝试过创建msiexec.exe系统文件的快捷方式,但这对我来说并没有真正的作用,除了我听说在较早的OS(我在Win7上)上可能会引起问题。

As I noticed one can uninstall program using the same setup that was used for installing it. 我注意到,可以使用与安装该程序相同的设置来卸载程序。 So right now I'm somehow trying to include or create the setup file in the application folder. 因此,现在我正以某种方式尝试在应用程序文件夹中包括或创建安装文件。 How exactly can I achieve that? 我到底该如何实现?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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