PlexExitDialog.wxs 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) Microsoft Corporation. All rights reserved.
  4. The use and distribution terms for this software are covered by the
  5. Common Public License 1.0 (http://opensource.org/licenses/cpl1.0.php)
  6. which can be found in the file CPL.TXT at the root of this distribution.
  7. By using this software in any fashion, you are agreeing to be bound by
  8. the terms of this license.
  9. You must not remove this notice, or any other, from this software.
  10. -->
  11. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  12. <Fragment>
  13. <UI>
  14. <Dialog Id="PlexExitDialog" Width="370" Height="270" Title="!(loc.ExitDialog_Title)">
  15. <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUIFinish)" />
  16. <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUICancel)" />
  17. <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="!(loc.ExitDialogBitmap)" />
  18. <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
  19. <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
  20. <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="40" Transparent="yes" NoPrefix="yes" Text="!(loc.ExitDialogDescription)" />
  21. <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.ExitDialogTitle)" />
  22. <Control Id="OptionalText" Type="Text" X="135" Y="110" Width="220" Height="80" Transparent="yes" NoPrefix="yes" Hidden="yes" Text="[WIXUI_EXITDIALOGOPTIONALTEXT]">
  23. <Condition Action="show">WIXUI_EXITDIALOGOPTIONALTEXT AND NOT Installed</Condition>
  24. </Control>
  25. <!--Control Id="OptionalCheckBox" Type="CheckBox" X="135" Y="190" Width="220" Height="40" Hidden="yes" Property="WIXUI_EXITDIALOGOPTIONALCHECKBOX" CheckBoxValue="1" Text="[WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT]">
  26. <Condition Action="show">WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT AND NOT Installed</Condition>
  27. </Control-->
  28. <Control Id="LaunchCheckBox" Type="CheckBox" X="10" Y="243" Width="170" Height="17" Property="LAUNCHAPPONEXIT" Hidden="yes" CheckBoxValue="1" Text="!(loc.LaunchApplication)">
  29. <Condition Action="show">NOT Installed</Condition>
  30. </Control>
  31. </Dialog>
  32. <InstallUISequence>
  33. <Show Dialog="PlexExitDialog" OnExit="success" Overridable="yes" />
  34. </InstallUISequence>
  35. <AdminUISequence>
  36. <Show Dialog="PlexExitDialog" OnExit="success" Overridable="yes" />
  37. </AdminUISequence>
  38. </UI>
  39. </Fragment>
  40. </Wix>