简体   繁体   English

NSIS RadioButton !insertmacro RadioGetChecked

[英]NSIS RadioButton !insertmacro RadioGetChecked

In Nsis I try to use RadioButton for Sections.在 Nsis 中,我尝试将 RadioButton 用于部分。 First I try to compile the code from the example: https://nsis.sourceforge.io/RadioButtons首先,我尝试编译示例中的代码: https://nsis.sourceforge.io/RadioButtons

But I get the error at this line但我在这一行得到了错误

,insertmacro RadioGetChecked "${g1o1}" "${g1o1},${g1o2},${g1o3}"

error message:错误信息:

:insertmacro: macro named "RadioGetChecked" not found!

Whats wrong?怎么了? I just copied the example.我只是复制了这个例子。

You need to copy and paste the Macros section on that page, those macros need to exist before the functions in the script.您需要复制并粘贴该页面上的宏部分,这些宏需要在脚本中的函数之前存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM