diff options
Diffstat (limited to 'src/ext/UI/test/WixToolsetTest.UI/TestData/InstallDir_NoLicense')
| -rw-r--r-- | src/ext/UI/test/WixToolsetTest.UI/TestData/InstallDir_NoLicense/Package.wxs | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/src/ext/UI/test/WixToolsetTest.UI/TestData/InstallDir_NoLicense/Package.wxs b/src/ext/UI/test/WixToolsetTest.UI/TestData/InstallDir_NoLicense/Package.wxs new file mode 100644 index 00000000..86b7453e --- /dev/null +++ b/src/ext/UI/test/WixToolsetTest.UI/TestData/InstallDir_NoLicense/Package.wxs | |||
| @@ -0,0 +1,82 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui"> | ||
| 2 | <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a" InstallerVersion="200"> | ||
| 3 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | ||
| 4 | |||
| 5 | <Feature Id="ProductFeature" Title="MsiPackage"> | ||
| 6 | <ComponentGroupRef Id="ProductComponents" /> | ||
| 7 | </Feature> | ||
| 8 | |||
| 9 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
| 10 | <Component> | ||
| 11 | <File Source="example.txt" /> | ||
| 12 | </Component> | ||
| 13 | </ComponentGroup> | ||
| 14 | |||
| 15 | <ui:WixUI Id="InstallDir_NoLicense" InstallDirectory="INSTALLFOLDER" /> | ||
| 16 | </Package> | ||
| 17 | |||
| 18 | <Fragment> | ||
| 19 | <StandardDirectory Id="ProgramFilesFolder"> | ||
| 20 | <Directory Id="INSTALLFOLDER" Name="MsiPackage" /> | ||
| 21 | </StandardDirectory> | ||
| 22 | </Fragment> | ||
| 23 | |||
| 24 | <?foreach WIXUIARCH in X86;X64;A64 ?> | ||
| 25 | <Fragment> | ||
| 26 | <UI Id="InstallDir_NoLicense_$(WIXUIARCH)"> | ||
| 27 | <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath_$(WIXUIARCH)" Order="3" Condition="NOT WIXUI_DONTVALIDATEPATH" /> | ||
| 28 | <Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath_$(WIXUIARCH)" Order="2" Condition="NOT WIXUI_DONTVALIDATEPATH" /> | ||
| 29 | </UI> | ||
| 30 | |||
| 31 | <UIRef Id="InstallDir_NoLicense" /> | ||
| 32 | </Fragment> | ||
| 33 | <?endforeach?> | ||
| 34 | |||
| 35 | <Fragment> | ||
| 36 | <UI Id="file InstallDir_NoLicense"> | ||
| 37 | <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" /> | ||
| 38 | <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" /> | ||
| 39 | <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" /> | ||
| 40 | |||
| 41 | <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" /> | ||
| 42 | |||
| 43 | <DialogRef Id="BrowseDlg" /> | ||
| 44 | <DialogRef Id="DiskCostDlg" /> | ||
| 45 | <DialogRef Id="ErrorDlg" /> | ||
| 46 | <DialogRef Id="FatalError" /> | ||
| 47 | <DialogRef Id="FilesInUse" /> | ||
| 48 | <DialogRef Id="MsiRMFilesInUse" /> | ||
| 49 | <DialogRef Id="PrepareDlg" /> | ||
| 50 | <DialogRef Id="ProgressDlg" /> | ||
| 51 | <DialogRef Id="ResumeDlg" /> | ||
| 52 | <DialogRef Id="UserExit" /> | ||
| 53 | |||
| 54 | <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4" Condition="NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"" /> | ||
| 55 | |||
| 56 | <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999" /> | ||
| 57 | |||
| 58 | <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg" Condition="NOT Installed" /> | ||
| 59 | <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Condition="Installed AND PATCH" /> | ||
| 60 | |||
| 61 | <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" /> | ||
| 62 | <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1" /> | ||
| 63 | <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3" Condition="NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"" /> | ||
| 64 | <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4" Condition="WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"" /> | ||
| 65 | <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1" /> | ||
| 66 | <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2" /> | ||
| 67 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1" Condition="NOT Installed" /> | ||
| 68 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2" Condition="Installed AND NOT PATCH" /> | ||
| 69 | <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2" Condition="Installed AND PATCH" /> | ||
| 70 | |||
| 71 | <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg" /> | ||
| 72 | |||
| 73 | <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg" /> | ||
| 74 | <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg" /> | ||
| 75 | <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg" /> | ||
| 76 | |||
| 77 | <Property Id="ARPNOMODIFY" Value="1" /> | ||
| 78 | </UI> | ||
| 79 | |||
| 80 | <UIRef Id="WixUI_Common" /> | ||
| 81 | </Fragment> | ||
| 82 | </Wix> | ||
