Solution
While it is possible to deploy files to the temporary directory, these files are deleted after installation is complete.
The below excerpt is from the
latest NI Package Manager manual:
"Package Manager deletes files installed in this folder after the package installation completes. Therefore, use this root only for customExecute paths. Do not use this root with a customExecute that runs the uninstall step."