|
|
#1 |
|
Junior Member
Join Date: Apr 2004
Posts: 1
|
Manipulating section checkbox
Hi,
I want to enable a section checkbox when there exists a certain file within the $EXEDIR directory. I already have: !define MUI_CUSTOMFUNCTION_GUIINIT myGuiInit Function myGuiInit IfFileExists "$EXEDIR\win32\mysql-4.0.18-win\SETUP.EXE" mysql_found mysql_done mysql_found: MessageBox MB_OK "enable checkbox" goto mysql_done mysql_done: FunctionEnd Instead of the MessageBox I would like to enable an RO section again. How can this be done? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Use the macros in Sections.nsh. See one-section.nsi as an example.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|