Take a look at this post of Neil:
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html

-- Yan

-----Original Message-----
From: Tamara Kustarova [mailto:kustar...@fastmq.com] 
Sent: Monday, August 10, 2009 1:43 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to "initialize" dialog

Hi,

I am trying to customize the dialogs in WixUI_FeatureTree and I want to 
add my own dialog after CustomizeDlg. When I run the .msi, just after 
the CustomizeDlg it ends up with error 2829. According to msdn error 
2829 means: Attempt to use an uninitialized dialog.
What does it mean? How can I initialize a dialog?
My code is something like this:

 <Dialog Id="CustomizeDlg" Width="370" Height="270" Title="[ProductName]

[Setup]" NoMinimize="yes" TrackDiskSpace="yes">
        <Control Id="Tree" Type="SelectionTree" X="25" Y="85" 
Width="175" Height="95" Property="_BrowseProperty" Sunken="yes" 
TabSkip="no" Text="Tree of selections" />
       <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="[ButtonText_Next]">
          <Publish Event="NewDialog" Value="MyDlg">1</Publish>
       ....
       ....
 </Dialog>

<Dialog Id="MyDlg" Width="370" Height="270" Title="[ProductName]
[Setup]">
            <Control Id="PathEdit" Type="PathEdit" X="84" Y="202" 
Width="261" Height="18" Property="_BrowseProperty" Indirect="yes" />
             ....
             ....
 </Dialog>

I want MyDlg to be displayed after I click on Next in CustomizeDlg.
What am I doing wrong?

Tamara

------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to