如何通过visual studio安装项目降级程序? [英] How to downgrade program by visual studio setup project?

查看:101
本文介绍了如何通过visual studio安装项目降级程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C#上有程序。我为这个项目创建了VS Setup。首先,我为版本1.0.0创建设置,然后我为1.0.1创建。

n设置属性我检查  DetectNewerInstalledVersion  到
false, 
RemovePreviousVersion to
true。


安装1.0.0之后我尝试通过运行setup v.1.0.1升级到1.0.1。它完成了成功。但是当我尝试降级到1.0.0时它会安装我到  regedit   2
位置(我的意思是1.0.0和1.0.1),在应用程序文件夹中留下1.0.1,而不是1.0.0。如何将程序从1.0.1降级到1.0.0一步 - 安装1.0.0?

I have program on C#. I create VS Setup for this project. First of all i create setup for version 1.0.0, then i create for 1.0.1.
I
n Setup Properties I check DetectNewerInstalledVersion to false, and RemovePreviousVersionto true.
After install 1.0.0 I try to Upgrade to 1.0.1 by run setup v. 1.0.1. It`s finish success. But when I try to downgrade to 1.0.0 it`s install me to regedit 2 positions (I mean 1.0.0 and 1.0.1), and in application folder left 1.0.1, not 1.0.0. How to downgrade program from 1.0.1 to 1.0.0 in one step - install 1.0.0?

推荐答案

我在Visual中找不到匹配的功能Studio只需一步即可降级项目版本,我担心您需要手动执行此操作。

I haven't found a matched feature in Visual Studio to downgrade the project version in one step, I'm afraid you need do it manually.

 

问候,

Fletcher


这篇关于如何通过visual studio安装项目降级程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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