CustomizeCuraDlg.wxs 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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="CustomizeCuraDlg" Width="370" Height="270" Title="!(loc.CustomizeDlg_Title)" TrackDiskSpace="yes">
  7. <Control Id="Tree" Type="SelectionTree" X="25" Y="85" Width="175" Height="95" Property="_BrowseProperty" Sunken="yes" TabSkip="no" Text="!(loc.CustomizeDlgTree)" />
  8. <Control Id="Browse" Type="PushButton" X="294" Y="210" Width="66" Height="17" Text="!(loc.CustomizeDlgBrowse)">
  9. <Publish Event="SelectionBrowse" Value="BrowseDlg">1</Publish>
  10. <Condition Action="hide">Installed</Condition>
  11. <Condition Action="disable">Installed</Condition>
  12. </Control>
  13. <Control Id="Reset" Type="PushButton" X="10" Y="243" Width="81" Height="17" Text="!(loc.CustomizeDlgReset)">
  14. <Publish Event="Reset" Value="0">1</Publish>
  15. <Subscribe Event="SelectionNoItems" Attribute="Enabled" />
  16. </Control>
  17. <Control Id="DiskCost" Type="PushButton" X="91" Y="243" Width="80" Height="17" Text="!(loc.CustomizeDlgDiskCost)">
  18. <Publish Event="SpawnDialog" Value="DiskCostDlg">1</Publish>
  19. <Subscribe Event="SelectionNoItems" Attribute="Enabled" />
  20. </Control>
  21. <Control Id="Back" Type="PushButton" X="192" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" />
  22. <Control Id="Next" Type="PushButton" X="248" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)">
  23. <Subscribe Event="SelectionNoItems" Attribute="Enabled" />
  24. </Control>
  25. <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
  26. <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish>
  27. </Control>
  28. <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.CustomizeDlgBannerBitmap)" />
  29. <Control Id="Text" Type="Text" X="25" Y="55" Width="320" Height="20" Text="!(loc.CustomizeDlgText)" />
  30. <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
  31. <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
  32. <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.CustomizeDlgDescription)" />
  33. <Control Id="Title" Type="Text" X="15" Y="6" Width="210" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.CustomizeDlgTitle)" />
  34. <Control Id="Box" Type="GroupBox" X="210" Y="81" Width="150" Height="88" />
  35. <Control Id="ItemDescription" Type="Text" X="215" Y="90" Width="131" Height="30" Text="!(loc.CustomizeDlgItemDescription)">
  36. <Subscribe Event="SelectionDescription" Attribute="Text" />
  37. </Control>
  38. <Control Id="ItemSize" Type="Text" X="215" Y="140" Width="131" Height="50" Text="!(loc.CustomizeDlgItemSize)">
  39. <Subscribe Event="SelectionSize" Attribute="Text" />
  40. </Control>
  41. <Control Id="UninstallPreviousCheckBox" Type="CheckBox" X="25" Y="190" Width="290" Height="17" Property="PREVIOUS_VERSIONS_INSTALLED" CheckBoxValue="0" Text="Uninstall previous Cura versions." />
  42. <Control Id="Location" Type="Text" X="90" Y="210" Width="200" Height="20" Text="!(loc.CustomizeDlgLocation)">
  43. <Subscribe Event="SelectionPath" Attribute="Text" />
  44. <Subscribe Event="SelectionPathOn" Attribute="Visible" />
  45. <Condition Action="hide">Installed</Condition>
  46. </Control>
  47. <Control Id="LocationLabel" Type="Text" X="25" Y="210" Width="65" Height="10" Text="!(loc.CustomizeDlgLocationLabel)">
  48. <Subscribe Event="SelectionPathOn" Attribute="Visible" />
  49. <Condition Action="hide">Installed</Condition>
  50. </Control>
  51. </Dialog>
  52. </UI>
  53. </Fragment>
  54. </Wix>