MulgraveTester
9 years agoFrequent Contributor
Identify if product is installed
My tested program now comes in 3 variants so I need to load different data depending on the variant of the product installed. Only one variant can be installed at a time, so I want to see which vari...
- 9 years ago
Is it a 64 bit machine? (And a 64 bit install you're searching for)
Just wondering if:
("Select * from Win32_Product")
... is not catching a 64 bit installs?
Here's an alternative from MS that uses the registry.
https://gallery.technet.microsoft.com/scriptcenter/8035d5a9-dc92-436d-a60c-67d381da15a3