robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Luis Callefeat(install): mention standard paths, XDG vars in Windows installer #2910161025c9e7a

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