D
Dimitri Meeuws
I have a problem with returning all products on my system. I 've wrote a
inventory script (in vbscript) to retrieve all software on my system. It
works fine untill I've found that one package was not returned and it was
actually on the system. I've run the script on the system manually (under
the account that has installed this product) and the script returns the
package, but when I've run the script under another admin account, it does
not return the package.
So, I think the Win32_Product returns only the packages that where installed
under "ALLUSERS" mode and the packages that where installed under the user
that runs the script. And NOT the packages that where installed by another
user NOT in "ALLUSERS" mode ("Just Me" selected while installing).
My question is: Is there a possibillity to return ALL Software packages on
the system, so all packages that where installed (under any useraccount)?
Thanks
Dimitri Meeuws
HP Belgium
inventory script (in vbscript) to retrieve all software on my system. It
works fine untill I've found that one package was not returned and it was
actually on the system. I've run the script on the system manually (under
the account that has installed this product) and the script returns the
package, but when I've run the script under another admin account, it does
not return the package.
So, I think the Win32_Product returns only the packages that where installed
under "ALLUSERS" mode and the packages that where installed under the user
that runs the script. And NOT the packages that where installed by another
user NOT in "ALLUSERS" mode ("Just Me" selected while installing).
My question is: Is there a possibillity to return ALL Software packages on
the system, so all packages that where installed (under any useraccount)?
Thanks
Dimitri Meeuws
HP Belgium