Hello Jason and welcome to our forums,
You can achieve this using a registry search and then set the APPDIR to the value returned from the search.
1. Go to the
"Registry" page and create a registry search location.
For more details you can see our
How to create a Registry Search article.
2. From the
"Custom Actions" page you can add a
"Set installer property" custom action scheduled after
"Searches" action group in the Wizard Dialogs Stage.

- set property.png (178.7 KiB) Viewed 2601 times
If you do not want to allow the user to change the installation path then you can remove the "FolderDlg" dialog from the "Dialogs" page.
Hope this helps! Please let me know if you have any questions.
Best regards,
Liviu
FOLLOW US
Get the latest news in Application Packaging