杉宫竹苑工作室

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2117|回复: 0

Inno Setup 对说明文档增补补丁记录

[复制链接]
发表于 2017-1-9 20:09:02 | 显示全部楼层 |阅读模式

正式会员享受无限制浏览网站功能和高速网盘下载,赶快加入本站吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

x
   在你的补丁安装程序中增加下面的内容

  1. procedure CurStepChanged(CurStep: TSetupStep);
  2. begin
  3.   if CurStep=ssDone then
  4.     begin
  5.       if FileExists(ExpandConstant('{app}\更新说明.txt')) then
  6.         SaveStringToFile(ExpandConstant('{app}\更新说明.txt'), #13#10 + 'V1.0.1  补丁内容' + #13#10, True)
  7.       else
  8.         SaveStringToFile(ExpandConstant('{app}\更新说明.txt'), 'V1.0.1  补丁内容' + #13#10, False);
  9.       SaveStringToFile(ExpandConstant('{app}\更新说明.txt'), '1:增加XXX' + #13#10, True);
  10.       SaveStringToFile(ExpandConstant('{app}\更新说明.txt'), '2:修改了XXXbug' + #13#10, True);
  11.      SaveStringToFile(ExpandConstant('{app}\更新说明.txt'), '更新时间 ' + GetDateTimeString('ddddd', #0, #0) + #13#10, True);
  12.     end;
  13. end;
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SgzyStudio

GMT+8, 2024-5-19 17:02 , Processed in 0.107837 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表