C
C#11mo ago
Akama Aka

❔ Manifest file for Windows Service & winget Integration

Hello, I have a Windows Service project and want to implement winget versioning but I'm very new in this whole language and in the real programming so I dont really know things like that. Does someone know how I can create a good manifest file with all Settings I need and what is recommended with some instructions for what this is? Thanks for the help 9557kannalove I use Rider and Visual Studio so prob. a Visual Studio and Rider Version
22 Replies
Azrael
Azrael11mo ago
There's a few details that you're going to need. Package Identifier, Package Version, Package Name, Publisher, Installer Type & more.
Akama Aka
Akama Aka11mo ago
Okay
Azrael
Azrael11mo ago
PackageIdentifier: Microsoft.WindowsTerminal
PackageVersion: 1.6.10571.0
PackageLocale: en-US
Publisher: Microsoft
PackageName: Windows Terminal
License: MIT
ShortDescription: The new Windows Terminal, a tabbed command line experience for Windows.
Installers:
- Architecture: x64
InstallerType: msix
InstallerUrl: https://github.com/microsoft/terminal/releases/download/v1.6.10571.0/Microsoft.WindowsTerminal_1.6.10571.0_8wekyb3d8bbwe.msixbundle
InstallerSha256: 092aa89b1881e058d31b1a8d88f31bb298b5810afbba25c5cb341cfa4904d843
SignatureSha256: e53f48473621390c8243ada6345826af7c713cf1f4bbbf0d030599d1e4c175ee
ManifestType: singleton
ManifestVersion: 1.0.0
PackageIdentifier: Microsoft.WindowsTerminal
PackageVersion: 1.6.10571.0
PackageLocale: en-US
Publisher: Microsoft
PackageName: Windows Terminal
License: MIT
ShortDescription: The new Windows Terminal, a tabbed command line experience for Windows.
Installers:
- Architecture: x64
InstallerType: msix
InstallerUrl: https://github.com/microsoft/terminal/releases/download/v1.6.10571.0/Microsoft.WindowsTerminal_1.6.10571.0_8wekyb3d8bbwe.msixbundle
InstallerSha256: 092aa89b1881e058d31b1a8d88f31bb298b5810afbba25c5cb341cfa4904d843
SignatureSha256: e53f48473621390c8243ada6345826af7c713cf1f4bbbf0d030599d1e4c175ee
ManifestType: singleton
ManifestVersion: 1.0.0
Example YAML manifest.
Azrael
Azrael11mo ago
Create your package manifest
If you want to submit a software package to the Windows Package Manager repository, start by creating a package manifest.
Akama Aka
Akama Aka11mo ago
I have my own website where all builds are listed
Azrael
Azrael11mo ago
winget install wingetcreate You can also use wingetcreate.
Akama Aka
Akama Aka11mo ago
Okay thanks The InstallerUrl is it the whole url with the program name or just the path? so like https://package.domain.com/name/distro/version/program.exe
Azrael
Azrael11mo ago
With the executable. Like that.
Akama Aka
Akama Aka11mo ago
Okay thanks That mmoment you have to learn what a portable project is <:AYS_WobblesLaugh:845570950212878366>
Azrael
Azrael11mo ago
If you're using Winget your application is not portable.
Akama Aka
Akama Aka11mo ago
Okay Is there something I need to aware with before I Publish it?
Azrael
Azrael11mo ago
No.
Akama Aka
Akama Aka11mo ago
Okay
Akama Aka
Akama Aka11mo ago
I have it done now but I get this issue
Azrael
Azrael11mo ago
Then you did something wrong.
Akama Aka
Akama Aka11mo ago
@Azrael I have these files but it still says that files are missing. Do you know any fixes?
Azrael
Azrael11mo ago
Add version, installer and defaultLocale and redo it.
Akama Aka
Akama Aka11mo ago
I did
Azrael
Azrael11mo ago
I rarely use wget.
Akama Aka
Akama Aka11mo ago
idk what im doing wrong here
Akama Aka
Akama Aka11mo ago
the defaultLoale is set everywhere
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.