Menu

#365 $INSTDIR is empty in directory page show callback function

2.0 Series
closed-fixed
Scripting (211)
5
2006-01-13
2005-05-27
Anonymous
No

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

Discussion

  • Amir Szekely

    Amir Szekely - 2006-01-13
    • assigned_to: nobody --> kichik
    • summary: directoryShow cannot catch $INSTDIR under Win2000/XP --> $INSTDIR is empty in directory page show callback function
    • status: open --> closed-fixed
     
  • Amir Szekely

    Amir Szekely - 2006-01-13

    Logged In: YES
    user_id=584402

    Thanks, fixed.

     

Log in to post a comment.