mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-11 19:12:31 +02:00
c10bf6cef3
* (Add) cws: Allow change layer PWM value * (Update) Dependency ImageSharp from 1.0.0-rc0002 to 1.0.0-rc0003 (It fix a error on resize function) * (Fix) cws: GCode 0 before G29 * (Fix) Phrozen Sonic Mini: Display Height from 66.04 to 68.04 * (Fix) Zortrax Inkspire: Display and Volume to 74.67x132.88 * (Fix) Layer repair tool allow operation when every repair checkbox is deselected
64 lines
3.2 KiB
XML
64 lines
3.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
<Fragment>
|
|
<UI Id="CustomDlg">
|
|
<Dialog Id="CustomDlg" Height="270" Width="370" Title="[ProductName] Setup">
|
|
|
|
<!-- Header -->
|
|
<Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" Text="WixUI_Bmp_Banner"/>
|
|
<Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Text="{\WixUI_Font_Title}Custom Dialog" Transparent="yes"/>
|
|
<Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Text="Place your custom description here" Transparent="yes"/>
|
|
<Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0"/>
|
|
|
|
<!-- Body -->
|
|
<Control Id="CustomLabel" Type="Text" X="20" Y="60" Width="290" Height="15" Text="Customer:" TabSkip="yes"/>
|
|
<Control Id="Custom" Type="Edit" X="20" Y="80" Width="320" Height="18" Property="CUSTOM"/>
|
|
|
|
|
|
<!-- Footer -->
|
|
<Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0"/>
|
|
<Control Id="Next" Type="PushButton" Text="&Next" TabSkip="no" Default="yes" Height="17" Width="56" X="236" Y="243">
|
|
<Publish Event="NewDialog" Value="CustomizeDlg"/>
|
|
</Control>
|
|
<Control Id="Cancel" Type="PushButton" Text="Cancel" TabSkip="no" Height="17" Width="56" X="304" Y="243" Cancel="yes">
|
|
<Publish Event="SpawnDialog" Value="CancelDlg"/>
|
|
</Control>
|
|
<Control Id="Back" Type="PushButton" Text="&Back" TabSkip="no" Height="17" Width="56" X="180" Y="243">
|
|
<Publish Event="NewDialog" Value="LicenseAgreementDlg"/>
|
|
</Control>
|
|
|
|
</Dialog>
|
|
|
|
<!-- Insert into dialog sequencing by inserting control events on previous and next dialogs-->
|
|
<Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="CustomDlg">1</Publish>
|
|
<Publish Dialog="CustomizeDlg" Control="Back" Event="NewDialog" Value="CustomDlg" Order="3">NOT Installed</Publish>
|
|
|
|
</UI>
|
|
|
|
<!-- Make Property a SecureCustom Property-->
|
|
<Property Id="CUSTOM" Secure="yes"/>
|
|
|
|
<!-- Note: You must author a registry component somewhere in your installer to persist the property for later retrieval
|
|
Example:
|
|
...
|
|
<Component Id='RememberCustom' Guid='{????????-????-????-????-????????????}' KeyPath='yes' Permanent='yes'>
|
|
<RegistryValue Root='HKLM' Key='SOFTWARE\CompanyName\ProductName' Name='Custom' Type='string' Value='[CUSTOM]'/>
|
|
</Component>
|
|
...
|
|
-->
|
|
|
|
<!-- Attempt to retrieve previously persisted property -->
|
|
<Property Id='FINDCUSTOM' Secure='yes'>
|
|
<RegistrySearch Id='CustomerNumber' Root='HKLM'
|
|
Key='SOFTWARE\CompanyName\ProductName'
|
|
Name='Custom' Type='raw' />
|
|
</Property>
|
|
|
|
<!-- Assign default value if retrieval failed -->
|
|
<SetProperty Id='FINDCUSTOM' Value='default value' After='AppSearch' Sequence='first'>Not FINDCUSTOM</SetProperty>
|
|
|
|
<!-- Assign retrieved / defaulted value to actual property if it doesn't already have a value -->
|
|
<SetProperty Id='CUSTOM' Value='[FINDCUSTOM]' After='SetFINDCUSTOM' Sequence='first'>Not CUSTOM</SetProperty>
|
|
|
|
</Fragment>
|
|
</Wix> |