Thank you for the responses,
Holmgren/Willie,
http://www.wixwiki.com/index.php?title=WixUI_Custom is exactly what I¹ve
been using, but this explains inserting a dialog. Instead I¹m modifying an
existing dialog flow which is defined in the WixUIExtension.dll
So far I haven¹t found a resource that talks about replacing the behavior of
an existing dialog.
Chris,
I¹m not using voltive, so I don¹t know what happens in the background when
UI is generated. But I think I¹m doing what you described in the steps...
Here¹s the UI element based on
http://www.wixwiki.com/index.php?title=WixUI_Custom
So instead of having the following sequence:
MaintenanceWelcomeDialog -> MaintenanceTypeDlg -> WixUI_InstallMode=Remove=1
-> VerifyReadyDlg
New sequnce (Uninstall always on maintenance):
MaintenanceWelcomeDialog -> WixUI_InstallMode=Remove=1 -> VerifyReadyDlg
<UI Id="GUI">
<UIRef Id="WixUI_Common" />
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
...........etc
<DialogRef Id="BrowseDlg" />
..........etc
<!-- list of screens and controls presented to user -->
..........................
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next"
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog"
Value="MaintenanceWelcomeDlg">1</Publish>
<Dialog Id="MaintenanceWelcomeDlg" Width="370" Height="270"
Title="!(loc.MaintenanceWelcomeDlg_Title)">
......................
<!-- custom mod; to enforce the Removal on Minimal UI
installs -->
<Publish Property="WixUI_InstallMode"
Value="Remove">1</Publish>
<!-- end custom data -->
..........................
</Dialog>
</UI>
This gives me the error I described earlier:
[exec] installer.wxs(51): error LGHT0091: Duplicate symbol
'Dialog:MaintenanceWelcomeDlg' found
Alex G.
On 5/21/08 10:51 AM, "Willie Burton" <[EMAIL PROTECTED]> wrote:
> Take a look at the source files:
> http://www.wixwiki.com/index.php?title=UiExtension
>
> You can see a sample of a Custom UI:
> http://www.wixwiki.com/index.php?title=WixUI_Custom
>
>
>
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Alex Goryuk
> Sent: Wednesday, May 21, 2008 10:01 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Custom WiXUI - overriding default dialogs
>
> Hi,
>
> How do you override the dialogs provided in WixUIExtension.dll ? I¹m trying to
> override the default behavior of MaintenanceWelcomeDlg.
> Here are 2 things I¹ve tried:
>
> 1) Inserting a copy of this dialog into the <UI /> sequence causes light¹ to
> display the duplicate dialog name found
> [exec] installer.wxs(51): error LGHT0091: Duplicate symbol
> 'Dialog:MaintenanceWelcomeDlg' found.
> 2) Overriding it with a new custom named dialog name
> ³NewMaintenanceWelcomeDlg², behavior of this causes the new dialog to be
> skipped during uninstall sequnce it goes straight to VerifyReadyDlg
>
> Any thoughts on how to trigger the ³NewMaintenanceWelcomeDlg² instead of
> ³MaintenanceWelcomeDlg² ?
>
> Thanks,
> Alex G.
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users