The very first step of my installation is a LaunchExeWithDirectory custom action which checks for a license on the machine. This is accomplished with temp files that are copied to the temp folder. It works great.
Frequently a reboot is required as part of the installation. After the reboot, the installer resumes, the custom action runs again, and the temporary files are no longer there.
When are the temporary files removed? Is there any way to alter that?