WixUI_CustomInstallDir.wxs 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. <!--
  4. First-time install dialog sequence:
  5. - WixUI_WelcomeDlg
  6. - WixUI_LicenseAgreementDlg
  7. - WixUI_InstallDirDlg
  8. - WixUI_VerifyReadyDlg
  9. - WixUI_DiskCostDlg
  10. Maintenance dialog sequence:
  11. - WixUI_MaintenanceWelcomeDlg
  12. - WixUI_MaintenanceTypeDlg
  13. - WixUI_InstallDirDlg
  14. - WixUI_VerifyReadyDlg
  15. Patch dialog sequence:
  16. - WixUI_WelcomeDlg
  17. - WixUI_VerifyReadyDlg
  18. -->
  19. <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  20. <Fragment>
  21. <UI Id="WixUI_CustomInstallDir">
  22. <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
  23. <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
  24. <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
  25. <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
  26. <Property Id="WixUI_Mode" Value="InstallDir" />
  27. <DialogRef Id="BrowseDlg" />
  28. <DialogRef Id="DiskCostDlg" />
  29. <DialogRef Id="ErrorDlg" />
  30. <DialogRef Id="FatalError" />
  31. <DialogRef Id="FilesInUse" />
  32. <DialogRef Id="MsiRMFilesInUse" />
  33. <DialogRef Id="PrepareDlg" />
  34. <DialogRef Id="ProgressDlg" />
  35. <DialogRef Id="ResumeDlg" />
  36. <DialogRef Id="UserExit" />
  37. <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
  38. <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
  39. <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
  40. <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg">NOT Installed</Publish>
  41. <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed AND PATCH</Publish>
  42. <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
  43. <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="CustomInstallDirDlg">LicenseAccepted = "1"</Publish>
  44. <Publish Dialog="CustomInstallDirDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
  45. <Publish Dialog="CustomInstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
  46. <Publish Dialog="CustomInstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
  47. <Publish Dialog="CustomInstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
  48. <Publish Dialog="CustomInstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
  49. <Publish Dialog="CustomInstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
  50. <Publish Dialog="CustomInstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
  51. <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomInstallDirDlg" Order="1">NOT Installed</Publish>
  52. <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed AND NOT PATCH</Publish>
  53. <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">Installed AND PATCH</Publish>
  54. <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
  55. <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
  56. <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
  57. <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
  58. <Property Id="ARPNOMODIFY" Value="1" />
  59. </UI>
  60. <UIRef Id="WixUI_Common" />
  61. </Fragment>
  62. </Wix>