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

[Bug]: SmartTaskbar install error and add-startup script error #13256

Open
3 tasks done
bingis-khan opened this issue May 8, 2024 · 0 comments
Open
3 tasks done

[Bug]: SmartTaskbar install error and add-startup script error #13256

bingis-khan opened this issue May 8, 2024 · 0 comments
Labels

Comments

@bingis-khan
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

smarttaskbar

Expected/Current Behaviour

While installing, there is an error. However, the program is installed as expected.

add-startup script return with an error (as shown below).

Steps to Reproduce

PS C:\Users\bingis-khan> scoop install smarttaskbar 
Installing 'smarttaskbar' (1.4.5) [64bit] from 'extras' bucket
Checking hash of SmartTaskbar_Setup.exe ... ok. 
Extracting SmartTaskbar_Setup.exe ... done. 
Running installer script... 
Select-Object : Property "Path" cannot be found. 
At line:1 char:38 
+ ...  shortcut_folder $global | Select-Object -ExpandProperty Path | Split ... 
+                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo          : InvalidArgument: (C:\Users\bingis...rams\Scoop A  
   pps:PSObject) [Select-Object], PSArgumentException 
    + FullyQualifiedErrorId : ExpandPropertyNotFound,Microsoft.PowerShell.Comm  
   ands.SelectObjectCommand 
Linking ~\scoop\apps\smarttaskbar\current => ~\scoop\apps\smarttaskbar\1.4.5    
Creating shim for 'SmartTaskbar'. 
Making C:\Users\bingis-khan\scoop\shims\smarttaskbar.exe a GUI binary. 
Creating shim for 'smarttaskbar-add-startup'. 
Creating shim for 'smarttaskbar-remove-startup'. 
Creating shortcut for SmartTaskbar (SmartTaskbar.exe) 
Persisting SmartTaskbar.exe.config 
'smarttaskbar' (1.4.5) was installed successfully! 
Notes 
----- 
Run 'smarttaskbar-add-startup' to add SmartTaskbar to startup programs. 
At C:\Users\bingis-khan\scoop\apps\smarttaskbar\current\smarttaskbar-add-startu 
p.ps1:5 char:1 
+ $wsShell.Save() 
+ ~~~~~~~~~~~~~~~ 
    + CategoryInfo          : OperationStopped: (:) [], UnauthorizedAccessExce  
   ption 
    + FullyQualifiedErrorId : System.UnauthorizedAccessException 
  
SmartTaskbar has been added to the startup programs. 
Run smarttaskbar-remove-startup to remove from startup. 

PS C:\Users\bingis-khan> smarttaskbar-add-startup.cmd 
Unable to save shortcut "C:\SmartTaskbar.lnk". 
At C:\Users\bingis-khan\scoop\apps\smarttaskbar\current\smarttaskbar-add-startu 
p.ps1:5 char:1 
+ $wsShell.Save() 
+ ~~~~~~~~~~~~~~~ 
    + CategoryInfo          : OperationStopped: (:) [], UnauthorizedAccessExce  
   ption 
    + FullyQualifiedErrorId : System.UnauthorizedAccessException 
  
SmartTaskbar has been added to the startup programs. 
Run smarttaskbar-remove-startup to remove from startup.

Possible Solution

Fix the bucket install script I guess?

Scoop and Buckets Version

Current Scoop version:
d285bb08 (HEAD -> master, tag: v0.4.1, origin/master, origin/HEAD) chore(release
): Bump to version 0.4.1 (#5924)
 
'main' bucket: 
2ad70a104 (HEAD -> master, origin/master, origin/HEAD) nodejs@22.1.0: Fix hash (
Closes #5808)
 
'extras' bucket: 
2a3c57e44 (HEAD -> master, origin/master, origin/HEAD) teamviewer: Update to ver
sion 15.53.7
 
'versions' bucket: 
4d681bdce (HEAD -> master, origin/master, origin/HEAD) php83: Update to version 
8.3.7
 
'nonportable' bucket: 
643ca6c4 (HEAD -> master, origin/master, origin/HEAD) 10x-np: Update to version 
1.0.158
 
'games' bucket: 
68a3b1db0 (HEAD -> master, origin/master, origin/HEAD) ryujinx: Update to versio
n 1.1.1298

Scoop Config

last_update                       scoop_branch scoop_repo 
-----------                       ------------ ----------
2024-05-08T16:05:19.9605864+02:00 master       https://github.com/ScoopInstaller/Scoop

PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.19041.4291
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.4291
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

@bingis-khan bingis-khan added the bug label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant