How do I conditionally show the "StartMenuShortcutsDlg" dialog?Answer
When you use the "ShortcutsDlg" dialog it is also a good idea to let the user choose the folder in which he wants to install the Start menu shortcuts. For this you can use the "StartMenuShortcutsDlg" dialog. However, it should not be shown if the user doesn't want to create a Start menu shortcut. For this you can use control events:
NewDialog VerifyReadyDlg AI_INSTALL AND NOT AI_STARTMENU_SH
NewDialog StartMenuShortcutsDlg AI_INSTALL AND AI_STARTMENU_SH
NewDialog ShortcutsDlg AI_INSTALL AND NOT AI_STARTMENU_SH
NewDialog StartMenuShortcutsDlg AI_INSTALL AND AI_STARTMENU_SHThis way the "StartMenuShortcutsDlg" dialog is shown only if the "Start Menu Programs folder" option is checked on the "ShortcutsDlg" dialog. | |
|
| Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer | ||
| © 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved. | ||