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

Install-ChocolateyPinnedTaskBarItem not working #929

Closed
mwallner opened this issue Aug 24, 2016 · 3 comments
Closed

Install-ChocolateyPinnedTaskBarItem not working #929

mwallner opened this issue Aug 24, 2016 · 3 comments

Comments

@mwallner
Copy link
Member

part of boxstarter install-script:

Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\AccuRev\bin\acgui.exe"
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"

output:

 TaskBar verb not found for System.__ComObject. It may have already been pinned
 'C:\Program Files (x86)\AccuRev\bin\acgui.exe' has been pinned to the task bar on your desktop
 TaskBar verb not found for System.__ComObject. It may have already been pinned
 'C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\devenv.exe' has been pinned to the task bar on your deskt
op

a 'more simple testcase' also fails:

PS C:\Users\mwallner> Import-Module C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPinnedTaskBarItem.ps1
PS C:\Users\mwallner> Install-ChocolateyPinnedTaskBarItem C:\Windows\System32\calc.exe
TaskBar verb not found for System.__ComObject. It may have already been pinned
'C:\Windows\System32\calc.exe' has been pinned to the task bar on your desktop
@flcdrg
Copy link
Member

flcdrg commented Aug 24, 2016

Duplicate of #627

@bc3tech
Copy link
Contributor

bc3tech commented May 10, 2018

Today:

PS C:\WINDOWS\system32> Install-ChocolateyPinnedTaskBarItem "${env:LocalAppData}\Vivaldi\Application\vivaldi.exe"
Install-ChocolateyPinnedTaskBarItem : The term 'Install-ChocolateyPinnedTaskBarItem' is not recognized as the name of
a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ Install-ChocolateyPinnedTaskBarItem "${env:LocalAppData}\Vivaldi\Appl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Install-ChocolateyPinnedTaskBarItem:String) [], CommandNotFoundExceptio
   n
    + FullyQualifiedErrorId : CommandNotFoundException

This after being in the Boxstarter shell, which loads Boxstarter (v2.10.3) & Chocolatey modules.

Choco version: v0.10.11 professional

attn: @ferventcoder, @mwrock

@corbob
Copy link
Member

corbob commented Jun 30, 2022

Duplicate of #627

@corbob corbob marked this as a duplicate of #627 Jun 30, 2022
@corbob corbob closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants