![]() |
#1 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Install/Uninstall Windows 10 calibre
I had occasion last week to install 2.53 32bit calibre alongside 2.54 64 bit calibre. I saw what I needed to see and then uninstalled 2.53 32bit.
After which I noticed when I used Windows Open With a couple of times it referenced non-existent files in Programs Files (X86)\Calibre2. Today I saw it about 3 times, so decided to figure out why, to my surprise I discovered there were approximately 150 dead values in the registry, viz: I'd rather they weren't put there in the first instance, perhaps an opt-out option could be included for File Associations on the Product features screen at install time, similar to the opt-outs for desktop shortcut and start menu items. Most (all ?) my audio, video and image tools offer something like this Oh, and on the final occasion the presence of the spurious entries in the Open With list caused me to click on the wrong thing that cascaded in problem that will take quite a lot of elapsed time to 'fix' - like a couple of days. The effected program has lousy (non-existent) error recovery - I should replace it, but... I've used it for nigh 20years, and I have yet to find anything better, even at a non-affordable price ![]() BR Last edited by BetterRed; 04-13-2016 at 07:16 AM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You want to delete them, run
calibre-debug --default-programs=unregister Windows uninstall cannot do it for you because it default program registry is per user and the uninstall is run at the system account. Dont ask me why windows is designed like this. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I would prefer not to have to do the above for every new release. BTW when I ran it I got this Qt: Untested Windows version 10.0 detected! presumably nothing to worry about.
What is the rationale for calibre.exe being associated with all those file types, i.e. why would I want to open a DOCM (word document with embedded macros) with calibre.exe. If I want a quick way to add a file to a library from a file manager, Windows Send To is far more convenient, firstly it works for any file type not just file types 'calibre can convert', and its only one shortcut (.lnk file) in the Send To folder. I uninstalled FastPictureViewer recently, I no longer use it, I know its file associations (RAW, CR2 etc) were removed because I subsequently gave them to Irfanview. I would have definitely noticed had it left 'dead' entries in the Open With list. It's also an msi install. BR |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sigh, how many times do I need to repeat this. calibre does not associate itself with *any* file types. It only tells windows what filetypes it is *capable* of handling.
And as for IrfanView, it will be creating system wide file associations -- a practice that Microsoft themselves say applications should not do. Finally, you do not need to run it every time, only if you decide to switch between 32 bit installs and 64 bit installs, though why you would do so, more than once, I haven't the foggiest. |
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Kovid, I appreciate they are not the default associations, but I'm referring to entries such this: HKEY_USERS\S-1-5-21-3755760686-4144392507-2264908130-1000\SOFTWARE\Classes\calibre.AssocFile.DOCM - of which there are about 150.
They effect what's displayed in the Windows 10 File Explorer Open With offer list, if they are not removed when the program is uninstalled they still appear in that list with reference to .exe.s that no longer exist. I don't recall this happening on Windows 7, but it does happen on Windows 10. Why do I sometimes install 32bit calibre - mainly to support people in my local community who use calibre - at least a dozen of them. Many have poor English skills, others are intimated by forums such as this -- or both. Occasionally I copy their configuration folders and libraries onto one of my machines and then use the 32bit edition of the version of calibre they are using to resolve their problems -- without disturbing my setup. I also do similar for a couple of people who do frequent this forum. I assume MS still recommends that the registry entries created by an Install be removed when the corresponding Uninstall is executed. If MS don't provide the wherewithal to do that then perhaps the Install should offer the user the possibility of not creating the entries in the first place. I normally don't worry much about entries not being removed from the registry when something is uninstalled, but in this instance their continued presence impacts on one of the basic features of Windows - File Explorer->Open With. Well, it's basic for those of us who start with the data and use Open With to select the required program. BR Last edited by BetterRed; 04-13-2016 at 08:49 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the portable calibre for 32 bits IIRC that does not create open with associations. Only a full install does that.
|
![]() |
![]() |
![]() |
#7 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
So, I've put the HKEY_USERS\S-1-5-21blahblah into RegEdits Favourites and I'll set a watch on "Program Files (x86)\calibre2" to remind me to 'clean' the registry immediately after I install calibre 32bit. BR |
|
![]() |
![]() |
![]() |
#8 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
IIRC opening another location (HD, Pendrive)with Portable is not a problem.
All that happens, is it does nor remember where you were between sessions |
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
And here, specially for you: https://github.com/kovidgoyal/calibr...6a759ed9100bce
|
![]() |
![]() |
![]() |
#10 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
![]() ![]() BR Last edited by BetterRed; 04-13-2016 at 11:10 PM. |
||
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,075
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Any idea what could cause Windows to get confused about it? (Other than 'lots of things'? :-)) I've had my Windows box try to open ZIP files with the calibre main program once. Easy to fix of course, and it hasn't returned, but I sure didn't tell it to do that...
|
![]() |
![]() |
![]() |
#12 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,914
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
"It's Windows" covers sooooo many things
![]() I just ended up with all the supported Formats of ebook-viewer becoming the shown Icon I was looking for where they moved the Change Icon (for a file type) fro where it was in <= W7, and I may have done an OK where I usually cancel (when I am just snooping) I did discover W10 HAS a place to bulk assign formats to a program (don't ask me to find again, fast ![]() Re: Magic changes I suspect some of these were the 'next' in line on the Open with list and 'W' muffed an update and when the update dropped them (instead of replaced/overwrite) when Calibre updated. I have seen a rash of now it is broken,,,now it is working again... in W10 |
![]() |
![]() |
![]() |
#13 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Maybe, at some time you right clicked a ZIP and selected Open With because you wanted to open it with something other than the default program. Calibre would have been in the 'open with what' list (somewhere near the top), you inadvertently selected it and didn't uncheck the use this as default box. It seems to be much easier (far too much IMO) to change the Default via the Win10 Open With than it was in Win7. I'd rather have a discrete right click option to Change Default Program. The other day I noticed that Sigil appears in the Open With offer list for PDF's ![]() BR Last edited by BetterRed; 04-14-2016 at 05:48 PM. |
|
![]() |
![]() |
![]() |
#14 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
File associations on windows are an uholy mess. There are layers and layers of places in the registry where they can be setup. Historically, they were windows explorer specific, then some time IIRC Vista or 7 they were moved to a more global location in the registry, then, in 7 there was an entirely separate layer called "Default Programs" setup. And that's just in the backend.
The mess in the backend creates an even bigger mess in the frontend -- there are literally dozens of ways in which you can change the file association for files in windows. In windows world it is *common* for end user programs to change file associations both in installers and silently in the background. And I mean change the actual association, not just register themselves as capable of handling a format. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why can`t I install Calibre on my Windows 7 computer | dayrae | Calibre | 9 | 08-03-2017 10:41 AM |
Calibre refuses to uninstall WINDOWS 7 | djpeterso23662 | Calibre | 1 | 05-16-2013 03:14 PM |
Cannot install Calibre 8.6 in Windows 7 | polarbearx | Calibre | 5 | 07-26-2012 09:39 AM |
Why can't I install Calibre on Windows 7 ? | Joypeace3 | Calibre | 1 | 01-24-2012 12:50 PM |
Cannot install calibre in windows 7 | chirotor | Calibre | 20 | 12-18-2010 06:05 AM |