I use (call) this script and it works (no zombie state). But is there a better way than an old-old-old MSDOS SCRIPT ?????? KILLFFX6.BAT @echo off set PROGRAM_FILES=%ProgramFiles% if not "%ProgramFiles(x86)%" == "" set PROGRAM_FILES=%ProgramFiles(x86)% rem Path where the uninstaller is located set APP_DIR=%PROGRAM_FILES%\Mozilla Firefox rem Path to the uninstaller (see path definition above) set UNINSTALLER=%APP_DIR%\uninstall\helper.exe rem Options to be passed to the uninstaller in order to uninstall silently set OPTIONS=-ms echo Removing Program if not exist "%UNINSTALLER%" goto good_end start /wait "Uninstall" "%UNINSTALLER%" %OPTIONS% REM Unfortunately the uninstaller seems to fork a child process and the parent REM process exits immediately. So give it some time to uninstall for /L %%C IN (1,1,30) DO ( if not exist "%UNINSTALLER%" goto good_end ping -n 2 127.0.0.1 > NUL ) :bad_end exit /B 1 :good_end if exist "%APP_DIR%" rmdir /s /q "%APP_DIR%" exit /B 0 Bruno CHOQUET, responsable du service informatique de l'IUT d'Alençon. correspondant informatique du site universitaire d'Alençon. http://www.unicaen.fr/iutalencon Tel : 02.33.80.85.10 |