The InstallUISequence table is created already for you by any use of the
InstallUISequence element. The WixUIExtension includes that element with
each of its entry and exit dialogs.

You can see it yourself by opening your MSI with Orca.

Wix's ExitDialog is named ExitDlg. If you don't mind the closing and opening
of windows you can have your dialog end by calling "CloseDialog" and insert
it like this:

Under your Product element, either right before or right after your UI
element:
<InstallUISequence>
<Custom Action="MyDialog" Before="ExitDlg"/>
</InstallUISequence>

If you want the smoother transition from ExitDlg including the ability to
move back-and-forth between them, you will need to go to the WiX sources and
copy out the fragment containing ExitDlg into your own sources and modify
that dialog, as has been explained in numerous emails in this list, some
blog posts, and partially in the wix tutorial.

-----Original Message-----
From: Adnan Mian [mailto:miand...@gmail.com] 
Sent: Thursday, October 22, 2009 2:20 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to create window before exit dialog

Thanks again.
Where can i find my InstallUISequence table? Currently i am not using
InstallUISequence Tag and following mentioned code is functioning.
How to find the exact place to make chages? In product.wxs i am just using
this:

<UI>

<UIRef Id="WixUI_Mondo"/>

<DialogRef Id="MyDialog" />

<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog"
Value="MyDialog" Order="2">LicenseAccepted = "1"</Publish>

<Publish Dialog="SetupTypeDlg" Control="Back" Event="NewDialog"
Value="MyDialog">1</Publish>

<UIRef Id="WixUI_ErrorProgressText" />

</UI>
Best Regards
Adnan
2009/10/22 Blair <os...@live.com>

> If you look in your generated InstallUISequence table you will see
> ExitDialog as an "action". If you want MyDialog to appear before it, you
> would either effectively replace ExitDialog in that table with MyDialog
and
> call ExitDialog from your "Next" button, or you would insert your dialog
> Before="ExitDialog" in the InstallUISequence table and close your dialog
> when you click your "Next" button.
>
> -----Original Message-----
> From: Adnan Mian [mailto:miand...@gmail.com]
> Sent: Wednesday, October 21, 2009 9:37 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] How to create window before exit dialog
>
> I have already my own dialog window (MyDialog) which is currently
appearing
> after license agreement dialog. For this i am using following code and it
> is
> functioning.
> <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog"
> Value="MyDialog" Order="2">LicenseAccepted = "1"</Publish>
>
> But now we want to place this own dialog window (MyDialog) after
installing
> and before Exitdialog (launch application) window. or it must appear
before
> ExitDialog after installing.
> How to implement it? Which Dialog id i need Dialog=? , Which Control i
> need?
> Please give the code example to understand it!
>
> Best Regards
> Adnan
>
>
>
> 2009/10/21 Lourens Wepener <lourens.wepe...@avanade.com>
>
> > Hi,
> >
> > If you are using a wix project in Visual Studio, add a reference to the
> > WIXUI dll and add the code in. below is a sample that adds a custom
> dialog
> > called ServiceIdentityDlg.
> >
> >    <UIRef Id="WixUI_Common" />
> >    <UI>
> >      <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
> >      <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
> >      <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
> >      <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9"
> Bold="yes"
> > />
> >      <Property Id="WIXUI_INSTALLDIR" Value="[SET INSTALLLOCATION HERE]"
> />
> >      <Property Id="ARPNOMODIFY" Value="1" />
> >      <Property Id="WixUI_Mode" Value="FeatureTree" />
> >      <DialogRef Id="BrowseDlg" />
> >      <DialogRef Id="DiskCostDlg" />
> >      <DialogRef Id="ErrorDlg" />
> >      <DialogRef Id="FatalError" />
> >      <DialogRef Id="FilesInUse" />
> >      <DialogRef Id="MsiRMFilesInUse" />
> >      <DialogRef Id="PrepareDlg" />
> >      <DialogRef Id="ProgressDlg" />
> >      <DialogRef Id="ResumeDlg" />
> >      <DialogRef Id="UserExit" />
> >      <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog"
> > Value="Return" Order="999">1</Publish>
> >      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog"
> > Value="InstallDirDlg">1</Publish>
> >      <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog"
> > Value="WelcomeDlg">1</Publish>
> >      <Publish Dialog="InstallDirDlg" Control="Next"
Event="SetTargetPath"
> > Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
> >      <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog"
> > Value="ServiceIdentityDlg" Order="2">1</Publish>
> >      <Publish Dialog="InstallDirDlg" Control="ChangeFolder"
> > Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]"
> Order="1">1</Publish>
> >      <Publish Dialog="InstallDirDlg" Control="ChangeFolder"
> > Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
> >      <Publish Dialog="ServiceIdentityDlg" Control="Back"
> Event="NewDialog"
> > Value="InstallDirDlg" Order="1">1</Publish>
> >      <Publish Dialog="ServiceIdentityDlg" Control="Next"
> Event="NewDialog"
> > Value="CustomizeDlg" Order="2">1</Publish>
> >      <Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog"
> > Value="ServiceIdentityDlg" Order="1">Installed</Publish>
> >      <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog"
> > Value="VerifyReadyDlg">1</Publish>
> >      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
> > Value="ServiceIdentityDlg" Order="1">NOT Installed</Publish>
> >      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
> > Value="MaintenanceTypeDlg" Order="2">Installed</Publish>
> >      <Publish Dialog="MaintenanceWelcomeDlg" Control="Next"
> > Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
> >      <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton"
> > Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
> >      <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton"
> > Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
> >      <Publish Dialog="MaintenanceTypeDlg" Control="Back"
> Event="NewDialog"
> > Value="MaintenanceWelcomeDlg">1</Publish>
> >      <Dialog Id="ServiceIdentityDlg" Width="370" Height="270"
> > Title="[ProductName] Service Account">
> >        <Control Id="Title" Type="Text" X="15" Y="6" Width="200"
> Height="15"
> > Transparent="yes" NoPrefix="yes" Text="{\WixUI_Font_Title}Service
Account
> > Information" />
> >        <Control Id="Description" Type="Text" X="25" Y="23" Width="280"
> > Height="24" Transparent="yes" NoPrefix="yes" Text="Enter the text" />
> >        <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="3" Width="370"
> > Height="49" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" />
> >        <Control Id="BannerLine" Type="Line" X="0" Y="52" Width="370"
> > Height="2" />
> >        <Control Id="UserNameLabel" Type="Text" X="20" Y="60" Width="290"
> > Height="13" Text="text" />
> >        <Control Id="UserName" Type="Edit" X="20" Y="72" Width="320"
> > Height="15" Property="USERNAME" Text="47" />
> >        <Control Id="PasswordLabel" Type="Text" X="20" Y="93" Width="290"
> > Height="13" Text="Password:" />
> >        <Control Id="Password" Type="Edit" Password="yes" X="20" Y="105"
> > Width="320" Height="15" Property="PASSWORD" Text="{53}" />
> >        <Control Id="DomainLabel" Type="Text" X="20" Y="126" Width="290"
> > Height="13" Text="Domain:" />
> >        <Control Id="Domain" Type="Edit" X="20" Y="139" Width="320"
> > Height="15" Property="DOMAIN" />
> >        <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370"
> > Height="0" />
> >        <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
> > Height="17" Default="yes" Text="Next" />
> >        <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56"
> > Height="17" Text="Back" />
> >        <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56"
> > Height="17" Cancel="yes" Text="Cancel">
> >          <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
> >        </Control>
> >      </Dialog>
> >    </UI>
> >
> >
> > Hope this helps
> > Regards
> >
> >
> > -----Original Message-----
> > From: danimian [mailto:miand...@gmail.com]
> > Sent: 21 October 2009 10:34
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] How to create window before exit dialog
> >
> >
> > Hello,
> > how can i create a window before ExitDialog window?
> > I want to show my own Dialog window (MyDlg) before ExitDialog window.
> > I am trying this but it is not functioning.
> > <Publish Dialog="SetupTypeDlg" Control="Next" Event="NewDialog"
> > Value="MyDlg">1</Publish>
> > I think, i am missing the right name of Dialog and Control.
> > How to accomplish it?
> >
> > Thanks in advance and Best Regards
> > Adnan
> > --
> > View this message in context:
> >
>
>
http://n2.nabble.com/How-to-create-window-before-exit-dialog-tp3864113p38641
> 13.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> >
> >
> >
>
>
----------------------------------------------------------------------------
> --
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and
stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
>
>
----------------------------------------------------------------------------
> --
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and
stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
----------------------------------------------------------------------------
>  --
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
----------------------------------------------------------------------------
--
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to