RosBE/RosBE-Windows/RosSourceDir.nsh
Peter Ward 698a446488 - Change the default ReactOS source directory from $APPDATA\RosBE\Source
to $PROFILE\reactos.
- Remove the $APPDATA\RosBE directory on uninstall which wasn't being removed.

svn path=/trunk/tools/RosBE/; revision=558
2007-11-24 01:05:48 +00:00

17 lines
658 B
Plaintext

!macro CUSTOM_PAGE_ROSDIRECTORY
PageEx custom
Caption ""
PageCallBacks "RosDir.show" "RosDir.leave"
PageExEnd
Function RosDir.show
!insertmacro MUI_HEADER_TEXT "Select ReactOS Source Location" "Select the directory where the ReactOS sources are located or will be checked out to later."
!insertmacro INSTALLOPTIONS_WRITE "RosSourceDir.ini" "Field 2" "State" "$PROFILE\reactos"
!insertmacro INSTALLOPTIONS_DISPLAY "RosSourceDir.ini"
FunctionEnd
Function RosDir.leave
!insertmacro INSTALLOPTIONS_READ $REACTOS_SOURCE_DIRECTORY "RosSourceDir.ini" "Field 2" "State"
FunctionEnd
!macroend