Attempting to build a bundle that simply installs a file to the currently logged in user's home directory. Under "Install" I'm using "Install File(s)" and I want to place the file at /Users/<username>/Library/Application Support/Oracle/Java/Deployment/security/exception.sites. So I specified the following path:

"$HOME/Library/Application Support/Oracle/Java/Deployment/security/exception.sites"

It is clear that this process does not understand the standard variable "$HOME" which directs to the currently logged in user's local home directory. On the Windows side we can use variables like "${LocalAppData}" to get to the current user's AppData folder, is there something similar available for the Mac? Maybe the question has to do with exactly how the Install File(s) process works for Mac clients? What command is being run, and by what user? How can I do this properly? Sadly the documentation is not much help.