Author: peterw
Date: Sat Nov 10 05:55:45 2007
New Revision: 30314
URL:
http://svn.reactos.org/svn/reactos?rev=30314&view=rev
Log:
- Remove the admin checks, no reason for them anymore.
Modified:
trunk/tools/RosBE/RosBE-Windows/RosBE.nsi
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 10 05:55:45 2007
@@ -34,7 +34,6 @@
!include "MUI2.nsh"
!include "InstallOptions.nsh"
!include "RosSourceDir.nsh"
-!include "LogicLib.nsh"
;; MUI begin.
@@ -42,7 +41,6 @@
;; Read our custom page ini, remove previous version and check if the user has
administrative privileges.
;;
Function .onInit
- Call CheckAdminOrCurrent
Call UninstallPrevious
!insertmacro INSTALLOPTIONS_EXTRACT "RosSourceDir.ini"
FunctionEnd
@@ -258,7 +256,6 @@
FunctionEnd
Function un.onInit
- Call un.CheckAdminOrCurrent
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 \
"Are you sure you want to completely remove ReactOS Build Environment
and all of its components?" \
IDYES +2
@@ -336,25 +333,3 @@
UninstallPrevious_yes:
ExecWait '$R0 _?=$INSTDIR'
FunctionEnd
-
-Function CheckAdminOrCurrent
- userInfo::getAccountType
- pop $R0
- ${If} $R0 == "Admin"
- Return
- ${else}
- messageBox MB_OK|MB_ICONEXCLAMATION \
- "You do not have administrative privileges. You need to set a folder
with writing rights to install your BE and Code to. NO Vista Support possible!"
- Return
- ${EndIf}
-FunctionEnd
-
-Function un.CheckAdminOrCurrent
- userInfo::getAccountType
- pop $R0
- ${If} $R0 == "Admin"
- Return
- ${else}
- Return
- ${EndIf}
-FunctionEnd