通过命令行传递安装路径 - installshield
我有使用 installShield 向导创建的安装文件 setup.exe。 作为安装的一部分,用户需要提示安装路径, 现在我无法访问 installshield 环境,我只能运行 setup.exe 文件。 我想通过命令行以静默模式激活安装过程,并且我需要 一种将安装路径传输到 setup.exe(通过命令行参数)的方法。 我有什么办法可以这样做吗? (msi 安装启用此选项)
谢谢, 丽然
I have this installation file setup.exe that was created with installShield wizard.
as part of the installation the user needs to prompt the installation path,
now i don't have any access to the installshield environment i can only run the setup.exe
file.
I want to activate the installation process via the command line in silent mode,and i need
a way to transfer to the setup.exe (via command line arguments) the installation path.
is there any way for me to do so ?? (msi installtion enables this option)
Thanks,
Liran
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这主要取决于您正在安装的 setup.exe 背后的安装类型。如果它是基本 MSI,您可以在 /v"..." 参数中传递 MSI 属性,并且很可能传递 /v"/qn INSTALLDIR={path}" 将是您想要的。但是,如果它是 InstallScript 项目,则需要记录一个 .iss 文件,并将其包含在内以静默运行。
请参阅 http://kb.flexerasoftware.com/doc/Helpnet/installshield15helplib/IHelpSetup_EXECmdLine。 htm 了解详细信息。
This depends mostly upon what kind of installation is behind the setup.exe you are installing. If it's a Basic MSI, you can pass MSI properties within a /v"..." parameter, and chances are good passing /v"/qn INSTALLDIR={path}" will be what you want. However if it's an InstallScript project, you'll need to record a .iss file, and include it to run silently.
See http://kb.flexerasoftware.com/doc/Helpnet/installshield15helplib/IHelpSetup_EXECmdLine.htm for details.