How can I show my own message and then exit setup if the current version of Windows is not supported?

回眸只為那壹抹淺笑 提交于 2021-02-19 18:23:06

问题


I have to check if the Windows version is not lower than 6.1 which is Windows 7. If it is lower I need to show my own message and then exit setup. If I write this in the [Setup] section:

[Setup]
MinVersion=6.1

the message that is shown is a standard one. How can I show my own message and then exit setup?


回答1:


Set WindowsVersionNotSupported in [Messages] section:

[Messages]
WindowsVersionNotSupported=You are using an ancient version of Windows.



来源:https://stackoverflow.com/questions/60867566/how-can-i-show-my-own-message-and-then-exit-setup-if-the-current-version-of-wind

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!