Skip to content
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

[Bug]: Not working on Tiny10 #55

Open
6 tasks done
ManicQuinn opened this issue Dec 20, 2024 · 1 comment
Open
6 tasks done

[Bug]: Not working on Tiny10 #55

ManicQuinn opened this issue Dec 20, 2024 · 1 comment
Assignees

Comments

@ManicQuinn
Copy link

Checklist

  • I have give this issue a title starting with the text [Bug]: to signify it is a bug.

  • I have performed the steps in the Troubleshooting section and confirm that the issue only occurs with this script.

  • I have restarted my computer to confirm this is not a transitory problem.

  • I have verified that I am using the latest version of winget-install.

  • I have verified that this issue is NOT security related (please create security advisory if so).

  • I have run the script with the -Debug argument and included the output below

What You Are Seeing?

This is what the shell outputs:

Do you want to run software from this untrusted publisher?
File C:\Users\ManicQuinn\Downloads\winget-install.ps1 is published by CN=Asher Solutions Inc, O=Asher Solutions Inc,
L=Muskogee, S=Oklahoma, C=US and is not trusted on your system. Only run scripts from trusted publishers.
[V] Never run  [D] Do not run  [R] Run once  [A] Always run  [?] Help (default is "D"): r
winget-install 5.0.5
To check for updates, run winget-install -CheckForUpdate
To delay script exit, run winget-install -Wait
To force script pausing after execution, run winget-install -NoExit

##########
# winget #
##########

Installing Microsoft.WinGet.Client module...
Installing winget (this takes a minute or two)...

############
# Complete #
############

winget installed successfully.
Checking if winget is installed and working...

But trying to use winget after outputs this:

winget : The term 'winget' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ winget
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (winget:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

System Details

Tiny 10 (Debloated Windows)

Additional Context

The only reason I am using this script is because of Tiny10

Full Output With -Debug

PS C:\Users\ManicQuinn> .\winget-install.ps1 -debug
.\winget-install.ps1 : The term '.\winget-install.ps1' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ .\winget-install.ps1 -debug
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\winget-install.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
@asheroto
Copy link
Owner

Hello,

Tiny10 may not have the dependencies needed to run winget. Have you checked the troubleshooting section and tried installing manually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants