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