Hi Phil,
If I add a checkbox to ExitDlg, it appears on the ExitDlg for Install, Maintenance, Patch, Resume modes. How do I make it appear only on Maintenance mode and not on the other run types?
Please note that the User Guide contains the
Show a custom ExitDialog for Maintenance how-to which may help you.
If I wish to replace ExitDlg for Install/Maint with my own different dialogs, I am unable to delete ExitDlg. How can I do this?
I'm afraid that "ExitDialog" is mandatory and it cannot be removed.
If I want to call a custom action based on the checkbox result, I create the checkbox on the dialog, but then if I try to create a DoAction control event the Argument field dropdown box is empty and the OK button is greyed out so it cannot be saved.
Please note that a DoAction control event can use only "UI Custom Actions". A custom action scheduled under "InstallUISequence" or "InstallExecuteSequence" cannot be used by a control event. Please note that the User Guide contains the
Execute custom action on button push how-to which may help you.
I need to set that property when the checkbox is checked. Is that the correct way to associate a Custom Action with a dialog property?
Note that the
checkbox is associated with an installer property, set in the "Property Name" field in the "Properties" pane. Therefore, you can use the property of the checkbox to condition the custom action. If the checkbox is checked, its property will be set to the string specified in the "Value" field on the "Properties" pane. If the checkbox is not checked, its property will be empty.
I would like to add a checkbox to the Repair and Remove dialogs accessed from MaintenanceTypeDlg. According to MaintenanceTypeDlg Published Events these are called VerifyRepairDlg and VerifyRemoveDlg, however I can't find them in the Dialogs list to edit them. Is it possible to edit these dialogs?
Yes, these dialogs are under the "MaintenanceTypeDlg" dialog. In order to show them you can click the "+" sign next to it.
If I add a checkbox to MaintenanceTypeDlg when I run the install I am unable to check/uncheck it. Is this intentional?
No, the checkbox should be functional. Is the "Enabled" attribute set to "True" in the "Properties" page?
This is what I am trying to display in the Maintenance mode sequence:
PrepareDlg
MaintenanceWelcomeDlg
MaintenanceTypeDlg
ProgressDlg
CleanUserDataDlg (my custom dialog displaying checkbox to call a Custom Action)
ExitDialog
Please note that a custom dialog cannot be added after "ProgressDlg".
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging