|
|
#1 |
|
Junior Member
Join Date: Feb 2006
Posts: 2
|
how do I verify the install folder?
I have a NSIS installer which is using Modern UI.
I am using MUI_PAGE_DIRECTORY to do an installation directory dialog. I wish to make it so that either the "next" button is greyed out unless the install folder contains <file> or when you press the next button, the installer wont move on unless the install folder contains <file>. How can I do that? |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
Just use MUI_PAGE_CUSTOMFUNCTION_LEAVE to specify a leave function. In your leave function, you can then check for the presence of your file. Something like this:
code: |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|