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

(vlc) Silently fails when installed via Install-Package from PowerShell PackageManagement module. #844

Closed
danielniccoli opened this issue Sep 21, 2017 · 1 comment
Labels
invalid This is used to mark Hacktoberfest PR's as invalid

Comments

@danielniccoli
Copy link

When installing vlc via the Powershell PackageManagement module, the installation silently fails. Verbose output reveals the error. It doesn't find the file. But the file can be found at the path. It also wrongly sets the Status to Installed.

PS C:\WINDOWS\system32> Install-Package vlc -ProviderName Chocolatey -Verbose
Das Paket oder die Pakete stammen aus einer Paketquelle, die nicht als vertrauenswürdig gekennzeichnet ist.
Sind Sie sicher, dass Sie die Software von "chocolatey" installieren möchten?
[J] Ja  [A] Ja, alle  [N] Nein  [K] Nein, keine  [H] Anhalten  [?] Hilfe (Standard ist "N"): j
AUSFÜHRLICH: NuGet: GET http://chocolatey.org/api/v2/Packages(Id='vlc',Version='2.2.6')
AUSFÜHRLICH: NuGet: Attempting to resolve dependency 'chocolatey-core.extension (= 1.0.4)'.
AUSFÜHRLICH: NuGet: GET https://chocolatey.org/api/v2/package/vlc/2.2.6
AUSFÜHRLICH: NuGet: Installing 'vlc 2.2.6'.
AUSFÜHRLICH: NuGet: Successfully installed 'vlc 2.2.6'.
AUSFÜHRLICH:
AUSFÜHRLICH: Launching Process-EXE :'False C:\Chocolatey\lib\vlc.2.2.6\tools\vlc-2.2.6-win64_x64.exe'
AUSFÜHRLICH: Exception : DefaultDomain//Win32Exception/Das System kann die angegebene Datei nicht finden
   bei System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   bei Microsoft.PackageManagement.ChocolateyPrototype.Common.AsyncProcess.Start(ProcessStartInfo startInfo, IDictionary environment)
   bei Microsoft.PackageManagement.ChocolateyPrototype.ChocolateyRequest.StartChocolateyProcessAsAdmin(String statements, String exeToRun, Boolean minimized, Boolean noSleep, Int32[] validExitCodes, String
 workingDirectory)
install-package : Das System kann die angegebene Datei nicht finden
In Zeile:1 Zeichen:1
+ install-package vlc -ProviderName Chocolatey -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (False C:\Chocol...6-win64_x64.exe:String) [Install-Package], Exception
    + FullyQualifiedErrorId : Process Execution Failed,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

PS C:\WINDOWS\system32> (get-package vlc).Status
Installed

PS C:\WINDOWS\system32> Get-Item C:\Chocolatey\lib\vlc.2.2.6\tools\vlc-2.2.6-win64_x64.exe


    Verzeichnis: C:\Chocolatey\lib\vlc.2.2.6\tools


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       21.09.2017     10:23       32100680 vlc-2.2.6-win64_x64.exe
@majkinetor majkinetor added the invalid This is used to mark Hacktoberfest PR's as invalid label Sep 21, 2017
@majkinetor
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This is used to mark Hacktoberfest PR's as invalid
Projects
None yet
Development

No branches or pull requests

2 participants