-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a IUIBA edge-case test and clean up a bit.
- Loading branch information
Showing
4 changed files
with
120 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...WixToolsetTest.BootstrapperApplications/TestData/WixIuiBa/CanForceCachePrimaryPackage.wxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" | ||
xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
<Bundle Name="WixIuiBa" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="{1CD73801-0B08-4B39-B371-00DA49EF715F}"> | ||
<BootstrapperApplication> | ||
<Payload SourceFile="preqs.wxl" /> | ||
<bal:WixInternalUIBootstrapperApplication LocalizationFile="preqs.wxl" /> | ||
</BootstrapperApplication> | ||
<Chain> | ||
<ExePackage Permanent="yes" DetectCondition="none" SourceFile="runtimes\win-x86\native\wixnative.exe" /> | ||
<MsiPackage SourceFile="test.msi" Cache="force" /> | ||
</Chain> | ||
</Bundle> | ||
</Wix> |
38 changes: 38 additions & 0 deletions
38
src/ext/Bal/test/WixToolsetTest.BootstrapperApplications/TestData/WixStdBa/Data/preqs.wxl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!-- 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. --> | ||
|
||
|
||
<WixLocalization Culture="en-us" Language="1033" xmlns="http://wixtoolset.org/schemas/v4/wxl"> | ||
<String Id="Caption" Value="[WixBundleName] Prerequisites Setup" /> | ||
<String Id="Title" Value="Prerequisites required for [WixBundleName] setup" /> | ||
<String Id="NonPrereqTitle" Value="[WixBundleName] setup" /> | ||
<String Id="ConfirmCancelMessage" Value="Are you sure you want to cancel?" /> | ||
<String Id="HelpHeader" Value="Setup Help" /> | ||
<String Id="HelpText" Value="/passive | /quiet - displays minimal UI with no prompts or displays no UI and
 no prompts. By default UI and all prompts are displayed.

/norestart - suppress any attempts to restart. By default UI will prompt before restart.
/log log.txt - logs to a specific file. By default a log file is created in %TEMP%." /> | ||
<String Id="HelpCloseButton" Value="&Close" /> | ||
<String Id="InstallLicenseTerms" Value="Click the "Install" button to accept the prerequisite <a href="#">license terms</a>." /> | ||
<String Id="InstallAcceptAndInstallButton" Value="&Install" /> | ||
<String Id="InstallDeclineButton" Value="&Decline" /> | ||
<String Id="ProgressHeader" Value="Setup Progress" /> | ||
<String Id="ProgressLabel" Value="Processing:" /> | ||
<String Id="ProgressCancelButton" Value="&Cancel" /> | ||
<String Id="SuccessHeader" Value="Prerequisite Setup Successful" /> | ||
<String Id="SuccessLayoutHeader" Value="Layout Successfully Completed" /> | ||
<String Id="SuccessRestartText" Value="You must restart your computer before [WixBundleName] setup can continue." /> | ||
<String Id="SuccessRestartButton" Value="&Restart" /> | ||
<String Id="SuccessCloseButton" Value="&Close" /> | ||
<String Id="FailureHeader" Value="Setup Failed" /> | ||
<String Id="FailureLayoutHeader" Value="Layout Failed" /> | ||
<String Id="FailureLogLinkText" Value="One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the <a href="#">log file</a>." /> | ||
<String Id="FailureRestartText" Value="You must restart your computer to complete the rollback of the software." /> | ||
<String Id="FailureRestartButton" Value="&Restart" /> | ||
<String Id="FailureCloseButton" Value="&Close" /> | ||
<String Id="PREREQBAINFINITELOOPErrorMessage" Value="[WixBundleName] failed to start even though all of the prerequisites are installed." /> | ||
<String Id="FilesInUseTitle" Value="Files In Use" /> | ||
<String Id="FilesInUseLabel" Value="The following applications are using files that need to be updated:" /> | ||
<String Id="FilesInUseNetfxCloseRadioButton" Value="Close the &applications." /> | ||
<String Id="FilesInUseCloseRadioButton" Value="Close the &applications and attempt to restart them." /> | ||
<String Id="FilesInUseDontCloseRadioButton" Value="&Do not close applications. A reboot will be required." /> | ||
<String Id="FilesInUseRetryButton" Value="&Retry" /> | ||
<String Id="FilesInUseIgnoreButton" Value="&Ignore" /> | ||
<String Id="FilesInUseExitButton" Value="E&xit" /> | ||
</WixLocalization> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters