我在NSIS脚本中添加了此命令来添加许可证页面
; License page
!insertmacro MUI_PAGE_LICENSE
Run Code Online (Sandbox Code Playgroud)
但我收到这个错误
!insertmacro: macro "MUI_PAGE_LICENSE" requires 1 parameter(s), passed 0!
Run Code Online (Sandbox Code Playgroud)
帮助我逐步将许可证页面添加到我的安装程序中,谢谢
您需要指定要显示的实际许可证(文本或富文本格式)
!insertmacro MUI_PAGE_LICENSE "path\to\myLicense.txt"
Run Code Online (Sandbox Code Playgroud)