mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-27 21:30:34 +00:00
698a446488
to $PROFILE\reactos. - Remove the $APPDATA\RosBE directory on uninstall which wasn't being removed. svn path=/trunk/tools/RosBE/; revision=558
17 lines
658 B
Plaintext
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
|