Show a hint if file assoc is missing - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Christian0815
Posts: 10
Joined: Fri Jul 16, 2010 12:42 pm

Show a hint if file assoc is missing

Hi there,

I did not find any topic covering my problem, so here's my question:

Is it possible to let Advanced Installer output a "warning dialog" if there is a certain filetype on the target system NOT associated with any application? That warning should be acknowledged by the user by pressing the "OK" (or whatever) button, but it should not cancel the whole setup, like the "launch conditions" unfortunately do.
Background: Since our application outputs PDF-docs, there should be a PDF-viewer on the target system. We would like to inform the user if it is missing, but the setup should continue anyway.
Many thanks in advance for your support.

regards,
Christian keck
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Show a hint if file assoc is missing

Hello Christian,

You can use a Message Box predefined custom action to display the warning. It will not cancel the installation. Use a Search to check the existence of the registry key associated with the file association. If the search fails, display a Message Box.

Our user guide explains terms used in my explanation. It also contains tutorials on how to display a message box, how to condition a custom action and how to do a search.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”