Hello,
I added the check box to launch the app (URL) on the Finish dialog:
This is in the PRODUCT.WXS, however I want to remove it from the Finish
dialog in the MSI and add the Launch button in Burn 3.7 (I install our
Server MSI, then install our Services MSI, the check box is in the first
MSI, if you launch the URL the web admin page will give an error since the
services haven't been installed yet... so moving it to the Setup complete
dialog in burn makes more sense :)

However if I remove 6 lines for the check box I need to click twice on my
custom dialogs to move to next dialog....

<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
    <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch TITUS
Web Administration now..." />
    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
    <UIRef Id="WixUI_ErrorProgressText"/>
    <UI Id="WixUI_InstallDir">
      <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="WebSiteCredsDlg"/>
      <DialogRef Id="GenericErrorDlg"/>
      <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="ExitDialog" Control="Finish" Event="DoAction"
Value="CA_LaunchWebSite">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT
Installed</Publish>

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

      <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog"
Value="WelcomeDlg">1</Publish>
      <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog"
Value="SQLServerConnectionDlg">LicenseAccepted = "1"</Publish>

      <Publish Dialog="SQLServerConnectionDlg" Control="Back"
Event="NewDialog" Value="LicenseAgreementDlg">NOT Installed</Publish>
      <Publish Dialog="SQLServerConnectionDlg" Control="Next"
Event="NewDialog" Value="SQLServerInfoDlg">DATABASE_CREATE_SCHEMA = "1" and
DATABASE_TEST_CONNECTION = "1" 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="WebSiteCredsDlg">WINDOWSPORT_TEST_CONNECTION = "1" and
WINDOWSLOGON_TEST_CONNECTION = "1" and NOT Installed</Publish>

      <Publish Dialog="WebSiteCredsDlg" Control="Back" Event="NewDialog"
Value="IISWebSiteInfoDlg">NOT Installed</Publish>
      <Publish Dialog="WebSiteCredsDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg">WEBAPPLOGON_TEST_CONNECTION = "1" and NOT
Installed</Publish>

      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="WebSiteCredsDlg" 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="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" />

custom action is:

    
    <Property Id="WixShellExecTarget"
Value="http://localhost:[WEB_SITE_PORT]/"; />
    <CustomAction Id="CA_LaunchWebSite" BinaryKey="WixCA"
DllEntry="WixShellExec" Impersonate="yes" />


*******
Now if I comment out these lines below it takes 2 mouse clicks on Next to go
to the next dialog????
    <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
    <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch TITUS
Web Administration now..." />

      <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog"
Value="Return" Order="999">1</Publish>
      <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction"
Value="CA_LaunchWebSite">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT
Installed</Publish>

    
    <Property Id="WixShellExecTarget"
Value="http://localhost:[WEB_SITE_PORT]/"; />
    <CustomAction Id="CA_LaunchWebSite" BinaryKey="WixCA"
DllEntry="WixShellExec" Impersonate="yes" />


any idea why??

thanks,

Steve




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Weird-UI-happening-in-MSI-when-I-remove-the-checkbox-element-on-Finish-dialog-tp7583123.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to