%CommonProgramFiles(x86)%
seems to be C:\Program Files (x86)\Common Files
. CommonFilesDir (x86)
under the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
CommonFilesDir
under HKEY_LOCAL_MACHINE\SOFTWARE\WOW643Node\Microsoft\Windows\CurrentVersion
System.Environment+SpecialFolder
.