-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Publish WinGet as an MSIX with dependencies included #401
Comments
I guess the better way would be asking MS to release those dependency package outside the store, in a support document or something. They provide direct appx downloads for WSL distros in WSL docs after all. |
They're available to download from the Microsoft docs site over here. |
Not all of the needed deps seems to be there, as per my comments in the TestSandbox PR |
Oh, right - just read about VCLibs in your original post. I didn't realize there's also a separate VCLibsUWP package. |
The winget.ps1 script is currently not working. Microsoft is still doing work on this front so I'm going to wait until the dust settles here. If you need non-interactive installation of WinGet now then see here: https://github.com/asheroto/winget-installer/blob/master/winget-install.ps1 WinGet GitHub issues to track: microsoft/winget-cli#401 microsoft/winget-cli#2434 Also, perhaps MSIX Core so we can get Windows 7 support: https://learn.microsoft.com/en-us/windows/msix/msix-core/msixcore However, that's only MSIX, MS isn't targeting WinGet for below Windows 10 1809 (but maybe someone will build a small compatability layer): microsoft/winget-cli#1686 (comment)
@felipecrs we're not likely to pull the dependencies into WinGet and include them in our bundle. We've created the Repair-WinGetPackageManger cmdlet in the Microsoft.WinGet.Client powershell module to make it easier to bootstrap/upgrade WinGet when the Microsoft Store isn't available. We've also added the App Installer (with "winget" moniker) to the community repository along with the dependencies. I've also got a sample WinGet configuration over at https://aka.ms/dsc.yaml for launching the Windows Sandbox and bootstrapping WinGet inside the sandbox.
|
@denelon Alright. I honestly don't care about this anymore. And I have not given Please close the issue if you feel there's nothing else to be done. |
@denelon Are there instructions available for bootstrapping winget from a terminal in an environment like Windows Sandbox? Packaging a program into a single file with all it's dependencies is a standard software practice. Currently with winget I have to jump through hoops to manually download and install dependencies from a script and that fails every time the dependency set changes.
|
At this point, I think there's no good reason for Windows Sandbox not to come with WinGet preinstalled btw. 😄 |
This is what I use inside a PowerShell script
|
I'm working with the Windows Sandbox team on doing this 😊 |
Description of the new feature/enhancement
Publish the WinGet installer as an MSIX with the dependencies included, just like Windows Terminal.
Motivation
Currently, the WinGet
.appxbundle
has two required dependencies fromVCLibs
. This prevents people to install in environments where there is no Microsoft Store available, such as the Windows Sandbox. This would help microsoft/winget-pkgs#827.Proposed technical implementation details
Follow the same approach of Windows Terminal, tracked on microsoft/terminal#3097 and microsoft/terminal#5661.
This can also help -> https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-packaging-dot-net
The text was updated successfully, but these errors were encountered: