且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何让 msiexec 根据需要安装和/或重新安装

更新时间:2023-11-24 08:56:40

我最后用一个批处理文件解决了,先运行msiexec/famus,如果退出码是1605就会运行msiexec/i.

I solved it in the end with a batch file that runs msiexec /famus first, and if the exit code is 1605 it will run msiexec /i.