source: release-kits/shared/uninstaller/Uninst.bat@ 17949

Last change on this file since 17949 was 17949, checked in by max, 15 years ago

Do not need to be run from the directory in which it resides anymore (necesarry for Vista elevation). Starts minimized.

File size: 587 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 del .\bin\windows\search4j.exe
14 if exist .\bin\search4j.exe del .\bin\search4j.exe
15 rmdir bin
16
17 del uninst.jar
18 del uninst.flag
19 del Uninstall.*
20
21 if NOT EXIST *.* (
22 set GSDEL=%CD%
23 cd ..
24 rmdir %GSDEL%
25 )
26
27)
28exit
Note: See TracBrowser for help on using the repository browser.