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

(sumatrapdf.install) /NoDesktop feature isn't working with a normal install #22

Closed
terax6669 opened this issue Jun 29, 2022 · 1 comment
Assignees
Labels
bug A package is not working correctly

Comments

@terax6669
Copy link

Expected Behavior

Using /NoDesktop should remove the desktop shortcut.

Current Behavior

Using /NoDesktop does not remove the desktop shortcut.

choco install --force sumatrapdf.install --package-parameters='/NoDesktop'
Chocolatey v1.1.0
Installing the following packages:
sumatrapdf.install
By installing, you accept licenses for the packages.
sumatrapdf.install v3.4.6 already installed. Forcing reinstall of version '3.4.6'.
 Please use upgrade if you meant to upgrade to a new version.
Progress: Downloading sumatrapdf.install 3.4.6... 100%

sumatrapdf.install v3.4.6 (forced) [Approved]
sumatrapdf.install package files install completed. Performing other installation steps.
Installing SumatraPDF system wide for all users
To revert back to a single user install, use --package-parameters='"/UserLevelInstall"'
Installing 64-bit sumatrapdf.install...
sumatrapdf.install has been installed.
Did not find  C:\Users\T\Desktop\SumatraPDF.lnk

Possible Solution

Remove the shortcut from C:\Users\Public\Desktop

Steps to Reproduce

  1. choco install sumatrapdf.install --package-parameters='/NoDesktop'

Your Environment

  • Package Version used: 3.4.6
  • Operating System and version: Win 11
  • Chocolatey version: 1.1.0
  • Install/uninstall gist (optional) :
@terax6669 terax6669 added the bug A package is not working correctly label Jun 29, 2022
@TheCakeIsNaOH
Copy link
Owner

@terax6669 I've pushed a new version with a fix: https://community.chocolatey.org/packages/sumatrapdf.install/3.4.6.20220629

It was an oversight when adapting the package for the install for all users option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A package is not working correctly
Projects
None yet
Development

No branches or pull requests

2 participants