Hello,
Please keep in mind that Temporary Files are copied during the CostFinalize standard action, at the beginning of the setup and removed during the InstallFinalize standard action. CostFinalize is a standard action which is being part of "Path Resolution" action group. As you can see in the screenshot you have sent me, your dialog (Installation1), takes place before "Paths Resolution" action group and that makes it unable to access the temporary files, in your case, the .PDF file.
In order to achieve what you want, you can create your own dialog and place it after "WelcomeDlg". "WelcomeDlg" appears after "CostFinalize" standard action takes place and, in that way, you will be able to access your temporary files.
Also, please keep in mind that you have to uncheck the "Fail Installation if custom action retuns an error", otherwise your setup will end upon you trying to close the .PDF file, because the file will return an error code different from "0" (which means success) and that will cause the failure of your setup.
For more informations about Standard Actions, you can check our "Windows Installer Standard Actions" article.
Hope this helps!
Regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging