Author: peterw
Date: Sat Nov 24 04:05:48 2007
New Revision: 30711
URL:
http://svn.reactos.org/svn/reactos?rev=30711&view=rev
Log:
- 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.
Modified:
trunk/tools/RosBE/RosBE-Windows/RosBE.nsi
trunk/tools/RosBE/RosBE-Windows/RosSourceDir.nsh
Modified: trunk/tools/RosBE/RosBE-Windows/RosBE.nsi
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/RosBE.ns…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/RosBE.nsi (original)
+++ trunk/tools/RosBE/RosBE-Windows/RosBE.nsi Sat Nov 24 04:05:48 2007
@@ -290,6 +290,8 @@
RMDir /r /REBOOTOK "$INSTDIR\4.1.3"
RMDir /r /REBOOTOK "$INSTDIR\Tools"
RMDir /r /REBOOTOK "$SMPROGRAMS\$ICONS_GROUP"
+ IfFileExists "$APPDATA\RosBE\." 0 +2
+ RMDir /r /REBOOTOK "$APPDATA\RosBE"
Delete /REBOOTOK "$INSTDIR\Build.cmd"
Delete /REBOOTOK "$INSTDIR\chdefdir.cmd"
Delete /REBOOTOK "$INSTDIR\chdefgcc.cmd"
Modified: trunk/tools/RosBE/RosBE-Windows/RosSourceDir.nsh
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/RosSourc…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/RosSourceDir.nsh (original)
+++ trunk/tools/RosBE/RosBE-Windows/RosSourceDir.nsh Sat Nov 24 04:05:48 2007
@@ -6,7 +6,7 @@
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" "$APPDATA\RosBE\Source"
+ !insertmacro INSTALLOPTIONS_WRITE "RosSourceDir.ini" "Field
2" "State" "$PROFILE\reactos"
!insertmacro INSTALLOPTIONS_DISPLAY "RosSourceDir.ini"
FunctionEnd