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

shell extensions / install for all users? #4261

Closed
mralusw opened this issue Feb 17, 2021 · 6 comments
Closed

shell extensions / install for all users? #4261

mralusw opened this issue Feb 17, 2021 · 6 comments

Comments

@mralusw
Copy link

mralusw commented Feb 17, 2021

I noticed that Scoop installs 7-zip anyway when installing nano, so I tried to replace the default 7-zip installation with Scoop. I uninstalled 7-zip from the Windows 10 Apps&Features, changed $Env:Scoop to C:\Programs\Scoop (which should be accesible systemwide), and reinstalled scoop & nano

I got a 7-zip item in the Start menu, but of course shell extensions (right-click context menu) are not available. I suppose they can be re-created somehow... Is this a good way to go? Can I use scoop as a global package manager for all users?

@mralusw mralusw changed the title shell extensions? shell extensions / install for all users? Feb 17, 2021
@mralusw
Copy link
Author

mralusw commented Feb 17, 2021

I should note that after scoop install nano, 7-zip is installed under C:\Programs\Scoop, and also appears in my user Start Menu, but does not appear in other users' Start Menu. Other users can run the executables, but don't have shortcuts installed in their Start Menu

@mralusw
Copy link
Author

mralusw commented Feb 17, 2021

... and I found a workaround by moving my Scoop directory from C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Scoop Apps and symlinking it back. Seems to work fine, all users get access to Scoop Start Menu entries.

@HUMORCE
Copy link
Member

HUMORCE commented Feb 22, 2021

if you want use external 7-zip:

scoop config 7ZIPEXTRACT_USE_EXTERNAL $true

help for global install:

Usage: scoop install <apps> [options]

Install apps

e.g. The usual way to install an app (uses your local 'buckets'):
  scoop install git
  scoop install extras/googlechrome

To install an app from a manifest at a URL:
  scoop install https://raw.githubusercontent.com/ScoopInstaller/Main/master/bucket/runat.json

To install an app from a manifest on your computer
  scoop install \path\to\app.json

Options:
  -h, --help                Show help for this command.
  -g, --global              Install the app globally.
  -i, --independent         Don't install dependencies automatically.
  -k, --no-cache            Don't use the download cache.
  -s, --skip                Skip hash validation (use with caution!).
  -a, --arch <32bit|64bit>  Use the specified architecture, if the app supports it.

7zip shell context menu:
screenshot_20210222191126

@mralusw
Copy link
Author

mralusw commented Feb 23, 2021

Thanks. I guess integration has to be configured separately, assuming the app has a menu to create filetype associations / shell extensions (like 7zip and IrfanView do)

So, install -g would add the app to the global \Program Data\...\Start Menu\Programs\ScoopApps (as opposed to somewhere under the user's %APPDATA%)?

@HUMORCE
Copy link
Member

HUMORCE commented Feb 23, 2021

@mralusw
Copy link
Author

mralusw commented Mar 6, 2021

That pretty much explains everything

@mralusw mralusw closed this as completed Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants