You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Chocolatey Package uses deprecated function for Desktop Link when Chocolatey Version >= 1.0.0 #1480
Hi! Thanks for reporting this feature/bug/question!
Please keep / fill in the relevant info from this template so that we can help you as best as possible.
Type (choose one):
Bug
NPE version: (e.g. 5.x) (see Help -> about)
OS version: (Windows 7, 10 - 1803/17134, etc)
Windows 10 Installed from: Microsoft Store / Chocolatey.org / Zip on GitHub / CI channel
In case of a BUG:
What is the current result? Chocolatey version 1.0.0 fails to install because Install-ChocolateyDesktopLink has been removed.
What is the expected result? The package installs correctly, with a desktop link
Please post full exception details in case of an Exception (message, stacktrace, inner exceptions).
PS C:\choco-setup\files> choco install nugetpackageexplorer -y
Chocolatey v1.0.0 Business
2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).
Validation Warnings:
- A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable -name=exitOnRebootDetected
or pass the option --exit-when-reboot-detected.
Installing the following packages:
nugetpackageexplorer
By installing, you accept licenses for the packages.
Progress: Downloading NugetPackageExplorer 6.0.27... 100%
NugetPackageExplorer v6.0.27 [Approved]
nugetpackageexplorer package files install completed. Performing other installation steps.
ERROR: The term 'Install-ChocolateyDesktopLink' 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.
The install of nugetpackageexplorer was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\NugetPackageExplorer\ChocolateyInstall.ps1'.
See log for details.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- nugetpackageexplorer (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\NugetPackageExplorer\ChocolateyInstall.ps1'.
See log for details.
PS C:\choco-setup\files>
Are there any workarounds? yes/no
Is there a version in which it did work?
Is there a package on Nuget.org which shows the bug?
Activity
(NuGetPackageExplorer#1480) Fix desktop shortcut in Chocolatey
Merge pull request #1481 from steviecoaster/gh1480