Changeset 23243


Ignore:
Timestamp:
10/28/10 14:00:10 (10 years ago)
Author:
sjm84
Message:

Windows installations of Greenstone will now uninstall correctly (no left over folders)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/release-kits/shared/core/uninstaller/Uninstall.bat

    r23242 r23243  
    11@echo off
    22CD /D "%~dp0"
     3
     4setlocal enabledelayedexpansion
    35
    46:checkUserPermissions
     
    5456    rmdir /S /Q ..\tmp
    5557    rmdir /S /Q ..\ext
    56     rmdir /S /Q ..\uninstall
    5758   
    5859    cd ..
    59     if NOT EXIST *.* (
    60         set GSDEL=%CD%
    61         cd ..
    62         rmdir %GSDEL%
    63     )
     60    set GSDEL=!CD!
     61    cd ..
     62   
     63    echo @echo off > %TEMP%\gsuninstall.bat
     64    echo rmdir /S /Q !GSDEL!\uninstall >> %TEMP%\gsuninstall.bat
     65    echo rmdir !GSDEL! >> %TEMP%\gsuninstall.bat
     66    start cmd /C %TEMP%\gsuninstall.bat
    6467   
    6568)
Note: See TracChangeset for help on using the changeset viewer.