Is it possible to use a specific CommonUi dialog more than once ?

Jan 3, 2011 at 7:55 PM

Hi,

We need to deploy two databases in our MSI and need to collect the db connection information from the user for both databases.  

We would like to utilize DbCreateCredDlg dialog. 

<UI>

....

<DialogRef Id="DbCreateCredDlg" />

<!- use DbCreateCredDlg for database 1 ->

<!- use DbCreateCredDlg for database 2 ->

...

</UI>

Is there any way I can use the this dialog more than once in the same MSI? 

Thanks 

 

Coordinator
Jan 3, 2011 at 9:50 PM

Probably yes, but I've never tried. Define your sequence of dialogs that uses the same dialog twice and copy the values that come out of those dialogs on publish events (before and after the dialog). Post what you come up with and we'll help you if you run into specific problems.