Hi,
Please note that the APPDIR property uses the default value during an uninstall. If you need the installation path during an uninstall process you can try one of these approaches:
1) In the
Registry page create a new value which contains the APPDIR property. During an uninstall you can use a
search to retrieve it from the registry.
2) Use a search to get the installation path from this registry entry:
Code: Select all
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\<ProductCode>\InstallLocation
where you replace "<ProductCode>" with the Product Code of the package. Please note that if the package is installed per-user, you can search in the HKEY_CURRENT_USER hive.
The property of the search will contain the value of the registry entry.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging