The docs I'm talking about are part of the v3  (Version 3.0.2925.0) install, 
kind of bleeding edge, if you can call 4 months old bleeding edge :).

If you look in the chm it's in "WiX Help->Authoring->Using the WixUI dialog 
library", if you look at the source it's in src/chm/html/ 
WixUI_dialog_library.html.

That page seems to imply that (in v3) you can affect dialog sequence without 
having to make your own wixlib. I've also seen brief mentions of this 
functionality on the list, but nothing concrete.

-Ian

From: János Brezniczky [mailto:[EMAIL PROTECTED]
Sent: Friday, September 14, 2007 1:57 AM
To: Ian Sullivan
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Customizing the dialog sequnce with Floating Publish 
events

Hi,

What documentation do you mention? I couldn't manage to find the Publish.Dialog 
attribute, but I would also be interested in this method of overriding the 
default event linking between dialogs. (Thanks for a link if appropriate.)

Otherwise I suppose these Publish nodes should be parented by the control which 
should fire the event, which is not the dialog, but a button in these cases. I 
thought it forces me to the check the source code of the (wixui) lib, and 
sometimes import/recompile them to be able to change their behaviour except for 
the final dialogs (error, success, etc..) or if they take their Value argument 
from a property.
This latter "exception" (quotes mean it is a frequent one) is illustrated here
http://www.tramontana.co.hu/wix/lesson2.php#2.3

I hope I wasn't wrong, and would appreciate other ideas/thoughts on the 
subject..


2007/9/14, Ian Sullivan <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>:

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<mailto: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 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