View Single Post
Old 02-11-2020, 06:36 PM   #241
pnpires
Member
pnpires began at the beginning.
 
Posts: 18
Karma: 10
Join Date: May 2018
Device: Kobo Aura One
I run PS as Admin, took some more measures to be able to run the script from there, and I could stop the script without closing the window, so I have the beginning of the failure:

PS C:\users\master\Downloads> Set-ExecutionPolicy -ExecutionPolicy Bypass

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y
PS C:\users\master\Downloads> .\install.ps1
* Here are the available packages:
0: Plato-0.8.2_KOReader-v2020.01.zip
* Enter the number corresponding to the one you want to install: 0
* Preventing Nickel from scanning hidden directories . . .
* Installing Plato-0.8.2_KOReader-v2020.01.zip . . .
Remove-Item : Cannot find path 'D:\icons\plato.png' because it does not exist.
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules \Microsoft.PowerShell.Archive\Microsoft.PowerShell .Archive.psm1:411
char:46
+ ... $expandedItems | % { Remove-Item $_ -Force -Recurse }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (D:\icons\plato.png:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveI temCommand

Remove-Item : Cannot find path 'D:\.adds\kfmon\' because it does not exist.
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules \Microsoft.PowerShell.Archive\Microsoft.PowerShell .Archive.psm1:411
char:46
+ ... $expandedItems | % { Remove-Item $_ -Force -Recurse }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (D:\.adds\kfmon\:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveI temCommand

Remove-Item : Cannot find path 'D:\.adds\koreader\' because it does not exist.
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules \Microsoft.PowerShell.Archive\Microsoft.PowerShell .Archive.psm1:411
char:46
+ ... $expandedItems | % { Remove-Item $_ -Force -Recurse }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (D:\.adds\koreader\:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveI temCommand

Remove-Item : Cannot find path 'D:\.adds\plato\' because it does not exist.
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules \Microsoft.PowerShell.Archive\Microsoft.PowerShell .Archive.psm1:411
char:46
+ ... $expandedItems | % { Remove-Item $_ -Force -Recurse }
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (D:\.adds\plato\:String) [Remove-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveI temCommand

Remove-Item : Cannot find path 'D:\.adds\koreader\bin\' because it does not exist.
At
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules \Microsoft.PowerShell.Archive\Microsoft.PowerShell .Archive.psm1:411
char:46
pnpires is offline   Reply With Quote