The MSI stores the installation directory for the future uninstall tasks.
Using the INSTALLPROPERTY_INSTALLLOCATION
property (that is "InstallLocation"
) works only the installer has set the ARPINSTALLLOCATION
property during the installation. But this property is optional and almost nobody uses it.
How could I retrieve the installation directory?