[ros-diffs] [dreimer] 27425: - Fix Uninstaller for ALL new Files. - Check if the Source Folder is empty. If so, suggest to use "svn create" - Add a possibility to use RosBE with another Folder by typing in the path to it at the begining. (This will change later)

dreimer at svn.reactos.org dreimer at svn.reactos.org
Fri Jul 6 16:03:37 CEST 2007


Author: dreimer
Date: Fri Jul  6 18:03:36 2007
New Revision: 27425

URL: http://svn.reactos.org/svn/reactos?rev=27425&view=rev
Log:
- Fix Uninstaller for ALL new Files.
- Check if the Source Folder is empty. If so, suggest to use "svn create"
- Add a possibility to use RosBE with another Folder by typing in the path to it at the begining. (This will change later)

Modified:
    trunk/tools/RosBE-Windows/Root/RosBE.cmd
    trunk/tools/RosBE-Windows/RosBE.nsi

Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd?rev=27425&r1=27424&r2=27425&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Fri Jul  6 18:03:36 2007
@@ -29,7 +29,11 @@
 ::
 :: Save our initial directory (should be the ReactOS source directory)
 ::
-set _ROSSOURCEDIR=%CD%
+echo If you want to use RosBE with another Tree than the Default one, please set the Path to it now:
+SET /P XY=
+
+if /I "%XY%"=="" set _ROSSOURCEDIR=%CD%
+if /I not "%XY%"=="" set _ROSSOURCEDIR=%XY%
 
 ::
 :: Display the current version of GCC, NASM, ld and make.
@@ -50,6 +54,17 @@
 :: Load the macros that serve as our commands.
 ::
 doskey /macrofile="%ROSBEBASEDIR%\RosBE.mac"
+
+::
+:: Look if the Source Folder is empty. If so, ask for using "svn create".
+::
+dir /b %_ROSSOURCEDIR% 2>nul|"%ROSBEBASEDIR%\Tools\grep.exe" -e ".*" >nul
+if errorlevel 1 (
+    echo No ReactOS Source detected. Please use "svn create" to download it.
+    goto :ExitRosBE
+) else (
+    goto :ExitRosBE
+)
 
 goto :ExitRosBE
 

Modified: trunk/tools/RosBE-Windows/RosBE.nsi
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/RosBE.nsi?rev=27425&r1=27424&r2=27425&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/RosBE.nsi (original)
+++ trunk/tools/RosBE-Windows/RosBE.nsi Fri Jul  6 18:03:36 2007
@@ -185,6 +185,11 @@
     Delete /REBOOTOK "$INSTDIR\Clean.cmd"
     Delete /REBOOTOK "$INSTDIR\Help.cmd"
     Delete /REBOOTOK "$INSTDIR\RosBE.cmd"
+    Delete /REBOOTOK "$INSTDIR\reladdr2line.cmd"
+    Delete /REBOOTOK "$INSTDIR\Config.cmd"
+    Delete /REBOOTOK "$INSTDIR\SVN.cmd"
+    Delete /REBOOTOK "$INSTDIR\Build-Shared.cmd"
+    Delete /REBOOTOK "$INSTDIR\RAddr.cmd"
     Delete /REBOOTOK "$INSTDIR\TimeDate.cmd"
     Delete /REBOOTOK "$INSTDIR\ChangeLog.txt"
     Delete /REBOOTOK "$INSTDIR\LICENSE.txt"




More information about the Ros-diffs mailing list