[wpkg-users] Problem with wmi command on XP SP3

Frank Morawietz nestolea at gmail.com
Mon Feb 15 21:48:45 CET 2016

Hi Alexandre,

> when i type my command as a local administrator it works ….
> I’ll already check all permissions about WMI rights for system user ….

I wonder whether this problem is related to the one we recently
discussed on this list about installing Java 8 on a 64-bit Windows.

I don't know if this is true for Windows XP as well, but you might want
to try the uninstalling with "psexec -s -i" prepended to the actual
command. (Of course, PSExec must be available and it must have been
started manually at least once to accept the license confirmation.)

>> Le 12 févr. 2016 à 20:18, Stefan Pendl <stefan.pendl.71 at gmail.com> a écrit :
>> Am 12.02.2016 um 11:39 schrieb Alexandre MARCHAL:
>>> Hi,
>>> When i try to remove a package with wmic on Windows XP SP3, i have a
>>> nice non-successful command (exit code 5)
>>> On Windows 7 i have no problem ….
>>> ex : <removecmd='wmic product where "name like 'Java 7%%'"
>>> call uninstall'/>
>> Have you checked what the error message is, if you run the command manually from the command prompt?

Frank Morawietz

More information about the wpkg-users mailing list