如何将命令行参数传递给 InstallShield 调试器?

发布于 2024-12-13 14:28:54 字数 163 浏览 3 评论 0原文

运行 InstallShield X 调试器时,我找不到一种方法来告诉它以静默方式运行以调试静默安装。

调试器似乎运行相当于显示 GUI 的“setup.exe”命令行,但我想要“setup.exe /s”,它从 setup.iss 获取输入。

有没有办法指定命令行参数进行调试?

When running the InstallShield X debugger I can't find a way to tell it to run silently in order to debug a silent install.

The debugger seems to run the equivalent of a "setup.exe" command line which displays the GUI, but I want "setup.exe /s" which takes input from setup.iss.

Is there a way to specify command line parameters for debugging?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

亣腦蒛氧 2024-12-20 14:28:54

有多种方法可以启动 InstallScript 调试器。您可以从 InstallShield IDE 启动它,这正是我希望您所做的。或者您可以使用 /d 从设置的命令行启动它。将 /s/d 混合在一起,您应该能够调试静默情况。或者,如果这是 InstallScript MSI,您可能还需要设置某些 MSI 属性以启用自定义操作的调试。

请参阅Setup.exe 和 Update.exe 命令行参数了解详细信息,请查看调试部分,其中描述了 /d/v"ISSCRIPTDEBUG=1 ISSCRIPTDEBUGPATH=\"Setup.dbg 路径\""

There are multiple ways to start the InstallScript debugger. You can start it from the InstallShield IDE, which is what I expect you're doing. Or you can start it from the command line of your setup with /d. Mix the /s and /d together, and you should be able to debug the silent case. Or if this is an InstallScript MSI, you may also want to set certain MSI properties to enable debugging of custom actions.

See Setup.exe and Update.exe Command-Line Parameters for details, looking at the Debugging section which describes both /d and /v"ISSCRIPTDEBUG=1 ISSCRIPTDEBUGPATH=\"path-to-Setup.dbg\""

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文