DumpLog为NSIS提供将安装信息写入日志文件中的功能

!AddPluginDir "../Plugin"
Name "DumpLogTest"
OutFile "DumpLogTest.exe"
Section
StrCpy $0 0
loop:
DetailPrint "$0"
IntOp $0 $0 + 1
StrCmp $0 100 0 loop
DumpLog::DumpLog "log.txt" .R0
MessageBox MB_OK "DumpLog::DumpLog$n$n
Errorlevel: [$R0]"
SectionEnd
© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容