Dear Alex,
http://www.dizzymonkeydesign
com/blog/misc/adding-and-customizing-dlgs-in-wix-3/ may be a help for you.
It was so for me.

Good luck,

> Date: Wed, 21 May 2008 14:48:44 -0400
> From: Alex Goryuk <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] Custom WiXUI - overriding default dialogs
> To: <wix-users@lists.sourceforge.net>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="ISO-8859-1"
>  
> Exactly!
>  
> That?s why I tried exactly what you said which made the
> CustomMaintenanceWelcomeDlg not show up during uninstall at all. That was
> The second problem I described in the first email.
>  
> So the new sequence on uninstall was:
>   WixUI_InstallMode=Remove=1 -> VerifyReadyDlg -> uninstall....etc
>  
> I?m guessing some action triggers MaintenanceWelcomeDlg, but now it?s not
> Being referenced (since I overrode it with CustomMaintenanceWelcomeDlg ).
> Thus the uninstall process goes straight to the VerifyReadyDlg dialog.
>  
> Alex G.
>  
> On 5/21/08 2:36 PM, "Christopher Karper" <[EMAIL PROTECTED]>
> Wrote:
>  
>> You need to copy the file out that the WixUIExtension is using as source.
 If
>> you download the sources, you can grab it right out.
>>
>> Your error is because you're naming a dialog the same as an existing one.
>> Give it a unique name, then change the "Next" and "Previous" actions to
match
>> what you're expecting.
>>
>> Adding and changing the dialog flow is identical.  If you know how to add
a
>> dialog into the flow, you know how to change it.  It's the same mechanism

>>
>> On Wed, May 21, 2008 at 2:32 PM, Alex Goryuk <[EMAIL PROTECTED]>
wrote:
>>> 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]
>>>> <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
>>>>
>>>>
>>>>
-------------------------------------------------------------------------
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

Reply via email to