[ros-diffs] [dreimer] 27576: - Get rid of the eevil Admin rights check. Be aware, its more hacked away than replaced by something better, but I kept a Warning Message.

dreimer at svn.reactos.org dreimer at svn.reactos.org
Tue Jul 10 22:35:49 CEST 2007


Author: dreimer
Date: Wed Jul 11 00:35:49 2007
New Revision: 27576

URL: http://svn.reactos.org/svn/reactos?rev=27576&view=rev
Log:
- Get rid of the eevil Admin rights check. Be aware, its more hacked away than replaced by something better, but I kept a Warning Message.

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

Modified: trunk/tools/RosBE-Windows/RosBE.nsi
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/RosBE.nsi?rev=27576&r1=27575&r2=27576&view=diff
==============================================================================
--- trunk/tools/RosBE-Windows/RosBE.nsi (original)
+++ trunk/tools/RosBE-Windows/RosBE.nsi Wed Jul 11 00:35:49 2007
@@ -10,7 +10,7 @@
 ;;
 Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
 OutFile "RosBE-${PRODUCT_VERSION}.exe"
-InstallDir "C:\RosBE"
+InstallDir "$PROFILE\RosBE"
 InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
 ShowInstDetails show
 ShowUnInstDetails show
@@ -251,8 +251,8 @@
         Return
     IsNotAdmin:
         messageBox MB_OK|MB_ICONEXCLAMATION \
-                   "You do not have administrative privileges. Log on as Administrator and run the installer again."
-        Quit
+                   "You do not have administrative privileges. Installing on Default Account is more than BETA!!!"
+        Return
 FunctionEnd
 
 Function un.CheckAdminOrCurrent
@@ -263,6 +263,6 @@
         Return
     IsNotAdmin:
         messageBox MB_OK|MB_ICONEXCLAMATION \
-                   "You do not have administrative privileges. Log on as Administrator and run the uninstaller again."
-        Quit
-FunctionEnd
+                   "You do not have administrative privileges. Installing on Default Account is more than BETA!!!"
+        Return
+FunctionEnd




More information about the Ros-diffs mailing list