mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-23 11:29:44 +00:00
3a8cd39bd9
svn path=/trunk/RosBE/; revision=1370
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
|