How do I conditionally show the "UpgradeDlg" dialog?Answer
When using side by side installation packages, you can add the "UpgradeDlg" dialog in the Dialogs page. This dialog allows the user to choose if the old versions of the installation package will be removed or the current version will be installed side by side with them. Since the installation package can also be installed on a clean machine (there is no older version present), this dialog should be shown only if an older version of the installation package is found. For this, you can follow these steps:
The control events for the "Next" button on "WelcomeDlg" should look like this: NewDialog FolderDlg AI_INSTALL AND NOT OLDPRODUCTS NewDialog UpgradeDlg AI_INSTALL AND OLDPRODUCTS The control events for the "Back" button on "FolderDlg" should look like this: NewDialog WelcomeDlg AI_INSTALL AND NOT OLDPRODUCTS NewDialog UpgradeDlg AI_INSTALL AND OLDPRODUCTS | |
|
| Privacy Policy | Windows Installer | Search Engine Ranking | Link Analyzer | ||
| © 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved. | ||