如果您在完成页面上没有使用自述文件复选框,则可以使用它来执行所需的任何操作:
原文链接:https://www.f2er.com/windows/372885.htmlFunction finishpageaction CreateShortcut "$desktop\foo.lnk" "$instdir\foo.exe" FunctionEnd !define MUI_FINISHPAGE_SHOWREADME "" !define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED !define MUI_FINISHPAGE_SHOWREADME_TEXT "Create Desktop Shortcut" !define MUI_FINISHPAGE_SHOWREADME_FUNCTION finishpageaction