Any fix. I tried reinstall multiple times. Nothing works
CodePeacock opened this issue · 1 comments
PS C:> X:\Downloads\Soggfy-2.5.0\Install.ps1 Installing Spotify... Extracting... Remove-Item : Cannot find path 'C:\SpotifyInstaller-1.1.97.962.exe' because it does not exist. At X:\Downloads\Soggfy-2.5.0\Install.ps1:10 char:5 + Remove-Item "SpotifyInstaller-$SpotifyVersion.exe" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (C:\SpotifyInstaller-1.1.97.962.exe:String) [Remove-Item], ItemNotFoundE xception + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Rename-Item : Cannot bind argument to parameter 'Path' because it is null.
At X:\Downloads\Soggfy-2.5.0\Install.ps1:16 char:23
-
Rename-Item -Path $spotifyFolder.FullName -NewName "Spotify"
-
~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (:) [Rename-Item], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.RenameItemC
ommand
Do you want to install BlockTheSpot to block ads? Y/N: y
Rename-Item : Cannot rename because item at 'Spotify/chrome_elf.dll' does not exist.
At X:\Downloads\Soggfy-2.5.0\Install.ps1:21 char:9
-
Rename-Item -Path "Spotify/chrome_elf.dll" -NewName "chrome_e ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [Rename-Item], PSInvalidOperationException
- FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RenameItemCommand
Expand-Archive : The path 'bts_patch.zip' either does not exist or is not a valid file system path.
At X:\Downloads\Soggfy-2.5.0\Install.ps1:22 char:9
-
Expand-Archive -Path "bts_patch.zip" -DestinationPath "Spotif ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (bts_patch.zip:String) [Expand-Archive], InvalidOperationException
- FullyQualifiedErrorId : ArchiveCmdletPathNotFound,Expand-Archive
Remove-Item : Cannot find path 'C:\bts_patch.zip' because it does not exist.
At X:\Downloads\Soggfy-2.5.0\Install.ps1:23 char:9
-
Remove-Item "bts_patch.zip"
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ObjectNotFound: (C:\bts_patch.zip:String) [Remove-Item], ItemNotFoundException
- FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Remove-Item : Cannot find path 'C:\Spotify\crash_reporter.cfg' because it does not exist.
At X:\Downloads\Soggfy-2.5.0\Install.ps1:25 char:5
-
Remove-Item -Path "Spotify/crash_reporter.cfg"
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ObjectNotFound: (C:\Spotify\crash_reporter.cfg:String) [Remove-Item], ItemNotFoundExcept
ion - FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
- CategoryInfo : ObjectNotFound: (C:\Spotify\crash_reporter.cfg:String) [Remove-Item], ItemNotFoundExcept
Try the following, I had an issue with it not finding spotify
Ensure Execution Policy is Set to RemoteSigned:
Before you can run the script, you need to ensure your PowerShell execution policy allows scripts to run. Search for Powershell in a similar way to the "Command Prompt" Open PowerShell as an administrator and run: Type the followling:
Set-ExecutionPolicy RemoteSigned
Then press enter, then select Y for yes, then just trying installing Soggfy again.
Hope it helps