[wpkg-users] Java hanging on install
Andrew Struiksma
astruiksma at nwesd.org
Wed May 26 19:30:29 CEST 2010
I found the attached script (uninstall_java.cmd) which seems to do a good job of uninstalling all previous versions of Java in a more efficient way.
I modified it a bit so I could more easily reuse if for other apps such as Adobe Reader (uninstall_reader.cmd).
Andrew
-----Original Message-----
From: wpkg-users-bounces at lists.wpkg.org [mailto:wpkg-users-bounces at lists.wpkg.org] On Behalf Of Daniel Dehennin
Sent: Wednesday, May 26, 2010 6:58 AM
To: wpkg-users at lists.wpkg.org
Subject: Re: [wpkg-users] Java hanging on install
Troy Hamilton <troy.a.hamilton at gmail.com> writes:
> Daniel,
>
> I had the exact same problem until I explicitly killed jqs.exe before
> trying to uninstall the old versions. Like Marc suggested, this is
> the first command that I run:
>
> taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe
WPKG client is run when the computer is shutdown, so iexplore and firefox are (should?) be down, I use:
REM Stop Quick Starter service if any
net STOP JavaQuickStarterService 2> NUL > NUL
echo Disable "Java Quick Starter"
"%ProgramFiles%\Java\jre6\bin\jqs.exe" -unregister
Before running msiexec calls...
I'll test the output redirections to see if there is an improvement, and then add the taskkill.
I'll finally understand what's happenning ;-)
Thanks.
--
Daniel Dehennin
RAIP de l'Orne
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: uninstall_java.cmd.txt
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20100526/c1f10663/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: uninstall_reader.cmd.txt
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20100526/c1f10663/attachment-0005.txt>
More information about the wpkg-users
mailing list