-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Akinwale Alagbe
committed
Oct 18, 2023
1 parent
5d8b88e
commit 695dbaa
Showing
8 changed files
with
367 additions
and
6 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
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
222 changes: 222 additions & 0 deletions
222
src/WinGetUtilInterop.UnitTests/TestCollateral/V1_6ManifestMerged.yaml
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,222 @@ | ||
PackageIdentifier: microsoft.msixsdk | ||
PackageVersion: 1.7.32 | ||
PackageLocale: en-US | ||
Publisher: Microsoft | ||
PublisherUrl: https://www.microsoft.com | ||
PublisherSupportUrl: https://www.microsoft.com/support | ||
PrivacyUrl: https://www.microsoft.com/privacy | ||
Author: Microsoft | ||
PackageName: MSIX SDK | ||
PackageUrl: https://www.microsoft.com/msixsdk/home | ||
License: MIT License | ||
LicenseUrl: https://www.microsoft.com/msixsdk/license | ||
Copyright: Copyright Microsoft Corporation | ||
CopyrightUrl: https://www.microsoft.com/msixsdk/copyright | ||
ShortDescription: This is MSIX SDK | ||
Description: The MSIX SDK project is an effort to enable developers | ||
Moniker: msixsdk | ||
Tags: | ||
- "appxsdk" | ||
- "msixsdk" | ||
ReleaseNotes: Default release notes | ||
ReleaseNotesUrl: https://DefaultReleaseNotes.net | ||
PurchaseUrl: https://DefaultPurchaseUrl.com | ||
InstallationNotes: Default installation notes | ||
Documentations: | ||
- DocumentLabel: Default document label | ||
DocumentUrl: https://DefaultDocumentUrl.com | ||
Icons: | ||
- IconUrl: https://testIcon | ||
IconFileType: ico | ||
IconResolution: custom | ||
IconTheme: default | ||
IconSha256: 69D84CA8899800A5575CE31798293CD4FEBAB1D734A07C2E51E56A28E0DF8123 | ||
Agreements: | ||
- AgreementLabel: DefaultLabel | ||
Agreement: DefaultText | ||
AgreementUrl: https://DefaultAgreementUrl.net | ||
InstallerLocale: en-US | ||
Platform: | ||
- Windows.Desktop | ||
- Windows.Universal | ||
MinimumOSVersion: 10.0.0.0 | ||
InstallerType: zip | ||
Scope: machine | ||
InstallModes: | ||
- interactive | ||
- silent | ||
- silentWithProgress | ||
InstallerSwitches: | ||
Custom: /custom | ||
SilentWithProgress: /silentwithprogress | ||
Silent: /silence | ||
Interactive: /interactive | ||
Log: /log=<LOGPATH> | ||
InstallLocation: /dir=<INSTALLPATH> | ||
Upgrade: /upgrade | ||
InstallerSuccessCodes: | ||
- 1 | ||
- 0x80070005 | ||
UpgradeBehavior: uninstallPrevious | ||
Commands: | ||
- makemsix | ||
- makeappx | ||
Protocols: | ||
- protocol1 | ||
- protocol2 | ||
FileExtensions: | ||
- appx | ||
- msix | ||
- appxbundle | ||
- msixbundle | ||
Dependencies: | ||
WindowsFeatures: | ||
- IIS | ||
WindowsLibraries: | ||
- VC Runtime | ||
PackageDependencies: | ||
- PackageIdentifier: Microsoft.MsixSdkDep | ||
MinimumVersion: 1.0.0 | ||
ExternalDependencies: | ||
- Outside dependencies | ||
Capabilities: | ||
- internetClient | ||
RestrictedCapabilities: | ||
- runFullTrust | ||
PackageFamilyName: Microsoft.DesktopAppInstaller_8wekyb3d8bbwe | ||
ProductCode: "{Foo}" | ||
ReleaseDate: 2021-01-01 | ||
InstallerAbortsTerminal: true | ||
InstallLocationRequired: true | ||
RequireExplicitUpgrade: true | ||
DisplayInstallWarnings: true | ||
ElevationRequirement: elevatesSelf | ||
UnsupportedOSArchitectures: | ||
- arm | ||
AppsAndFeaturesEntries: | ||
- DisplayName: DisplayName | ||
DisplayVersion: DisplayVersion | ||
Publisher: Publisher | ||
ProductCode: ProductCode | ||
UpgradeCode: UpgradeCode | ||
InstallerType: exe | ||
Markets: | ||
AllowedMarkets: | ||
- US | ||
ExpectedReturnCodes: | ||
- InstallerReturnCode: 2 | ||
ReturnResponse: contactSupport | ||
- InstallerReturnCode: 3 | ||
ReturnResponse: custom | ||
ReturnResponseUrl: https://defaultReturnResponseUrl.com | ||
UnsupportedArguments: | ||
- log | ||
NestedInstallerType: msi | ||
NestedInstallerFiles: | ||
- RelativeFilePath: RelativeFilePath | ||
PortableCommandAlias: PortableCommandAlias | ||
InstallationMetadata: | ||
DefaultInstallLocation: "%ProgramFiles%\\TestApp" | ||
Files: | ||
- RelativeFilePath: "main.exe" | ||
FileSha256: 69D84CA8899800A5575CE31798293CD4FEBAB1D734A07C2E51E56A28E0DF8C82 | ||
FileType: launch | ||
InvocationParameter: "/arg" | ||
DisplayName: "DisplayName" | ||
DownloadCommandProhibited: true | ||
Localization: | ||
- Agreements: | ||
- Agreement: Text | ||
AgreementLabel: Label | ||
AgreementUrl: https://AgreementUrl.net | ||
Author: Microsoft UK | ||
Copyright: Copyright Microsoft Corporation UK | ||
CopyrightUrl: https://www.microsoft.com/msixsdk/copyright/UK | ||
Description: The MSIX SDK project is an effort to enable developers UK | ||
License: MIT License UK | ||
LicenseUrl: https://www.microsoft.com/msixsdk/license/UK | ||
PackageLocale: en-GB | ||
PackageName: MSIX SDK UK | ||
PackageUrl: https://www.microsoft.com/msixsdk/home/UK | ||
PrivacyUrl: https://www.microsoft.com/privacy/UK | ||
Publisher: Microsoft UK | ||
PublisherSupportUrl: https://www.microsoft.com/support/UK | ||
PublisherUrl: https://www.microsoft.com/UK | ||
ReleaseNotes: Release notes | ||
ReleaseNotesUrl: https://ReleaseNotes.net | ||
ShortDescription: This is MSIX SDK UK | ||
Tags: | ||
- appxsdkUK | ||
- msixsdkUK | ||
Installers: | ||
- Architecture: x86 | ||
InstallerLocale: en-GB | ||
Platform: | ||
- Windows.Desktop | ||
MinimumOSVersion: 10.0.1.0 | ||
InstallerType: msix | ||
InstallerUrl: https://www.microsoft.com/msixsdk/msixsdkx86.msix | ||
InstallerSha256: 69D84CA8899800A5575CE31798293CD4FEBAB1D734A07C2E51E56A28E0DF8C82 | ||
SignatureSha256: 69D84CA8899800A5575CE31798293CD4FEBAB1D734A07C2E51E56A28E0DF8C82 | ||
Scope: user | ||
InstallModes: | ||
- interactive | ||
InstallerSwitches: | ||
Custom: /c | ||
SilentWithProgress: /sp | ||
Silent: /s | ||
Interactive: /i | ||
Log: /l=<LOGPATH> | ||
InstallLocation: /d=<INSTALLPATH> | ||
Upgrade: /u | ||
UpgradeBehavior: install | ||
Commands: | ||
- makemsixPreview | ||
- makeappxPreview | ||
Protocols: | ||
- protocol1preview | ||
- protocol2preview | ||
FileExtensions: | ||
- appxbundle | ||
- msixbundle | ||
- appx | ||
- msix | ||
Dependencies: | ||
WindowsFeatures: | ||
- PreviewIIS | ||
WindowsLibraries: | ||
- Preview VC Runtime | ||
PackageDependencies: | ||
- PackageIdentifier: Microsoft.MsixSdkDepPreview | ||
MinimumVersion: 1.0.0 | ||
ExternalDependencies: | ||
- Preview Outside dependencies | ||
PackageFamilyName: Microsoft.DesktopAppInstallerPreview_8wekyb3d8bbwe | ||
Capabilities: | ||
- internetClientPreview | ||
RestrictedCapabilities: | ||
- runFullTrustPreview | ||
ReleaseDate: 2021-02-02 | ||
InstallerAbortsTerminal: false | ||
InstallLocationRequired: false | ||
RequireExplicitUpgrade: false | ||
DisplayInstallWarnings: false | ||
ElevationRequirement: elevationRequired | ||
UnsupportedArguments: | ||
- location | ||
UnsupportedOSArchitectures: | ||
- arm64 | ||
Markets: | ||
ExcludedMarkets: | ||
- "US" | ||
ExpectedReturnCodes: | ||
- InstallerReturnCode: 2 | ||
ReturnResponse: contactSupport | ||
DownloadCommandProhibited: false | ||
- Architecture: x64 | ||
InstallerSha256: 69D84CA8899800A5575CE31798293CD4FEBAB1D734A07C2E51E56A28E0DF8C82 | ||
InstallerUrl: https://www.microsoft.com/msixsdk/msixsdkx64.exe | ||
InstallerType: exe | ||
ProductCode: '{Bar}' | ||
ManifestType: singleton | ||
ManifestVersion: 1.6.0 |
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
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
26 changes: 26 additions & 0 deletions
26
src/WinGetUtilInterop/Manifest/V1/ManifestDocumentation.cs
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,26 @@ | ||
// ----------------------------------------------------------------------- | ||
// <copyright file="ManifestDocumentation.cs" company="Microsoft Corporation"> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// </copyright> | ||
// ----------------------------------------------------------------------- | ||
|
||
namespace Microsoft.WinGetUtil.Models.V1 | ||
{ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
public class ManifestDocumentation | ||
{ | ||
/// <summary> | ||
/// Gets or sets the document label. | ||
/// </summary> | ||
public string DocumentLabel { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the document url. | ||
/// </summary> | ||
public string DocumentUrl { get; set; } | ||
|
||
} | ||
} |
Oops, something went wrong.