From 1dc63c430704d37203e53eb7ce2250c97adec379 Mon Sep 17 00:00:00 2001 From: Demitrius Nelon Date: Fri, 15 Mar 2024 12:10:54 -0700 Subject: [PATCH] Guidance on installer architecture --- doc/Authoring.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/Authoring.md b/doc/Authoring.md index 568e2d1e526f7..753a8d41dd8b7 100644 --- a/doc/Authoring.md +++ b/doc/Authoring.md @@ -42,6 +42,9 @@ Manifests submitted to the Windows Package Manager Community Repository should b ## Creating your first manifest Once you have a package in mind that doesn't already exist in the repository, you can now start [creating your package manifest](https://docs.microsoft.com/en-us/windows/package-manager/package/manifest?tabs=minschema%2Cversion-example). We recommend using the [Windows Package Manager Manifest Creator (a.k.a Winget-Create)](https://github.com/microsoft/winget-create) to help you generate your manifest. Winget-Create is a command line tool that will prompt you for relevant metadata related to your package. Once you are done, Winget-Create will validate your manifest to verify that it is correct and allow you to submit your newly-created manifest directly to the winget-pkgs repository by linking your GitHub account. Alternatively, you can use the [YamlCreate.ps1 Script](Tools/YamlCreate.ps1). More information on using YamlCreate is found in the [script documentation](doc/tools/YamlCreate.md). +## Installer Types +If you are authoring a manifest yourself one of the imporant things to note related to installer types is architecture. In many cases the installer itself may be an x86 installer, but it will actually install the package for the architecture of the system. In these cases, the installer type in the manifest should target the architecture of the system it will be installed on. So in some cases the actual installer itself targets x86, but in fact it will install an x64 version of the package. + ### How do I install Winget-Create? You can either [download the latest release of Winget-Create](https://github.com/microsoft/winget-create/releases) from its GitHub repository or use **Winget** to install it for you by running the following command: