eb73a3d35f
Co-authored-by: Michal Niewrzal <michal@storj.io>
130 lines
9.7 KiB
XML
130 lines
9.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Customized to collect user input for storage node config.
|
|
|
|
First-time install dialog sequence:
|
|
- WixUI_WelcomeDlg
|
|
- WixUI_LicenseAgreementDlg
|
|
- InstallDirConfigDlg
|
|
- IdentityDirDlg
|
|
- WalletConfigDlg
|
|
- EmailConfigDlg
|
|
- PublicAddressConfigDlg
|
|
- StorageDirConfigDlg
|
|
- AllocatedStorageConfigDlg
|
|
- AllocatedBandwidthConfigDlg
|
|
- WixUI_VerifyReadyDlg
|
|
|
|
Maintenance dialog sequence:
|
|
- WixUI_MaintenanceWelcomeDlg
|
|
- WixUI_MaintenanceTypeDlg
|
|
- WixUI_InstallDirDlg
|
|
- WixUI_VerifyReadyDlg
|
|
|
|
Patch dialog sequence:
|
|
- WixUI_WelcomeDlg
|
|
- WixUI_VerifyReadyDlg
|
|
-->
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
<Fragment>
|
|
<CustomAction Id="CA.ValidateIdentityDir" BinaryKey="StorjDLL" DllEntry="ValidateIdentityDir" Return="check" />
|
|
<CustomAction Id="CA.ValidateWallet" BinaryKey="StorjDLL" DllEntry="ValidateWallet" Return="check" />
|
|
<CustomAction Id="CA.ValidateStorageDir" BinaryKey="StorjDLL" DllEntry="ValidateStorageDir" Return="check" />
|
|
<CustomAction Id="CA.ValidateStorage" BinaryKey="StorjDLL" DllEntry="ValidateStorage" Return="check" />
|
|
<CustomAction Id="CA.ValidateBandwidth" BinaryKey="StorjDLL" DllEntry="ValidateBandwidth" Return="check" />
|
|
|
|
<UI Id="CustomInstallDir">
|
|
<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="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="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
|
|
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
|
|
|
|
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</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="InstallDirConfigDlg">LicenseAccepted = "1"</Publish>
|
|
|
|
<Publish Dialog="InstallDirConfigDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
|
|
<Publish Dialog="InstallDirConfigDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
|
|
<Publish Dialog="InstallDirConfigDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
|
|
<Publish Dialog="InstallDirConfigDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
|
|
<Publish Dialog="InstallDirConfigDlg" Control="Next" Event="NewDialog" Value="IdentityDirDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
|
|
<Publish Dialog="InstallDirConfigDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
|
|
<Publish Dialog="InstallDirConfigDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
|
|
|
|
<Publish Dialog="IdentityDirDlg" Control="Back" Event="NewDialog" Value="InstallDirConfigDlg" Order="1">1</Publish>
|
|
<Publish Dialog="IdentityDirDlg" Control="Next" Event="DoAction" Value="CA.ValidateIdentityDir" Order="1">1</Publish>
|
|
<Publish Dialog="IdentityDirDlg" Control="Next" Property="ErrorMsg" Value="[STORJ_IDENTITYDIR_VALID]" Order="2">1</Publish>
|
|
<Publish Dialog="IdentityDirDlg" Control="Next" Event="SpawnDialog" Value="ValidationErrorDlg" Order="3"><![CDATA[STORJ_IDENTITYDIR_VALID<>"1"]]></Publish>
|
|
<Publish Dialog="IdentityDirDlg" Control="Next" Event="NewDialog" Value="WalletConfigDlg" Order="4">STORJ_IDENTITYDIR_VALID="1"</Publish>
|
|
<Publish Dialog="IdentityDirDlg" Control="IdentityChangeFolder" Property="_BrowseProperty" Value="[STORJ_IDENTITYDIR]" Order="1">1</Publish>
|
|
<Publish Dialog="IdentityDirDlg" Control="IdentityChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
|
|
|
|
<Publish Dialog="WalletConfigDlg" Control="Back" Event="NewDialog" Value="IdentityDirDlg" Order="1">1</Publish>
|
|
<Publish Dialog="WalletConfigDlg" Control="Next" Event="DoAction" Value="CA.ValidateWallet" Order="1">1</Publish>
|
|
<Publish Dialog="WalletConfigDlg" Control="Next" Property="ErrorMsg" Value="[STORJ_WALLET_VALID]" Order="2">1</Publish>
|
|
<Publish Dialog="WalletConfigDlg" Control="Next" Event="SpawnDialog" Value="ValidationErrorDlg" Order="3"><![CDATA[STORJ_WALLET_VALID<>"1"]]></Publish>
|
|
<Publish Dialog="WalletConfigDlg" Control="Next" Event="NewDialog" Value="EmailConfigDlg" Order="4">STORJ_WALLET_VALID="1"</Publish>
|
|
|
|
<Publish Dialog="EmailConfigDlg" Control="Back" Event="NewDialog" Value="WalletConfigDlg" Order="1">1</Publish>
|
|
<Publish Dialog="EmailConfigDlg" Control="Next" Event="NewDialog" Value="PublicAddressConfigDlg" Order="1">1</Publish>
|
|
|
|
<Publish Dialog="PublicAddressConfigDlg" Control="Back" Event="NewDialog" Value="EmailConfigDlg" Order="1">1</Publish>
|
|
<Publish Dialog="PublicAddressConfigDlg" Control="Next" Event="NewDialog" Value="StorageDirConfigDlg" Order="1">1</Publish>
|
|
|
|
<Publish Dialog="StorageDirConfigDlg" Control="Back" Event="NewDialog" Value="PublicAddressConfigDlg" Order="1">1</Publish>
|
|
<Publish Dialog="StorageDirConfigDlg" Control="Next" Event="DoAction" Value="CA.ValidateStorageDir" Order="1">1</Publish>
|
|
<Publish Dialog="StorageDirConfigDlg" Control="Next" Property="ErrorMsg" Value="[STORJ_STORAGEDIR_VALID]" Order="2">1</Publish>
|
|
<Publish Dialog="StorageDirConfigDlg" Control="Next" Event="SpawnDialog" Value="ValidationErrorDlg" Order="3"><![CDATA[STORJ_STORAGEDIR_VALID<>"1"]]></Publish>
|
|
<Publish Dialog="StorageDirConfigDlg" Control="Next" Event="NewDialog" Value="AllocatedStorageConfigDlg" Order="4">STORJ_STORAGEDIR_VALID="1"</Publish>
|
|
<Publish Dialog="StorageDirConfigDlg" Control="StorageChangeFolder" Property="_BrowseProperty" Value="[STORJ_STORAGEDIR]" Order="1">1</Publish>
|
|
<Publish Dialog="StorageDirConfigDlg" Control="StorageChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
|
|
|
|
<Publish Dialog="AllocatedStorageConfigDlg" Control="Back" Event="NewDialog" Value="StorageDirConfigDlg" Order="1">1</Publish>
|
|
<Publish Dialog="AllocatedStorageConfigDlg" Control="Next" Event="DoAction" Value="CA.ValidateStorage" Order="1">1</Publish>
|
|
<Publish Dialog="AllocatedStorageConfigDlg" Control="Next" Property="ErrorMsg" Value="[STORJ_STORAGE_VALID]" Order="2">1</Publish>
|
|
<Publish Dialog="AllocatedStorageConfigDlg" Control="Next" Event="SpawnDialog" Value="ValidationErrorDlg" Order="3"><![CDATA[STORJ_STORAGE_VALID<>"1"]]></Publish>
|
|
<Publish Dialog="AllocatedStorageConfigDlg" Control="Next" Event="NewDialog" Value="AllocatedBandwidthConfigDlg" Order="4">STORJ_STORAGE_VALID="1"</Publish>
|
|
|
|
<Publish Dialog="AllocatedBandwidthConfigDlg" Control="Back" Event="NewDialog" Value="AllocatedStorageConfigDlg" Order="1">1</Publish>
|
|
<Publish Dialog="AllocatedBandwidthConfigDlg" Control="Next" Event="DoAction" Value="CA.ValidateBandwidth" Order="1">1</Publish>
|
|
<Publish Dialog="AllocatedBandwidthConfigDlg" Control="Next" Property="ErrorMsg" Value="[STORJ_BANDWIDTH_VALID]" Order="2">1</Publish>
|
|
<Publish Dialog="AllocatedBandwidthConfigDlg" Control="Next" Event="SpawnDialog" Value="ValidationErrorDlg" Order="3"><![CDATA[STORJ_BANDWIDTH_VALID<>"1"]]></Publish>
|
|
<Publish Dialog="AllocatedBandwidthConfigDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">STORJ_BANDWIDTH_VALID="1"</Publish>
|
|
|
|
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="AllocatedBandwidthConfigDlg" Order="1">NOT Installed</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="2">Installed AND PATCH</Publish>
|
|
|
|
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
|
|
|
|
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
|
|
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
|
|
|
|
<Property Id="ARPNOMODIFY" Value="1" />
|
|
<Property Id="ARPNOREPAIR" Value="1" />
|
|
</UI>
|
|
|
|
<UIRef Id="WixUI_Common" />
|
|
</Fragment>
|
|
</Wix>
|