Skip to content Skip to footer

创建安装log

●Windows安装log▪i - Status messages▪w - Nonfatal warnings▪e - All error messages▪a - Start up of actions▪r - Action-specific records▪u - User requests▪c - Initial UI parameters▪m - Out-of-memory or fatal exit information▪o - Out-of-disk-space messages▪p - Terminal properties▪v - Verbose output▪x - Extra debugging information▪+ - Append to existing log file▪! - Flush each line to the log▪* - Log all information, except for v and x options最常用的日志记录命令是/ L * V。 该命令将创建一个详细的日志,提供有关安装的大量信息。 以下是创建日志的步骤:①找出MSI文件的路径,例如C:\ MyPackage \ Example.msi②决定日志的路径,例如C:\ log \ example.log③打开cmd.exe(你可以使用任何命令shell)④使用msiexec命令行来启动带有日志记录参数的MSI(1),创建安装log。msiexec /i "C:\MyPackage\Example.msi" /L*V "C:\log\example.log"(2),创建卸载log。msiexec /x "C:\MyPackage\Example.msi" /L*V "C:\log\example.log"(3)创建升级包的log.msiexec /p "C:\MyPackage\Patch.msp" /L*V "C:\log\patch.log●InstallShield创建log。▪/v : Pass command-line parameters to the .msi package▪/s : Silent▪/p : Password mode▪/a : Administrative installation▪/j : Advertise mode▪/x : Uninstall mode▪/f : Repair mode▪/ua : Install Windows 9x MSI Engine▪/uw : Install Windows NT MSI Engine▪/b : Cache installation locally▪/debuglog : Generate a log file for debugging▪/w : Wait例:①Passing Parameters to the .msi File Within Setup.exeSetup.exe /v"/l*v \"c:\My Log Files\test.log\""Setup.exe /v"/l*v \"c:\My Log Files\test.log\" /qn"Setup.exe /v"/l*v \"c:\My Log Files\test.log\"" /v"/qn"②Running Setup.exe SilentlySetup.exe /s /v/qn③Specifying a Password from the Command LineSetup.exe /s /v/qn /p"password"④UninstallSetup.exe /v/x⑤Generate a Log File for DebuggingSetup.exe /debuglog"C:\PathToLog\setupexe.log"⑥Requiring Setup.exe to Waitstart /WAIT setup.exe /w

https://www.advancedinstaller.com/user-guide/qa-log.htmlhttp://helpnet.flexerasoftware.com/isxhelp19/helplibrary/IHelpSetup_EXECmdLine.htmhttps://serverfault.com/questions/61883/does-installshield-keep-a-log-during-installationhttp://www.installationdeveloper.com/686/using-log-files-in-installshield/https://stackoverflow.com/questions/14527160/turning-msi-logging-on-from-an-installshield-exehttps://support.symantec.com/en_US/article.HOWTO2906.html

Copyright © 2088 手游限时活动通 - 周末狂欢福利 All Rights Reserved.
友情链接