tomas.maruska
Posts: 38
Joined: Fri Jul 19, 2013 11:49 am

Keyboard shortcuts handling

Hi guys,

I want to open some kind of installation guide when user hit 'F1' key, basically on every installation page. Opening document should goes through custom action, to consider language version of guide and other rules.

Is something like this even possible? Can I handle keyboard shortcut somehow?

I'm using AI v11.6.3, setup has classic theme.

Best regards,

Tomas Maruska
gamanet.com
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Keyboard shortcuts handling

Hi Tomas,

I'm afraid you cannot interact with the installer through a keyboard pressed key event.

However, you can implement your scenario using the published events mechanism. In your case, you can have a Help pushbutton control on each dialog. When the control will be pressed, a custom action will be fired that will launch the help file. For details, please take a look on the How do I execute a custom action when a button is pushed? article which may be useful to you.

Also, the help files needs to be added as temporary files. Temporary Files are copied on the target machine at the beginning of the installation and are deleted at the end of it, ensuring you have access to them throughout the entire install process.

In order to launch the help file, you can use the predefined launch File custom action.
Since you are creating a multilanguage installation package, you can condition the execution of each custom action through the ProductLanguage property.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tomas.maruska
Posts: 38
Joined: Fri Jul 19, 2013 11:49 am

Re: Keyboard shortcuts handling

Hi Dan,

First of all, thanks for quick reply.

I'm already using buttons to show Installation Guide. We have pdf file on installation medium, so I find it and open it using custom action. This already works. I was just wondering, whether I can handle keyboard shortcut somehow.

Thank you anyway.

Regards,

Tomas Maruska
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Keyboard shortcuts handling

You're welcome Tomas,

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”