pages/StackSelect.nsi
changeset 5 85800cb04cc5
parent 3 0cce88c7cf7c
child 10 014d58335b6d
equal deleted inserted replaced
4:ea7b100e5de6 5:85800cb04cc5
    15   !insertmacro XPUI_HEADER_TEXT "Select server stack" "Choose which BitNami stack installation you want to use to run $(^Name)."
    15   !insertmacro XPUI_HEADER_TEXT "Select server stack" "Choose which BitNami stack installation you want to use to run $(^Name)."
    16   !insertmacro XPUI_INSTALLOPTIONS_DISPLAY "StackSelect.ini"
    16   !insertmacro XPUI_INSTALLOPTIONS_DISPLAY "StackSelect.ini"
    17 FunctionEnd
    17 FunctionEnd
    18 
    18 
    19 Function StackSelectLeave
    19 Function StackSelectLeave
       
    20   StrCmp $XPUI_ABORTED 1 0 +2
       
    21     Return
       
    22   
    20   ; Here is where we make the final decision on which stack will be used.
    23   ; Here is where we make the final decision on which stack will be used.
    21   IfFileExists "$PLUGINSDIR\StackSelect.ini" "" OnlyOneStackInstalled
    24   IfFileExists "$PLUGINSDIR\StackSelect.ini" "" OnlyOneStackInstalled
    22   
    25   
    23     !macro ConfigCheck
    26     !macro ConfigCheck
    24       IfFileExists "$stack_instdir\apps\${PRODUCT_SHORTNAME}\htdocs\config.php" 0 +3
    27       IfFileExists "$stack_instdir\apps\${PRODUCT_SHORTNAME}\htdocs\config.php" 0 +3