-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Error 2 on install via Windows Package Manager #893
Comments
Looks like |
@denelon I am using But I think it uses NSIS installer, which has this on their website https://nsis.sourceforge.io/Docs/AppendixD.html#errorlevels
Which means that Windows Package Manager aborted? Putting that as search query on the internets brought me to: electron-userland/electron-builder#4057 People say People who has the issue, should try regular installer to say if that fails as well... Also, should this be x86 ? https://github.com/microsoft/winget-pkgs/blob/master/manifests/s/Stretchly/Stretchly/1.4.0/Stretchly.Stretchly.yaml#L14 |
@hovancik Update: v1.3 worked with choco Update: I successfully upgraded v1.3 to 1.4 using choco, I don't know why it didn't work in the first place 🤔 Anyway it worked |
Did you run installer as Administrator? I don't use Windows as my OS but seen that as an issue before. Not sure how those installers like choco and winget works in that sense. |
I'm not sure which architecture the packages is built for. We support several Architectures: |
Yes, I run the installer as Administrator. |
@denelon I guess it should be |
@hovancik @denelon Yes, the installer (without using winget) works, even when I use the @denelon May there be an issue with the integrity level in combination with winget and specific installers? |
I just wanted to note here too that the installation now works when using an elevated prompt. |
I'll close this as I have no idea how |
@hovancik Just to let anyone know here, this has been fixed in the winget cli - should be this one here: |
Prerequisites
Description
An Issue was reported in the Windows Package Manager project related to install errors:
microsoft/winget-cli#500
Operating system: Windows: Windows.Desktop v10.0.19042.746
Steps to Reproduce
Expected behavior: The Package should be installed.
Actual behavior: Installer Failed With Exit Code 2
Reproduces how often: 100% on the users machine. I did not encounter the error on my machine.
Additional Information
Comment with logged output:
microsoft/winget-cli#500 (comment)
Debug information
You can find extra debugging information and location of Logs file on
Preferences
->About
page, after you hitCmd/Ctrl+D
shortcut.Please, review information provided there and paste relevant parts here.
If you have changed any settings, please, provide the preferences file.
Logs will be a big help, as well.
The text was updated successfully, but these errors were encountered: