开发者

Trigger logging from within Wix script

开发者 https://www.devze.com 2023-03-29 23:16 出处:网络
Normally, to enable logging, you\'d say msiexec ... /l*v [or any other combination]. You can also enable logging all products via the registry tweak.

Normally, to enable logging, you'd say msiexec ... /l*v [or any other combination].

You can also enable logging all products via the registry tweak.

Note that these are all outside actions, in a sense that the wxs script is not 开发者_JS百科the one specifying the logging options.

Is there a way to control logging from within the wxs script? Preferably to a folder like INSTALLDIR\Logs?

Is this a good practice? I know uninstalling will leave the Log folder behind, unless I clean it up somehow.


You can request a log verbosity level with the MsiLogging property. However, you can't control where the log is created and both level and location are overridden by anything the user specifies.

0

精彩评论

暂无评论...
验证码 换一张
取 消