Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 NSIS 中,在自定义页面上,我想在用户按下取消按钮时跳过该页面,但我想在用户按下窗口的 X 按钮时退出安装程序(确认)。我怎么做?
目前,通过使用 Modern UI 和自定义中止功能,无论按下两个按钮中的哪一个,我都会调用相同的函数。
这不是正常的安装程序行为,我不建议您尝试实现这一点。
如果您仍然想尝试,我猜可能使用ButtonEvent 插件或WndSubclass 插件...