有没有一种方法,以确保MSI安装程序更新.exe文件每一次?安装程序、文件、方法、以确保

2023-09-04 09:11:54 作者:Anything(不顾一切)

有一些简单,轻松的方式来获得MSI安装到经常更换.exe文件(即主输出),只要.exe文件更近?

Is there some easy, hassle-free way to get the MSI installation to always replace the .exe file (i.e. Primary Output) whenever the .exe file is more recent?

这仅仅是基本的常识。无论我搜索总有一些关于主要和次要版本和补丁复杂的讨论。必须有一些简单的方法,以确保在安装期间被替换的文件。否则,什么是整个安装过程中的MSI文件实际上做。这就像一个伪装的安装,其中实际并没有任何替代/更新/升级。

This is just basic and common sense. Wherever I search there are always complicated discussions about major and minor versions and patches. There must be some simple way to ensure the file gets replaced during an install. Otherwise, what is the MSI file actually doing during the whole installation procedure. It's like a fake install where nothing actually gets replaced/updated/upgraded.

我在想什么?

推荐答案

一切都运行在一个常识的方式,只要你增加.exe文件的版本号。微星信任版本信息在更多延展性方面,像一个文件的时间戳。

Everything works in a "common sense" way as long as you increment the version number of the .exe. MSI trusts version info over more malleable aspects like a file's timestamp.