[ros-diffs] [peterw] 30345: - Switch to using SYSTEMDRIVE\RosBE instead of PROGRAMFILES to avoid a problem in windres.
peterw at svn.reactos.org
peterw at svn.reactos.org
Sun Nov 11 02:10:40 CET 2007
Author: peterw
Date: Sun Nov 11 04:10:39 2007
New Revision: 30345
URL: http://svn.reactos.org/svn/reactos?rev=30345&view=rev
Log:
- Switch to using SYSTEMDRIVE\RosBE instead of PROGRAMFILES to avoid a problem in windres.
Modified:
trunk/tools/RosBE/RosBE-Windows/RosBE.nsi
trunk/tools/RosBE/RosBE-Windows/RosSourceDir.ini
Modified: trunk/tools/RosBE/RosBE-Windows/RosBE.nsi
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/RosBE.nsi?rev=30345&r1=30344&r2=30345&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/RosBE.nsi (original)
+++ trunk/tools/RosBE/RosBE-Windows/RosBE.nsi Sun Nov 11 04:10:39 2007
@@ -10,7 +10,6 @@
;;
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "RosBE-${PRODUCT_VERSION}.exe"
-InstallDir "$PROGRAMFILES\RosBE"
InstallDirRegKey HKCU "${PRODUCT_DIR_REGKEY}" ""
ShowInstDetails show
ShowUnInstDetails show
@@ -42,6 +41,9 @@
;; Read our custom page ini, remove previous version.
;;
Function .onInit
+ var /global SYSTEMDRIVE
+ StrCpy $SYSTEMDRIVE $WINDIR 2
+ StrCpy $INSTDIR "$SYSTEMDRIVE\RosBE"
Call UninstallPrevious
!insertmacro INSTALLOPTIONS_EXTRACT "RosSourceDir.ini"
FunctionEnd
Modified: trunk/tools/RosBE/RosBE-Windows/RosSourceDir.ini
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/RosSourceDir.ini?rev=30345&r1=30344&r2=30345&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/RosSourceDir.ini (original)
+++ trunk/tools/RosBE/RosBE-Windows/RosSourceDir.ini Sun Nov 11 04:10:39 2007
@@ -19,7 +19,7 @@
[Field 3]
Type=Label
-Text=Select the directory where the ReactOS sources are located or will be checked out to later. This directory is required for the RosBE to work correctly. If you accept the default here then you must modify the shortcut (The 'Start in:' field) in the start menu later to point to the ReactOS source directory.
+Text=Select the directory where the ReactOS sources are located or will be checked out to later.
Left=0
Right=-1
Top=6
More information about the Ros-diffs
mailing list