Classification: Public
I created two custom dialog called TITUS_WelcomeDlg.wxs and Titus_ 
VerifyReadyDlg.wxs

I added it to my product project, then in the UI I did this:
<!-- Set up the UI for the installer -->
    <UIRef Id="WixUI_ServerInstallDir"/>
    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
    <UI Id="WixUI_ServerInstallDir">
      <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="DefaultUIFont" Value="WixUI_Font_Normal" />
      <Property Id="WixUI_Mode" Value="InstallDir" />

      <DialogRef Id="SQLServerConnectionDlg"/>
      <DialogRef Id="SQLServerInfoDlg"/>
      <DialogRef Id="IISWebSiteInfoDlg"/>
      <DialogRef Id="GenericErrorDlg"/>
      <DialogRef Id="Titus_VerifyReadyDlg"/>
      <DialogRef Id="TITUS_WelcomeDlg"/>
      <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="BrowseDlg" Control="OK" Event="DoAction" 
Value="WixUIValidatePath" Order="3">1</Publish>
      <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" 
Value="InvalidDirDlg" 
Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>

      <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" 
Value="Return" Order="999">1</Publish>

      <Publish Dialog="TITUS_WelcomeDlg" Control="Next" Event="NewDialog" 
Value="SQLServerConnectionDlg">NOT Installed</Publish>
      <Publish Dialog="TITUS_WelcomeDlg" Control="Next" Event="NewDialog" 
Value="VerifyReadyDlg">Installed AND PATCH</Publish>

      <Publish Dialog="SQLServerConnectionDlg" Control="Back" Event="NewDialog" 
Value="TITUS_WelcomeDlg">NOT Installed</Publish>
      <Publish Dialog="SQLServerConnectionDlg" Control="Next" Event="NewDialog" 
Value="SQLServerInfoDlg">
        DATABASE_CREATE_SCHEMA = "1" and DATABASE_TEST_CONNECTION = "1" and NOT 
DATABASE_NAME = "" and NOT Installed</Publish>

      <Publish Dialog="SQLServerInfoDlg" Control="Back" Event="NewDialog" 
Value="SQLServerConnectionDlg">NOT Installed</Publish>
      <Publish Dialog="SQLServerInfoDlg" Control="Next" Event="NewDialog" 
Value="IISWebSiteInfoDlg">CREATE_BACKUP_MIGRATE_CHECKBOX = "1" and NOT 
Installed</Publish>
      
      <Publish Dialog="IISWebSiteInfoDlg" Control="Back" Event="NewDialog" 
Value="SQLServerInfoDlg">NOT Installed</Publish>
      <Publish Dialog="IISWebSiteInfoDlg" Control="Next" Event="NewDialog" 
Value="Titus_VerifyReadyDlg">WINDOWSPORT_TEST_CONNECTION = "1" and 
WEBAPPLOGON_TEST_CONNECTION = "1" and NOT Installed</Publish>

      <Publish Dialog="Titus_VerifyReadyDlg" Control="Back" Event="NewDialog" 
Value="IISWebSiteInfoDlg" Order="1">NOT Installed OR WixUI_InstallMode = 
"Change"</Publish>
      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" 
Value="MaintenanceTypeDlg" Order="2">Installed AND NOT PATCH</Publish>
      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" 
Value="TITUS_WelcomeDlg" Order="3">Installed AND PATCH</Publish>
      
      <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" 
Value="MaintenanceTypeDlg">1</Publish>

      <Publish Dialog="MaintenanceTypeDlg" Control="ChangeButton" 
Event="NewDialog" Value="VerifyReadyDlg">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>
    </UI>
    <UIRef Id="WixUI_Common" />


-----Original Message-----
From: ssmsam [mailto:ssmcs...@gmail.com]
Sent: January-27-15 11:40 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Need help to insert custom dialog into the sequence.

Could anyone help me please? I tried with both the approaches without success 
and searched lot over the internet for the same but no luck.

Regards,
Sampat



 
This message has been marked as Public by Steven Ogilvie on January-27-15 
11:49:40 AM.

The above classification labels were added to the message by TITUS Message 
Classification. 
For more information visit www.titus.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to