Changeset 22577 for main/trunk/release-kits/shared
- Timestamp:
- 2010-08-05T14:17:41+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/shared/core/uninstaller/Uninstall.bat
r22573 r22577 4 4 :checkUserPermissions 5 5 echo Checking if the Greenstone directory is writable ... 6 (echo This is a temporary file. It is safe to delete it. > " %GSDLHOME%\testing.tmp" ) 2>nul7 if exist " %GSDLHOME%\testing.tmp" goto deleteTempFile6 (echo This is a temporary file. It is safe to delete it. > "testing.tmp" ) 2>nul 7 if exist "testing.tmp" goto deleteTempFile 8 8 if "%1" == "Elevated" goto printWarning 9 9 echo ... FAILED 10 echo The uninstaller cannot write to the Greenstone directory (% GSDLHOME%)10 echo The uninstaller cannot write to the Greenstone directory (%CD%) 11 11 echo Requesting elevated status to become admin user to continue. 12 "%GSDLHOME%\bin\windows\gstart.exe"%0 Elevated %1 %2 %3 %4 %5 %6 %7 %8 %912 bin\windows\gstart.exe %0 Elevated %1 %2 %3 %4 %5 %6 %7 %8 %9 13 13 goto done 14 14 15 15 :printWarning 16 16 echo ... FAILED 17 echo The uninstaller cannot write to the Greenstone directory (% GSDLHOME%).17 echo The uninstaller cannot write to the Greenstone directory (%CD%). 18 18 echo Attempting to continue without permissions. 19 19 goto shiftElevated … … 21 21 :deleteTempFile 22 22 echo ... OK 23 del " %GSDLHOME%\testing.tmp"23 del "testing.tmp" 24 24 25 25 :shiftElevated … … 58 58 59 59 ) 60 61 :done
Note:
See TracChangeset
for help on using the changeset viewer.