@@ -24,9 +24,38 @@ Patch dialog sequence:
2424-->
2525
2626<Wix xmlns =" http://schemas.microsoft.com/wix/2006/wi" >
27+ <?include $(sys.CURRENTDIR)\Config.wxi?>
2728 <Fragment >
29+
2830 <UI Id =" WixUI_InstallDir_Custom" >
29- <TextStyle Id =" WixUI_Font_Normal" FaceName =" Tahoma" Size =" 8" />
31+ <Dialog Id =" MyInstallDirDlg" Width =" 370" Height =" 270" Title =" !(loc.InstallDirDlg_Title)" >
32+ <Control Id =" Next" Type =" PushButton" X =" 236" Y =" 243" Width =" 56" Height =" 17" Default =" yes" Text =" !(loc.WixUINext)" />
33+ <Control Id =" Back" Type =" PushButton" X =" 180" Y =" 243" Width =" 56" Height =" 17" Text =" !(loc.WixUIBack)" />
34+ <Control Id =" Cancel" Type =" PushButton" X =" 304" Y =" 243" Width =" 56" Height =" 17" Cancel =" yes" Text =" !(loc.WixUICancel)" >
35+ <Publish Event =" SpawnDialog" Value =" CancelDlg" >1</Publish >
36+ </Control >
37+
38+ <Control Id =" Description" Type =" Text" X =" 25" Y =" 23" Width =" 280" Height =" 15" Transparent =" yes" NoPrefix =" yes" Text =" !(loc.InstallDirDlgDescription)" />
39+ <Control Id =" Title" Type =" Text" X =" 15" Y =" 6" Width =" 200" Height =" 15" Transparent =" yes" NoPrefix =" yes" Text =" !(loc.InstallDirDlgTitle)" />
40+ <Control Id =" BannerBitmap" Type =" Bitmap" X =" 0" Y =" 0" Width =" 370" Height =" 44" TabSkip =" no" Text =" !(loc.InstallDirDlgBannerBitmap)" />
41+ <Control Id =" BannerLine" Type =" Line" X =" 0" Y =" 44" Width =" 370" Height =" 0" />
42+ <Control Id =" BottomLine" Type =" Line" X =" 0" Y =" 234" Width =" 370" Height =" 0" />
43+
44+ <Control Id =" FolderLabel" Type =" Text" X =" 20" Y =" 60" Width =" 290" Height =" 30" NoPrefix =" yes" Text =" !(loc.InstallDirDlgFolderLabel)" />
45+ <Control Id =" Folder" Type =" PathEdit" X =" 20" Y =" 100" Width =" 320" Height =" 18" Property =" WIXUI_INSTALLDIR" Indirect =" yes" />
46+ <Control Id =" ChangeFolder" Type =" PushButton" X =" 20" Y =" 120" Width =" 56" Height =" 17" Text =" !(loc.InstallDirDlgChange)" />
47+
48+ <?if $(var.Win64) = yes ?>
49+ <Control Id =" PathCheckBox" Type =" CheckBox" X =" 20" Y =" 160" Width =" 290" Height =" 17" Property =" PATHSHORTCUT" CheckBoxValue =" 1" Text =" Add dd-dotnet to path" />
50+ <Control Id =" PathLink" Type =" Hyperlink" X =" 20" Y =" 180" Width =" 290" Height =" 20" Property =" DD_DOTNET_LINK" Text =" Learn more about dd-dotnet" >
51+ <Text >
52+ <![CDATA[ <a href="https://docs.datadoghq.com/tracing/troubleshooting/dotnet_diagnostic_tool/">Learn more about dd-dotnet</a>]]>
53+ </Text >
54+ </Control >
55+ <?endif ?>
56+ </Dialog >
57+
58+ <TextStyle Id =" WixUI_Font_Normal" FaceName =" Tahoma" Size =" 8" />
3059 <TextStyle Id =" WixUI_Font_Bigger" FaceName =" Tahoma" Size =" 12" />
3160 <TextStyle Id =" WixUI_Font_Title" FaceName =" Tahoma" Size =" 9" Bold =" yes" />
3261
@@ -57,17 +86,17 @@ Patch dialog sequence:
5786 <Publish Dialog =" WelcomeDlg" Control =" Next" Event =" NewDialog" Value =" VerifyReadyDlg" >Installed AND PATCH</Publish >
5887
5988 <Publish Dialog =" LicenseAgreementDlg" Control =" Back" Event =" NewDialog" Value =" WelcomeDlg" >1</Publish >
60- <Publish Dialog =" LicenseAgreementDlg" Control =" Next" Event =" NewDialog" Value =" InstallDirDlg " >LicenseAccepted = "1"</Publish >
89+ <Publish Dialog =" LicenseAgreementDlg" Control =" Next" Event =" NewDialog" Value =" MyInstallDirDlg " >LicenseAccepted = "1"</Publish >
6190
62- <Publish Dialog =" InstallDirDlg " Control =" Back" Event =" NewDialog" Value =" LicenseAgreementDlg" >1</Publish >
63- <Publish Dialog =" InstallDirDlg " Control =" Next" Event =" SetTargetPath" Value =" [WIXUI_INSTALLDIR]" Order =" 1" >1</Publish >
64- <Publish Dialog =" InstallDirDlg " Control =" Next" Event =" DoAction" Value =" WixUIValidatePath" Order =" 2" >NOT WIXUI_DONTVALIDATEPATH</Publish >
65- <Publish Dialog =" InstallDirDlg " Control =" Next" Event =" SpawnDialog" Value =" InvalidDirDlg" Order =" 3" ><![CDATA[ NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]> </Publish >
66- <Publish Dialog =" InstallDirDlg " Control =" Next" Event =" NewDialog" Value =" VerifyReadyDlg" Order =" 4" >WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish >
67- <Publish Dialog =" InstallDirDlg " Control =" ChangeFolder" Property =" _BrowseProperty" Value =" [WIXUI_INSTALLDIR]" Order =" 1" >1</Publish >
68- <Publish Dialog =" InstallDirDlg " Control =" ChangeFolder" Event =" SpawnDialog" Value =" BrowseDlg" Order =" 2" >1</Publish >
91+ <Publish Dialog =" MyInstallDirDlg " Control =" Back" Event =" NewDialog" Value =" LicenseAgreementDlg" >1</Publish >
92+ <Publish Dialog =" MyInstallDirDlg " Control =" Next" Event =" SetTargetPath" Value =" [WIXUI_INSTALLDIR]" Order =" 1" >1</Publish >
93+ <Publish Dialog =" MyInstallDirDlg " Control =" Next" Event =" DoAction" Value =" WixUIValidatePath" Order =" 2" >NOT WIXUI_DONTVALIDATEPATH</Publish >
94+ <Publish Dialog =" MyInstallDirDlg " Control =" Next" Event =" SpawnDialog" Value =" InvalidDirDlg" Order =" 3" ><![CDATA[ NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]> </Publish >
95+ <Publish Dialog =" MyInstallDirDlg " Control =" Next" Event =" NewDialog" Value =" VerifyReadyDlg" Order =" 4" >WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish >
96+ <Publish Dialog =" MyInstallDirDlg " Control =" ChangeFolder" Property =" _BrowseProperty" Value =" [WIXUI_INSTALLDIR]" Order =" 1" >1</Publish >
97+ <Publish Dialog =" MyInstallDirDlg " Control =" ChangeFolder" Event =" SpawnDialog" Value =" BrowseDlg" Order =" 2" >1</Publish >
6998
70- <Publish Dialog =" VerifyReadyDlg" Control =" Back" Event =" NewDialog" Value =" InstallDirDlg " Order =" 1" >NOT Installed</Publish >
99+ <Publish Dialog =" VerifyReadyDlg" Control =" Back" Event =" NewDialog" Value =" MyInstallDirDlg " Order =" 1" >NOT Installed</Publish >
71100 <Publish Dialog =" VerifyReadyDlg" Control =" Back" Event =" NewDialog" Value =" MaintenanceTypeDlg" Order =" 2" >Installed AND NOT PATCH</Publish >
72101 <Publish Dialog =" VerifyReadyDlg" Control =" Back" Event =" NewDialog" Value =" WelcomeDlg" Order =" 2" >Installed AND PATCH</Publish >
73102
0 commit comments