Windows installer Msiexec.exe开关的含义
我在安装.msi文件时遇到问题。我在注册表中找到以下条目:Windows installer Msiexec.exe开关的含义,windows-installer,Windows Installer,我在安装.msi文件时遇到问题。我在注册表中找到以下条目: "%SystemRoot%\System32\msiexec.exe" /i "%1" %* 我理解网站上的/I swhitch,但我不明白其余的是什么意思 "%1" %* 有什么想法吗?%1是要执行的.msi文件的占位符,%*是传递给.msi文件的可选参数的占位符 这可以如何扩展的示例: "c:\Windows\System32\msiexec.exe" /i "c:\foo\bar.msi" INSTALLDIR="c:\pro
"%SystemRoot%\System32\msiexec.exe" /i "%1" %*
我理解网站上的/I swhitch,但我不明白其余的是什么意思
"%1" %*
有什么想法吗?
%1
是要执行的.msi文件的占位符,%*
是传递给.msi文件的可选参数的占位符
这可以如何扩展的示例:
"c:\Windows\System32\msiexec.exe" /i "c:\foo\bar.msi" INSTALLDIR="c:\program files\foo"
这是一本书