如何以这种方式创建设置? [英] How to create setup this way?

查看:69
本文介绍了如何以这种方式创建设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..
通过设置波纹管属性,我们可以创建安装文件,自动卸载现有的安装程序并安装新的安装文件.

Hi..
By setting the bellow properties we can create the setup file automatically uninstall existing setup and install new setupfile.

DetectNewerInstalledVersion:True<br />
RemovePreviousVersion:True



但是,每个安装文件都需要更改Setupfile的version属性.如果是的话,否则在安装当前安装文件时不会出现错误
会引发错误:已经安装.

我正在研究如何在不更改现有安装文件的version属性的情况下创建安装文件.

谢谢.



But each and every setup file we need to change the version property of Setupfile. If it is, it won''t through error while installing current setupfile otherwise
it throws error: already installed.

I am looking into how we can create the setup file without changing the version property of existing setupfile.

Thanks.

推荐答案

如果当前安装的内容和刚重建的安装程序具有相同的应用程序名称和版本号,那么Windows应该如何知道该怎么办?当前安装的是以前的版本"吗?版本号是它如何知道您要运行的软件安装程序比当前安装的更新的版本.

如果您不想更改版本属性,则需要在重新安装具有相同名称和版本号的另一个软件包之前手动卸载当前安装的版本.
If what''s currently installed and the installer that you just rebuilt have the same app name and version number then how is Windows supposed to know that what''s currently installed is a "previous version"? The version number is how it knows that the software installer that you want to run is newer than what''s currently installed.

If you don''t want to change the version property then you need to manually uninstall what''s currently installed before you reinstall another package with the same name and version number.


这篇关于如何以这种方式创建设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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