Nsis 使用1-- 依条件显示自定义页面 custom page on condition
生活随笔
收集整理的這篇文章主要介紹了
Nsis 使用1-- 依条件显示自定义页面 custom page on condition
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在制作安裝程序的時候,我們會經常遇到根據用戶的不同選擇而隨后顯示不同的安裝信息采集頁面。 其實很簡單,在使用NSIS的時候發現了這么個方法,記下來防止自己忘記哈:
Code
;?MUI?2?compatible?------
!include?"MUI2.nsh"
!include?"Registry.nsh"
!include?"LogicLib.nsh"
!include?"nsDialogs.nsh"
Page?custom?ShowAdminInfo?LeaveAdminInfo
Function?ShowAdminInfo
?????????#test?for?display?custom?page?in?different?condition
????????${If}?$RadioButton_State_CustomPage?==?${BST_CHECKED}
???????????
????????${Endif}
FunctionEnd
?
轉載于:https://www.cnblogs.com/jim-chb/archive/2009/06/16/1504185.html
總結
以上是生活随笔為你收集整理的Nsis 使用1-- 依条件显示自定义页面 custom page on condition的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【linux】学习2
- 下一篇: 获取目标服务器c盘下flag文件信息,公