KPXC_ExitDlg.wxs 2.1 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
  3. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  4. <Fragment>
  5. <UI>
  6. <Dialog Id="KPXC_ExitDialog" Width="370" Height="270" Title="!(loc.ExitDialog_Title)">
  7. <Control Id="Finish" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUIFinish)" />
  8. <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUICancel)" />
  9. <Control Id="Bitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="234" TabSkip="no" Text="!(loc.ExitDialogBitmap)" />
  10. <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Disabled="yes" Text="!(loc.WixUIBack)" />
  11. <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
  12. <Control Id="Description" Type="Text" X="135" Y="70" Width="220" Height="40" Transparent="yes" NoPrefix="yes" Text="!(loc.ExitDialogDescription)" />
  13. <Control Id="Title" Type="Text" X="135" Y="20" Width="220" Height="60" Transparent="yes" NoPrefix="yes" Text="!(loc.ExitDialogTitle)" />
  14. <!-- Custom Controls for KPXC Installer -->
  15. <Control Id="LaunchCheckBox" Type="CheckBox" X="80" Y="243" Width="100" Height="17" Property="LAUNCHAPPONEXIT" Hidden="yes" CheckBoxValue="1" Text="Launch KeePassXC">
  16. <Condition Action="show">NOT Installed OR WIX_UPGRADE_DETECTED</Condition>
  17. </Control>
  18. </Dialog>
  19. <InstallUISequence>
  20. <Show Dialog="KPXC_ExitDialog" OnExit="success" Overridable="yes" />
  21. </InstallUISequence>
  22. <AdminUISequence>
  23. <Show Dialog="KPXC_ExitDialog" OnExit="success" Overridable="yes" />
  24. </AdminUISequence>
  25. </UI>
  26. </Fragment>
  27. </Wix>