为MSI安装程序创建响应文件 [英] Creating a response file for msi installer

查看:68
本文介绍了为MSI安装程序创建响应文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个.msi安装程序,我试图为此自动进行安装.我不能使用/quiet选项进行静默安装,因为我需要向安装程序提供许可证号.

I have an .msi installer that I am trying to automate the installation for. I cannot use the /quiet option for a silent install because I need to provide the installer a license number.

我一直在尝试使用SAVEINI参数创建响应文件

I've been trying to use the SAVEINI parameter to create the response file

msiexec /i "Installer.msi" SAVEINI="response_file"

msiexec /i "Installer.msi" SAVEINI="response_file.ini"

msiexec /i "Installer.msi" SAVEINI="C:/Windows/LTSvc/packages/Installer/response_file" 

这些都不创建安装运行的响应文件,然后不创建响应文件.

None of these create the response file the install runs and then no response file is created.

任何帮助将不胜感激,并感谢您的宝贵时间.

Any help would be greatly appreciated and thank you in advance for your time.

推荐答案

Windows Installer没有响应文件的概念.取而代之的是,您在命令行中传递公共属性,或生成一个转换并在安装例程中应用它.

Windows Installer doesn't have the concept of a response file. Instead you pass public properties at the commandline or generate a transform and apply it at install tine.

https://docs.microsoft.com/en-us/windows/win32/msi/about-transforms

这篇关于为MSI安装程序创建响应文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆