Closed dxnnie closed 2 years ago
Exit code 6 is coming from the OBS Studio installer. The installer is an EXE (specifically nullsoft), so the error codes aren't standardized as they are in an MSI or a MSIX package. I did a quick search, and didn't see anything telling me what their installer error code 6 refers to. We have added a section on Expected Return Codes in the new 1.1 manifest schema so the error can be mapped to a friendly message for users, but we don't know what the specific error is in this case.
I can't replicate this. Can you try restarting your computer and running it again? I wonder if it's something silly, like a file being locked.
Exit code 6 is coming from the OBS Studio installer. The installer is an EXE (specifically nullsoft), so the error codes aren't standardized as they are in an MSI or a MSIX package. I did a quick search, and didn't see anything telling me what their installer error code 6 refers to. We have added a section on Expected Return Codes in the new 1.1 manifest schema so the error can be mapped to a friendly message for users, but we don't know what the specific error is in this case.
Thanks for the response! I believe it was indeed a file lock error as @jedieaston mentioned.
I can't replicate this. Can you try restarting your computer and running it again? I wonder if it's something silly, like a file being locked.
Thanks for your suggestion, i've rebooted and instalation proceed as usuall.
winget install OBSProject.OBSStudio
Found OBS Studio [OBSProject.OBSStudio] Version 27.1.3
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licences to, third-party packages.
Downloading https://github.com/obsproject/obs-studio/releases/download/27.1.3/OBS-Studio-27.1.3-Full-Installer-x64.exe
██████████████████████████████ 86.4 MB / 86.4 MB
Successfully verified installer hash
Starting package install...
Successfully installed
i get the same error. i never ran obs studio so idoubt a file is locked.
@cjwijtmans Same here just now. But if you run the .exe file winget downloads you'll see what file is causing the error. In my case the installer did not like that NZXT CAM running 🤷
i have same problem but i dont want to uninstall it, how?
but, i can update it from OBS it self, so how to solve the problem in the winget?
edited: when i see the version it still in 29.0.2, not upgraded
@adonneet If you add -i
to your command (example: winget upgrade --id OBSProject.OBSStudio -i
) it will show the installer and it will tell you which app is blocking.
For me it's always NZXT CAM, closing that app fixes it and opening it again after works.
i see, ok let me check it
edited: so... the problem is from nvidia broadcast :D
@AdonNeet If you add
-i
to your command (example:winget upgrade --id OBSProject.OBSStudio -i
) it will show the installer and it will tell you which app is blocking.For me it's always NZXT CAM, closing that app fixes it and opening it again after works.
the -i parameter actually made my day! Thanks so much! <3
@AdonNeet If you add
-i
to your command (example:winget upgrade --id OBSProject.OBSStudio -i
) it will show the installer and it will tell you which app is blocking.For me it's always NZXT CAM, closing that app fixes it and opening it again after works.
Works, for me it's Nvidia Broadcast.
Brief description of your issue
winget install OBSProject.OBSStudio
Found OBS Studio [OBSProject.OBSStudio] Version 27.1.3 This application is licensed to you by its owner. Microsoft is not responsible for, nor does it grant any licences to, third-party packages. Downloading https://github.com/obsproject/obs-studio/releases/download/27.1.3/OBS-Studio-27.1.3-Full-Installer-x64.exe ██████████████████████████████ 86.4 MB / 86.4 MB Successfully verified installer hash Starting package install... Installer failed with exit code: 6Steps to reproduce
Try to install OBS Studio via Winget .
Expected behavior
Expected normal installation.
Actual behavior
Installer failed with exit code: 6
Environment