Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Add link to PDF in installation step dialogue

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
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lesliehedzg
Posts: 13
Joined: Tue Jul 24, 2018 10:05 pm

Re: Add link to PDF in installation step dialogue

This was the problem, thank you so much!
Catalin
Posts: 7845
Joined: Wed Jun 13, 2018 7:49 am

Re: Add link to PDF in installation step dialogue

You're always welcome!

I am glad you got this working!

Regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”