pol
11th September 2003 13:13 UTC
MUI_CUSTOMFUNCTION_DIRECTORY_LEAVE no more used?
Hello,
I use a function "checkDirectory" to check if the install path has space chars or not. To do it, I use the following instruction:
!define MUI_CUSTOMFUNCTION_DIRECTORY_LEAVE checkDirectory
!insertmacro MUI_PAGE_DIRECTORY
With the CVS version, I get this warning during script compilation:
install function "checkDirectory" not referenced - zeroing code (3044-3051) out
Any idea?
PôL.
pengyou
11th September 2003 14:17 UTC
The latest CVS version of MUI has many changes (I had to read the new MUI ReadMe file a few times before I got my scripts to work again).
The 'define' used to specify the 'leave' function has been given a new name, so change your script to read
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE "checkDirectory"
!insertmacro MUI_PAGE_DIRECTORY
pol
11th September 2003 14:34 UTC
It run now. Thanks a lot :-)