解决办法
procedure DeinitializeSetup(); begin gdipShutdown; end;
Inno Setup进阶之退出安装程序停止正常工作(三)
原文:https://www.cnblogs.com/pengsn/p/13424381.html