Os programas instalados via OneGet não aparecem

1

Eu segui este guia para instalar o VLC via OneGet. No entanto VLC não aparece no menu Iniciar ou no "Adicionar ou remover programa" depois de ter sido instalado com sucesso.

O que estou fazendo de errado?

Comandos

PSC:\Users\Snebjorn>get-packageprovider-namechocolateyTheprovider'chocolateyv2.8.5.130'isnotinstalled.chocolateymaybemanuallydownloadedfromhttps://oneget.org/ChocolateyPrototype-2.8.5.130.exeandinstalled.WouldyoulikePackageManagementtoautomaticallydownloadandinstall'chocolatey'now?[Y]Yes[N]No[S]Suspend[?]Help(defaultis"Y"):

Name                     Version          DynamicOptions
----                     -------          --------------
Chocolatey               2.8.5.130        {SkipDependencies, ContinueOnFailure, ExcludeVersion, ForceX86...}


PS C:\Users\Snebjorn> install-package vlc

The provider 'nuget v2.8.5.127' is not installed.
nuget may be manually downloaded from https://oneget.org/nuget-anycpu-2.8.5.127.exe and installed.
Would you like PackageManagement to automatically download and install 'nuget' now?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):

The package(s) come from a package source that is not marked as trusted.
Are you sure you want to install software from 'chocolatey'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): y

Name                           Version          Source           Summary
----                           -------          ------           -------
vlc                            2.2.1.20150630   chocolatey       VLC Media Player


PS C:\Users\Snebjorn>
    
por Snæbjørn 26.11.2015 / 01:19

1 resposta

1

Encontrei a resposta como comentário neste post Como uso o gerenciador de pacotes interno do Windows 10?

Oh, there's a terribly confusing bug in PackageManagement where that exact behavior happens unless, before installing packages, you set the execution policy to allow scripts (I use RemoteSigned). I'll update my answer.

Portanto, após executar Set-ExecutionPolicy RemoteSigned e reinstalar o VLC, ele funciona conforme o esperado. Yay!

    
por 26.11.2015 / 17:27