From 6d94e8b69e03478843b4c65fd7fa0960b1c56f1f Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 04 Sep 2007 14:52:27 +0000
Subject: [PATCH] Fix for issue 2224.i Do not use winlauncher for uninstall.bat as now it is a CLI only command.

---
 opendj-sdk/opends/resource/uninstall.bat |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/opendj-sdk/opends/resource/uninstall.bat b/opendj-sdk/opends/resource/uninstall.bat
index f37c39c..6bd7008 100644
--- a/opendj-sdk/opends/resource/uninstall.bat
+++ b/opendj-sdk/opends/resource/uninstall.bat
@@ -68,14 +68,7 @@
 "%JAVA_BIN%" org.opends.server.tools.InstallDS -t > NUL 2>&1
 if not %errorlevel% == 0 goto noValidJavaHome
 
-if "%~1" == "" goto callLaunch
-goto callJava
-
-:callLaunch
-"%DIR_HOME%\lib\winlauncher.exe" launch "%JAVA_BIN%" %JAVA_ARGS% org.opends.guitools.uninstaller.UninstallLauncher
-goto end
-
-:callJava
+set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=uninstall.bat"
 "%JAVA_BIN%" %JAVA_ARGS% org.opends.guitools.uninstaller.UninstallLauncher %*
 
 rem return part

--
Gitblit v1.10.0