I already succeeded many time in defining Published Events for conditional enabled buttons, and conditional NewDialog action (depending of one property).
Nevertheless, I am encountering the following problem: during uninstall, one dialog is stalled, i.e. I can only choose "Cancel", because "Back" and "Next" buttons are not functional.
What I want to do is the following:
- a package containing all data and SQL scripts required,
- install: creates a DB, using "SQLConnectionDlg",
- uninstall: drop DB, using "SQLConnectionDlg" too.
Install works perfectly, but uninstall do not let me able to use "Back" and "Next" buttons.
Uninstall architecture (first level is a dash, second level is '- >', third level is '- > >'. etc.):
- PrepareDlg
- MaintenanceWelcomeDlg
- MaintenanceTypeDlg
- > NewDialog_1 (a custom dialog asking if the user wants to drop the DB)
- > > SQLConnectionDLG
- > > VerifyRemoveDlg
- > VerifyRemoveDlg
- ProgressDlg
- ExitDialog
If I am setting the property "DROP_DB_DROP" to "DropDB" in NewDialog_1, the uninstall process is "stalling" on SQLConnectionDlg. If not, everything works fine.
Let's concentrate to SQLConnectionDlg. I have defined many Published events on the "Back" button, for instance:
Code: Select all
NewDialog
WelcomeDlg
AI_INSTALL
NewDialog
NewDialog_1
REMOVE="ALL"
Could you please tell me if I am taking the good directions or not? Do you have any idea of what I did wrong?
Best regards,
-- Nicolas D.
FOLLOW US
Get the latest news in Application Packaging