Line | |
---|
1 | @echo off
|
---|
2 | CD /D "%~dp0"
|
---|
3 | if exist .\bin\windows\search4j.exe .\bin\windows\search4j.exe -p .\packages\jre -l .\uninst.jar
|
---|
4 |
|
---|
5 | if exist .\gs2build\bin\windows\search4j.exe .\gs2build\bin\windows\search4j.exe -p .\packages\jre -l .\uninst.jar
|
---|
6 |
|
---|
7 |
|
---|
8 | if 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 .\gs2build\bin\windows\search4j.exe (
|
---|
18 | del .\gs2build\bin\windows\search4j.exe
|
---|
19 | rd /s /q gs2build
|
---|
20 | )
|
---|
21 |
|
---|
22 | del uninst.jar
|
---|
23 | del uninst.flag
|
---|
24 | del Uninstall.*
|
---|
25 |
|
---|
26 | if NOT EXIST *.* (
|
---|
27 | set GSDEL=%CD%
|
---|
28 | cd ..
|
---|
29 | rmdir %GSDEL%
|
---|
30 | )
|
---|
31 |
|
---|
32 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.