I would like to build an MD5 checksum file of the setup file generated by Inno Setup. I've found the pre-processor and was wondering if there is a way to do some processing once the 'setup' output file has been created. It needs to run at the compile time not during installation.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If you are automating your build, just use command-line compiler from a batch file (or any other script).
And as a next step, run a tool to calculate the checksum.
"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" Example1.iss
certutil -hashFile mysetup.exe MD5
Alternatively, use Inno Script Studio (clone of Inno Setup).
It has [PostCompile]
section. In its GUI, it's "Post Compilation Steps".
标签:
inno-setup