Create an MSI log file

后端 未结 2 1161
时光取名叫无心
时光取名叫无心 2020-11-27 05:02

I have been trying to create a log file for an issue with our installer with the following commands:

msiexec /i \"installer.msi\" /l*v \"log.log\"
msiexec /i         


        
相关标签:
2条回答
  • 2020-11-27 05:18

    If you are using Visual Studio 2008, use capital "/L" for the log option. Lower-case "/l" is ignored.

    msiexec /i "installer.msi" /L*v "log.log"
    

    This appears to have been fixed in later versions of msiexec.

    0 讨论(0)
  • 2020-11-27 05:23

    The first and the last command lines are correct:

    msiexec /i "installer.msi" /l*v "log.log"
    msiexec /l*v "log.log" /i "installer.msi"
    

    And you can drop quotes in this particular case.

    0 讨论(0)
提交回复
热议问题