HI,

I'm trying to see if I can insert a dialog into the WixUI_InstallDir sequence, 
the docs say you can do
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" 
Value="SpecialDlg">1</Publish>
<Publish Dialog="SpecialDlg" Control="Back" Event="NewDialog" 
Value="WelcomeDlg">1</Publish>
<Publish Dialog="SpecialDlg" Control="Next" Event="NewDialog" 
Value="LicenseAgreementDlg">1</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" 
Value="SpecialDlg">1</Publish>
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" 
Value="InstallDirDlg">LicenseAccepted = "1"</Publish>

But aren't really clear about where that should happen.

I tried doing this, but I never see my dialog...
    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
    <UIRef Id="WixUI_InstallDir" />
    <UI>
      <Dialog Id="SpecialDlg" Width="370" Height="270">
        <Control Id="Special_Txt" Type="Text" X="5" Y="20" Width="60" 
Height="18" TabSkip="no">
          <Text>[DialogFont]Hi there!</Text>
        </Control>
        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" 
Height="17" Default="yes" Text="!(loc.WixUINext)" />
        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
      </Dialog>
      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" 
Value="SpecialDlg" Order="1">1</Publish>
      <Publish Dialog="SpecialDlg" Control="Back" Event="NewDialog" 
Value="WelcomeDlg" Order="1">1</Publish>
      <Publish Dialog="SpecialDlg" Control="Next" Event="NewDialog" 
Value="LicenseAgreementDlg" Order="1">1</Publish>
      <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" 
Value="SpecialDlg" Order="1">1</Publish>
    </UI>

Thanks,
-Ian

Ian Sullivan
Software Development Engineer
Microsoft Inc., Windows Live Agents: SDK, Tools, Web Services

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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