-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup releases to publish to choco and/or winget package managers #417
Comments
I had mentioned something similar in #370 but they won't accept feature requests here. If you would like to upvote/comment on the following it might help get some attention: |
We're no longer forwarding to the developer community, so having issues here is appropriate. |
@JohnSchmeichel , great another overnight change :), so the two issues that were closed #370 and #379 can be added to this request. I'll reiterate my comments here.
|
This issue has had no activity in 90 days. Please comment if it is not actually stale. |
Not stale. |
This issue has had no activity in 90 days. Please comment if it is not actually stale. |
🙄 |
It seems like this should be possible now in winget now that Windows Package Manager manifests allow portable zip, although I can't tell at first glance if the zip must contain an installer or if the contents can just be extracted into a directory directly as the "installation." |
I just linked a PR in winget-pkgs to this issue that takes a crack at integrating into winget, but the standalone zip with lack of an installer (WiX/Nullsoft/etc.) seems to make it unable to be fully automatic with winget; the install location can't be preset to the NuGet plugin directory, or if this can be set in the manifest I couldn't tell what YAML property would do it.
Update: the issue appears to be due to the default symlinking winget does to add the CredentialManager.Microsoft.exe to the PATH and the test case of launch the console app via the PATH symlink fails due to inability to find dependent DLLs (the DLL loading algorithm doesn't use the actual location of the exe as the DLL search path). That said, there seems to be no mechanism to just "extract the zip here and don't add it to PATH" in winget. |
@jeffreyrivor, is there an actual plan here? I'm setting up a new machine now and cannot use your official install script Supporting winget would be perfect here. |
Unfortunately, winget doesn't support raw zip (e.g. no nested installer exe/msi/etc) in the structure that would be required to place the artifacts credprovider in the NuGet plugin location.
In summary, unless winget changes to allow a different default location (in this case, the NuGet plugin directory) and to allow disabling symlinking and adding to PATH for raw zipped exe extraction (NuGet doesn't need to use PATH to locate it anyhow), the credprovier will have to be packaged into an actual installer (using WiX/Nullsoft/Inno/etc) in order to be ingested into winget. |
Can we package it into an actual installer? If so, is there a preferred install system, for example one of those you mentioned (WiX/Nullsoft/Inno)? I guess the installer should just reproduce the behavior of the current install script closely. |
Best solution would be to make MSI out of it and publish to winget? since all this script is doing is some installation? |
The script has a bit of logic to handle .NET versions, but other than that, it just copies a DLL into a specific folder. |
This issue has had no activity in 90 days. Please comment if it is not actually stale. |
Not actually stale. |
This issue has had no activity in 90 days. Please comment if it is not actually stale. |
This would still be very useful. |
This would be very useful. It's amazing that Microsoft is still putting out tools that are not included in WinGet. It's a disjointed user experience. |
This issue has had no activity in 90 days. Please comment if it is not actually stale. |
Bump. |
Hey there!
I like to keep all my software up to date by using package managers such as
apt
,choco
,winget
, etc. I was wondering if it would be possible to setup an automated release to a package manager so that the Artifacts Credential Provider can be updated along with my other software rather than me having to subscribe to releases on github to learn about new versions?Thanks!
The text was updated successfully, but these errors were encountered: