With the following codes, $INSTDIR is empty in
directoryShow function, while it is "C:\Test" in
directoryPre function.
Name "Test"
OutFile "Test.exe"
InstallDir "C:\Test"
PageEx directory
PageCallbacks directoryPre directoryShow
PageExEnd
Page components
Page instfiles
Function directoryPre
MessageBox MB_OK "directoryPre: $INSTDIR"
FunctionEnd
Function directoryShow
MessageBox MB_OK "directoryShow: $INSTDIR"
FunctionEnd
Section
SectionEnd
Logged In: YES
user_id=584402
Original report:
http://forums.winamp.com/showthread.php?s=&threadid=217005&highlight=PageCallbacks
Logged In: YES
user_id=584402
Thanks, fixed.