How to log an installation made from a WiX bundle

前端 未结 2 1979
余生分开走
余生分开走 2020-12-16 11:07

When creating a Windows installer using the WiX (Windows Installer for XML) toolset, how do you make the install process write logging information to a log file?

Is

相关标签:
2条回答
  • 2020-12-16 11:45

    You need to run your installation from the command line (preferably from an administrative command prompt) and use the -l switch as follows:

    mySetup.exe -l "LogFileName.log"

    0 讨论(0)
  • 2020-12-16 12:11

    The Bundle will automatically log to the %TEMP% location. A specific location for the log file can be set by passing a path to -l or -log such as: bundle.exe -l "path\to\your\log.txt"

    More details are provided by FireGiant at the bottom of this article: https://support.firegiant.com/entries/24024218-Create-a-log-file-

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