我已经阅读了互联网,Inno的文档以及这个很棒的地方Stack OverFlow。
我曾使用Inno Setup进行安装,并且一切正常。我要在卸载我的程序时更改最后一个msgbox。
我准备了带有程序徽标和消息的图像。但我看不出该如何改变。
我只想更改或添加映像,卸载结束。
我只能使用图像创建自定义表单吗?
感谢所有人。
无法自定义“ ...已成功从计算机中删除。”对话框,除了消息文本本身,可以使用[Messages]
部分进行修改。
[Messages]
UninstalledAll=%1 was successfully removed from your computer.
UninstalledMost=%1 uninstall complete.%n%nSome elements could not be removed. These can be removed manually.
UninstalledAndNeedsRestart=To complete the uninstallation of %1, your computer must be restarted.%n%nWould you like to restart now?
但是您不能做其他修改,例如添加图像。至少并非没有黑客。
使用Inno Setup API所能做的就是处理usPostUninstall
事件并在此处显示您的自定义对话框。然后强行中止安装程序。但是,如果需要完成安装,Windows的自动重启将无法正常工作。