mirror of
https://github.com/1Remote/1Remote.git
synced 2026-04-25 13:36:03 +03:00
[GH-ISSUE #402] Winget package #1303
Labels
No labels
area-configuration
area-ct-app
area-ct-rdp
area-ct-remoteapp
area-ct-ssh
area-ct-vnc
area-launcher
area-list
area-tags
area-teamwork
bug
chore
dependencies
general-build/ci
general-performance
general-refactor
general-security
general-supportive
general-ux
meta-documentation
meta-enhancement
meta-enhancement
meta-feature
meta-help-wanted
meta-unknown-error
priority-hi
priority-low
pull-request
question
resolution-duplicate
resolution-invalid
resolution-wontfix
stale
task-put-off
task-still-considering
task-working-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/1Remote#1303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @majkinetor on GitHub (May 7, 2023).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/402
Originally assigned to: @majkinetor on GitHub.
I should do a winget package (and get oportunity to learn more about it). One of the reasons is that chocolatey package for 1RM is submited a month ago and still not approved (and Chocolatey is becoming more and more hostale toward FOSS users).
@majkinetor commented on GitHub (May 13, 2023):
Unfortunatelly, winget doesn't support apps that do not have installers. So installer needs to be done to support it.
The supported installers are listed here.
ZIP installerrs are added recently, but they are mostly single files. I found one that is larger archive - yazu. This means winget will simply unpack archive to default or desired location.
Choco package has a PowerShell script that can do anything, which I used to restart running process and create desktop icon. This will not be possible here. Neverthless, I am happy its now possible, so I will give it a try and see how it goes. If nothing else, we will make installer.
/cc @VShawn .
@VShawn commented on GitHub (May 14, 2023):
appx and msix can be built by the installer project in the solution, but i didn't figure out how to build them by a script.
@majkinetor commented on GitHub (May 14, 2023):
Here is the zip spec
@majkinetor commented on GitHub (May 19, 2023):
Progress so far.
winget doesn't support dependencies yet so one most install manually dotnet desktop runtime:
After trying my manifest it extracted it in Temp folder but failed to open it. On double click it offers MS Store, but if run from command line it executes:
Anyway, this installer manifest passes:
Once published, one installs this using the following command:
Without location, default location is
%LOCALAPPDATA%\Microsoft\WinGet\Packages\1Remote.1Remote__DefaultSourcewhich is amazingly bad. Symbolic link is created tho at%LOCALAPPDATA%\Microsoft\WinGet\Links\1Remote.exewhich if run fails because SQLite dll can't be found :)So, to recap:
portabletoexewinget calls 1Remote.exe after extraction, and it could pass silent install parameters that we could use to create desktop icon and/or run the app in the background.Here is the zip with the full manifest for now: winget.zip. PR to the https://github.com/microsoft/winget-pkgs is required for each version. I should create new version of AU to work with winget protocol to automate this.
@majkinetor commented on GitHub (May 25, 2023):
FYI 1remote chocolatey package is finally approved, I automated nightly release there.
Regarding winget release, I am going to do this:
Then, I am thinking, we should change the "installer" - provide silent install options without installer itself that will add desktop icon and maybe some other stuff from first run screen and use that within winget package.
When we are happy with this, I will finally push to MS winget packages, but I intend to keep our repo updated indefinitelly.
@VShawn, if you have any thoughts about this, lay it out.
@VShawn commented on GitHub (May 26, 2023):
good to hear but why it took so long?
what you mean of this? I may have misunderstood your meaning, it would be good to provide a reference program that implements this type of installation method.
And do we need to write our own installer to implement this installation?
@majkinetor commented on GitHub (May 27, 2023):
First version of the package takes much longer. Afterwards packages are approved quicker. Latest version is already approved.
I mean you don't have to be installer to have installer options. You can just implement them inside main app. For example, creating a desktop or start menu icon could be done any time. There are number of tools that do this.
To be friendlier on users, we could add some of those, callable via arguments, and use that in winget.
@Xhanti commented on GitHub (Oct 18, 2023):
Hi @majkinetor does the winget installer still work or still in testing?

I wanted to install 1Remote and try it out, got this
I was hopping the winget install method would get me around this
@majkinetor commented on GitHub (Oct 18, 2023):
Nah, it turned out that I have a problem with winget even now due to its non-existing scripting features.
For the record, we added installer parameters BUT, winget will use temporary copy of 1remote and it will install itself on temporary location.... What needs to be done is to add new installer parameter to 1Remote -
path- that will instruct it to copy and setup itself at that path, not at its current path.As an example, everything has this:
@majkinetor commented on GitHub (Oct 18, 2023):
Screenshot says PRemote, not 1Remote. Have you try to download it from the nightly release (use last entry, currently 1Remote-1.0.0.0-beta.06-net6-x64-nightly-20231007-3f0d50.zip) and check it out ?
@Xhanti commented on GitHub (Oct 18, 2023):
Hi @majkinetor ,
thank you for the quick response.
I got it from here:

Is that the right place to get the installer?
@majkinetor commented on GitHub (Oct 18, 2023):
No, I left you link, you take nightly.
This is the latest 1remote at this moment:
https://github.com/1Remote/1Remote/releases/download/Nightly/1Remote-1.0.0.0-beta.06-net6-x64-nightly-20231007-3f0d50.zip
@Xhanti commented on GitHub (Oct 19, 2023):
Hi @majkinetor ,
Is there anyway to get a signed version of this app? I am not allowed to install unsigned binaries on this machine
@majkinetor commented on GitHub (Oct 19, 2023):
Don't know what @VShawn thinks, but as far as I know that requires money and a lot of dedication. Maybe I am wrong but I think its a big hassle.
@VShawn commented on GitHub (Oct 20, 2023):
Yes, I don't intend to provide a signed package, but since it's an open-source software, you can download the source code, compile it, and sign it yourself:)
@Xhanti commented on GitHub (Oct 20, 2023):
That's not a bad suggestion at all. Thank you 🙏🏾
@majkinetor commented on GitHub (Nov 26, 2023):
Just as an information, regarding signing, there is one free that some popular open source software use:
https://about.signpath.io/product/open-source
@Xhanti commented on GitHub (Nov 26, 2023):
That sounds like a great option. If you guys are open to me working on that (getting the build system ready, if it's not) I can definitely chip in
@VShawn commented on GitHub (Nov 26, 2023):
Of course, everyone is welcome to contribute to 1Remote.
I registered and quickly browsed through it, but I haven't fully grasped how to make it work. And one thing to note is how to retrieve the secrets stored on GitHub in the signpath.io CI system?
@github-actions[bot] commented on GitHub (Nov 19, 2025):
This issue is stale because it has been open for 30 days with no activity.
@github-actions[bot] commented on GitHub (Dec 3, 2025):
This issue was closed because it has been inactive for 14 days since being marked as stale.