Hello,

I have been trying to add a custom dialog to my setup process and nothing seems 
to be working. For a little while I could get to my dialog though a back button 
but in my tinkering trying to get this to work I guess I lost that too.

Here is my current attempt:

        <UIRef Id="WixUI_ErrorProgressText"/>
        <UIRef Id="WixUI_Mondo" />
        <UI Id="MyWixUI_Mondo">
            <Publish Dialog="LicenseAgreementDlg" Control="Next" 
Event="NewDialog" Value="TraceFileDlg">LicenseAccepted = "1"</Publish>
            <Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog" 
Value="TraceFileDlg">1</Publish>

            <Dialog Id="TraceFileDlg" Width="370" Height="270" 
Title="[ProductName] [Setup]" NoMinimize="yes">
                <Control Id="Text" Type="Text" X="25" Y="80" Width="320" 
Height="10" TabSkip="no">
                    <Text>&amp;Enter a new location and filename for the log 
file.</Text>
                </Control>
                <Control Id="PathEdit" Type="PathEdit" X="25" Y="93" 
Width="320" Height="18" Property="TraceFile" />
                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="&amp;Back">
                    <Publish Event="NewDialog" 
Value="LicenseAgreementDlg">1</Publish>
                </Control>
                <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="&amp;Next">
                  <Publish Event="NewDialog" 
Value="SetupTypeDlg">TraceFile</Publish>
                </Control>
                <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="374" 
Height="0" />
                <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="374" 
Height="0" />
                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" 
Height="15" Transparent="yes" NoPrefix="yes">
                    <Text>{\WixUI_Font_Title}Log file Location</Text>
                </Control>
                <Control Id="Description" Type="Text" X="25" Y="20" Width="280" 
Height="20" Transparent="yes" NoPrefix="yes">
                    <Text>Please specify a location for the log file for 
[ProductName].</Text>
                </Control>
            </Dialog>
        </UI>

The dialog  TraceFileDlg is not added to the chain of events for the user. At 
one point when I pressed the back button from the SetupTypeDlg I could see my 
dialog and it behaved as expected - but now even that has gone. So it would 
seem that the Publish overrides are not correct. But they are consistent with 
examples (and believe me I have tried more than a few variants from the 
tutorial and other examples).

Any help on this or farther example (I have gone though the tutorial 
(www.tramontana.co.hu/wix<http://www.tramontana.co.hu/wix>) and found someone 
else's code at (http://www.geekproject.com/showtopic.aspx?ID=94) neither of 
which has turned out to be much help as they basically show the same process 
which does not work. My WiX version is:  wix3.0.5419

Nicholas
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to