开发者

Trigger logging from within Wix script

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜