TheRandomLabs / scoop-nonportable

A Scoop bucket for nonportable applications.
The Unlicense
136 stars 40 forks source link

Can't Install 'virtualbox-np' on my Windows 10 Laptop. #336

Closed FlawlessCasual17 closed 2 years ago

FlawlessCasual17 commented 2 years ago

Bug Report

Current Behavior

'virtualbox-np' will not install properly on my laptop through ScoopInstaller. Here is proof: (powershell)V1Y2j3_05-16-2022

Expected Behavior

'virtualbox-np' should install properly as expected with any program you would install with ScoopInstaller.

Additional context/output

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\WINDOWS\system32> scoop bucket add nonportable
Checking repo... OK
The nonportable bucket was added successfully.
PS C:\WINDOWS\system32> scoop install virtualbox-np
Installing 'virtualbox-np' (6.1.34) [64bit]
Loading VirtualBox-6.1.34-150636-Win.exe from cache
Checking hash of VirtualBox-6.1.34-150636-Win.exe ... ok.
Running installer script...
Remove-Item : Cannot find path 'C:\Users\Public\Desktop\Oracle VM VirtualBox.lnk' because it does not exist.
At line:3 char:1
+ Remove-Item "$env:PUBLIC\Desktop\Oracle VM VirtualBox.lnk"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Public... VirtualBox.lnk:String) [Remove-Item], ItemNotFoundEx
   ception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

Remove-Item : Cannot find path 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle VM VirtualBox' because it
does not exist.
At line:4 char:1
+ Remove-Item -Recurse "$([Environment]::GetFolderPath('commonstartmenu ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\ProgramData\...e VM VirtualBox:String) [Remove-Item], ItemNotFoundEx
   ception
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

Linking ~\scoop\apps\virtualbox-np\current => ~\scoop\apps\virtualbox-np\6.1.34
Creating shim for 'VBoxBalloonCtrl'.
Can't shim 'VBoxBalloonCtrl.exe': File doesn't exist.

Possible Solution

I don't have any solutions for this.

System details

Windows version: [e.g. 7, 8, 10] Windows 10 Pro

OS architecture: [e.g. 32bit, 64bit] 64bit

PowerShell version: [output of "$($PSVersionTable.PSVersion)"]

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  1682

Additional software: [(optional) e.g. ConEmu, Git] Git (Installed with ScoopInstaller).

Scoop Configuration

{
    "lastUpdate":  "2022-05-16T10:30:08.8920300-06:00",
    "SCOOP_REPO":  "https://github.com/ScoopInstaller/Scoop",
    "SCOOP_BRANCH":  "master"
}