【发布时间】:2011-02-10 11:08:10
【问题描述】:
如何从服务安装程序写入 InstallLog?
我已经覆盖了我的类的 OnBeforeInstall 方法(它派生自 System.Configuration.Install.Installer,现在我想写入安装程序日志。但我看不到任何可以让我这样做的东西。
Console.WriteLine 将写入控制台但不写入日志。
【问题讨论】:
-
似乎不可能……至少我还没有找到解决办法。这是来自 MSDN 的 social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/…
标签: .net windows-services installation