Determine if MSI/EXE supports certain flag/argument?

前端 未结 3 1848
不知归路
不知归路 2021-01-12 00:16

I\'m creating an auto-updater that can run MSIs and EXEs. These MSIs/EXEs aren\'t my own. I\'d like to use any unattended/silent install option if it exists. Is there som

3条回答
  •  执念已碎
    2021-01-12 00:52

    If it's MSI, then the parameters are standard, you can get the list of options with msiexec /? or view the docs on MSDN.

    There's no way to detect options for an arbitrary EXE which options it supports, if any. Try to find docs from the vendor, or try /? switch…

提交回复
热议问题