InstallShield 是否在安装过程中保留日志?

Hen*_*chi 18 windows installation

只想知道 InstallShield 在安装应用程序期间是否保留日志。

我已经检查了 C:\Program Files\InstallShield 安装信息{GUID},但是那里没有日志文件。

原因是安装 3rd 方工具失败并出现任意错误,例如:

“文件\ZZZ 上发生以下错误。文件是只读的”

选项有:忽略、重试、中止

我想找出文件的完整路径以及其他信息,我认为这可能在日志中(如果有的话)。

谢谢。

Gil*_*ton 23

有两个组件在起作用 - Installshield 的引擎和 MSIExec/Windows Installer 引擎。

在 Installshield 的 Setup.exe 引导程序的更高版本中,引入了 /debuglog 标志。

要同时记录两者,请尝试:

Setup.exe /debuglog"C:\PathToLog\setupexe.log" /V"/L*v c:\PathToLog\SetupMSI.log"
Run Code Online (Sandbox Code Playgroud)

确保用户对指定的路径具有写权限

Installshield Setup.exe 命令行

2008 命令行参考

2009 命令行参考 我不确定这是否正确,因为原始版本不再可用。

(dead) 2010 命令行参考

(dead) 2011 命令行参考

(dead) 2012 命令行参考

最新的命令行参数

MSI命令行调试参考

另请参阅 http://www.installationdeveloper.com/686/using-log-files-in-installshield/


GAT*_*awn 15

有关Installshield 命令行参数的官方文档,请参阅Setup.exe命令行参数。

如果您运行的setup.exe是 MSI 文件而不是 MSI 文件,并且正在静默运行它,那么您可以使用 /f2 参数来指定日志文件位置。就像是:

Setup.exe /s /f2"C:\Setup.log"
Run Code Online (Sandbox Code Playgroud)


小智 8

也可用于 installshield Setup.Exe 的是 /V 开关。

Setup.exe /V"/LIME c:\Temp\Install.log"
Run Code Online (Sandbox Code Playgroud)