Scoop icon indicating copy to clipboard operation
Scoop copied to clipboard

Register installed apps

Open Ash258 opened this issue 5 years ago • 17 comments

When installing apps using scoop, these apps are not registered and cannot be set as default apps. (After some windows update there is no button "look for app on PC"). It need some "hacks" or app should support it in settings. (Winrar, potplayer, firefox, ...),

It would be basicly some Registry keys, which would be added on installing and removed on uninstalling.

Maybe new schema property (register: true/false or register" stringOrArrayOfString, like shortcuts, bins),

Def

Ash258 avatar Oct 06 '18 21:10 Ash258

AFAIK this should only be possible for globally installed apps (at least in windows 10 these are system wide defaults). Setting an app as a file-extension default for the current user can still be done via the FileExplorer "Open With" context menu entry. It would be nice if a reg file to do that would be supplied though...

~see Win10 Default Apps Documentation~ ~see File-Extension Registration~

also as already mentioned in #3176, IMHO it's best to use the installer for globally installed apps anyway

claudenobs avatar Feb 27 '19 14:02 claudenobs

I'm having this issue with VLC.

I'm on Windows 10, Version 1903, Build 18362.

I've tried installing VLC through Scoop locally and globally, with and without the sudo util. The only way I've been able to get it registered to Default apps is by using the official .exe installer.

Is this a problem with the VLC manifest?

shewlian avatar Aug 14 '19 22:08 shewlian

+1 When installing firefox with scoop, it is not available in the installed apps. This is especially inconvenient as it make it impossible to use installed app as default.

Example (Even if firefox is installed, it cannot be used as default browser): image

Info windows 10 - version 1903

g-berthiaume avatar Jan 05 '20 18:01 g-berthiaume

+1

kid1412621 avatar Feb 05 '20 01:02 kid1412621

any update on this?

onichandame avatar Mar 01 '20 12:03 onichandame

Hello! Does somebody work on this?

I understand that one could accomplish this (as a workaround) via manually registering registry keys as kindly pointed out there for e.g. the PowerShell: https://github.com/PowerShell/PowerShell/blob/af6d9fbe141848d14c17528c9b6becf0e81c713e/assets/Product.wxs#L237

7wells avatar Jan 12 '21 17:01 7wells

I understand that one could accomplish this (as a workaround) via manually registering registry keys as kindly pointed out there for e.g. the PowerShell: https://github.com/PowerShell/PowerShell/blob/af6d9fbe141848d14c17528c9b6becf0e81c713e/assets/Product.wxs#L237

Hi @7wells those sources appear to address a way to add context menus to explorer. Can you further explain how it's a workaround for registering scoop apps?

gluonman avatar Feb 05 '21 22:02 gluonman

I am also currently facing this issue, and honestly this is the only thing that is keeping me from using scoop all the time. Scoop being super convenient to use with just a few taps of the keyboard to install most if not all of my applications has almost spoiled me. It sometimes disgusts me going through an installer manually instead of letting scoop handle it. And if there was a way to add default apps I would be the happiest person on earth! Thanking @lukesampson in advance

Eyepan avatar Feb 06 '21 12:02 Eyepan

Is there any way at all that I can register an app installed via scoop such that I can then, for example, set Qutebrowser as my default browser? I broke my system trying to learn how to manually register a scoop-installed app myself, and the truth is I don't much know what I'm doing with these registry tweaks. As a Linux user, I always wondered why you couldn't just install an app in Windows from a repo using a quick CLI, and then when I found out about scoop I got really excited thinking Windows finally caught up to the rest of the OS world, but I'd have to call it a major "almost." Because Windows doesn't actually fully recognize the apps you install with scoop. I've had to uninstall all my scoop apps and just install them normally in order to have a functional system. So please let me know if I'm missing something in the way I'm supposed to be using scoop, and if not I think I'm just going to totally bail on it and check on it again in a couple of years.

gluonman avatar Mar 10 '21 00:03 gluonman

Have you read this document? Could it be helpful?

It seems that just exporting associations in an xml file, changing the desired associations there and re-importing the xml should solve this? Should it? I didn't try yet.

What do you think?

angelog0 avatar Dec 15 '21 17:12 angelog0

I created a repo with an example .reg script for adding Scoop Firefox to Window's default browser options.

https://github.com/amreus/scoop-default-browser

amreus avatar Jan 01 '22 16:01 amreus

That's great! Can you make a PR to submit it in Extras?

You can look at many examples to learn from, see vscode and its manifest in particular.

rashil2000 avatar Jan 01 '22 16:01 rashil2000

That's great! Can you make a PR to submit it in Extras?

Thanks. I can (busy today.) I consider the script in it's current state as a proof-of-concept which needs more features and testing.

amreus avatar Jan 01 '22 16:01 amreus

Sure, take your time :)

rashil2000 avatar Jan 01 '22 16:01 rashil2000

Ok I added the firefox manifest and .reg script to my small bucket if anyone would like to test.

https://github.com/amreus/bucket

amreus avatar Jan 08 '22 17:01 amreus

Does anyone have a way to make this work for globally installed pdf and office software?

grahamIT avatar Apr 10 '23 17:04 grahamIT

Some people don't want registry edits so hopefully we can warn people before they are made, or make this happen only if people opt in via a flag or only if people do a global install.

jcrben avatar Sep 15 '23 05:09 jcrben