source: release-kits/shared/core/uninstaller/Uninstall.bat@ 18997

Last change on this file since 18997 was 18498, checked in by oranfry, 15 years ago

delete empty dir at uninstall

File size: 617 bytes
Line 
1@echo off
2CD /D "%~dp0"
3if exist .\bin\windows\search4j.exe .\bin\windows\search4j.exe -p .\packages\jre -l .\uninst.jar
4
5if exist .\gs2build\bin\windows\search4j.exe .\gs2build\bin\windows\search4j.exe -p .\packages\jre -l .\uninst.jar
6
7
8if exist uninst.flag (
9
10 rd /s /q .\packages\jre
11 rmdir packages
12
13 if exist .\bin\windows\search4j.exe (
14 del .\bin\windows\search4j.exe
15 rmdir bin\windows
16 )
17 if exist .\bin\search4j.exe del .\bin\search4j.exe
18 rmdir bin
19
20 del uninst.jar
21 del uninst.flag
22 del Uninstall.*
23
24 if NOT EXIST *.* (
25 set GSDEL=%CD%
26 cd ..
27 rmdir %GSDEL%
28 )
29
30)
Note: See TracBrowser for help on using the repository browser.