问题描述
我在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.
In 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?
推荐答案
问候,
Fletcher
这篇关于如何通过visual studio安装项目降级程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!