1
Caveats:
With those caveats in mind, well-behaved software will register itself for inclusion in the Add and Remove Programs
or Programs and Features
control panels. So, you can search through the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
section of the registry. This use of reg query
should do it:
reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall /f "compiler" /s
/f
specifies the data to search for. The search is case-insensitive. (Unless you add a /c
switch.)/s
parameter makes the query recursive, so it also queries subkeys. (You probably don't need this for the particular case of the Uninstall key.)/reg:32
switch.Like this:
reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall /f "compiler" /s /reg:32
https://en.wikipedia.org/wiki/WPKG_(software) – spikey_richie – 2019-06-12T13:04:36.770
No, there isn't. PERIOD. Any solution offered will not be like the one you demonstrate above. Many compilers on windows don't even have installs (arm-linaro for example) so no way to know even where the user might have unzipped it. You will need to know what ones you are looking for an have a method to try to identify if it installed. If you are curious about SPECIFIC compilers.. that is another story. – Señor CMasMas – 2019-06-12T15:45:38.237