开发者

Building Inno Setup installer for MSI files

开发者 https://www.devze.com 2022-12-10 01:34 出处:网络
I\'m building a deployment for a work environment, and doing it with Inno Setup. I wrap the other install开发者_C百科ers in one Inno-exe-File. It\'s working fine with other exe installers, but fails w

I'm building a deployment for a work environment, and doing it with Inno Setup. I wrap the other install开发者_C百科ers in one Inno-exe-File. It's working fine with other exe installers, but fails when it comes to MSI installers.

I don't know if there is any general problem, but it completely ignores my file association with the MSI exe (it works fine in Explorer, the association is ok).

Any ideas ? Probably there is some general problem..


Have the script launch Windows Installer just by executing the .MSI file will not work--the lookup of the default action to do when you open a file is done by the shell, but not automagically done by programs trying to launch things.

But the answer is simple: you just need to provide the msiexec.exe command line to launch them, something like this:

%windir%\system32\msiexec.exe /i <your_msi_filename> /qb-


Thanks to ewall I found this working for me:

Use a bat file for execution of all your MSIs, where you call each with full path, this way:

"C:\WINDOWS\System32\msiexec.exe" /i "C:\Programme\mySetup\tmp\InstallernameX" /qb-
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号