如何确保我的winform应用程序部署覆盖旧版本 [英] How do I ensure my winform application deployment overwrites old versions

查看:162
本文介绍了如何确保我的winform应用程序部署覆盖旧版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从VS2008部署项目为我的项目创建了一个msi安装包。但是在升级安装时我遇到问题,以前安装的版本不会被覆盖。如何确保以前安装的版本被覆盖?

I have created a msi install package for my project from the VS2008 deployment project. but I am having problems when it comes to upgrading installs, The previously installed version does not get overwritten. How do I ensure that previously installed versions get overwritten?

推荐答案


  1. 在Visual Studio中选择您的安装项目在解决方案资源管理器中

  2. 打开属性窗口


    • 不要右键单击选择属性。

    • 选择查看 - 属性窗口

  1. In Visual Studio select your Setup project within the Solution Explorer
  2. Open the Properties Window
    • don't right click and select properties.
    • select View - Properties Window

如果您构建并部署此新设置,则将删除具有较旧版本号的设置。

If you built and deploy this new setup, a setup with an older version number will be deleted.

重要提示:设置版本号完全独立于您的应用程序或程序集版本号!

Important: the setup version number is completely independent from your application or assembly version number!

这篇关于如何确保我的winform应用程序部署覆盖旧版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆