Inno Setup - Post Processing

2019-06-12 17:16发布

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.

标签: inno-setup
1条回答
ゆ 、 Hurt°
2楼-- · 2019-06-12 17:55

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".

查看更多
登录 后发表回答