Forum moved here!

Home / No preview in Windows Explorer

oooforum

In Windows explorer, if I enable preview panel

Sumatra don’t display any content.
Error : preview not available

Tested with Sumatra 3.1.2 and Win 7 x64 Pro edition

GitHubRulesOK

Work fine as intended here on Win 7 x64, double checked by reinstall 3.2.1

oooforum

Your version is 3.2.1 Pre-release
I mention to be in 3.1.2
I don’t find this parameter in options

GitHubRulesOK

Especially for you I unistalled see “no preview” in right hand preview pane at top
then ran 64 bit 3.1.2 installer from https://www.sumatrapdfreader.org/download-free-pdf-viewer.html all works as expected, if I select preview options
NOTE it only previews PDF not a “link” to a program such as VLC

oooforum

OK works fine now.
Annoying to not have this feature into Sumatra directly.
If you forget to enable this option when install, you must re-download to do it.

GitHubRulesOK

Since this is a frequently visited topic and there have been changes please note the following points.
The discussion above was about Preview Pane but it is the same system dll used to Show thumbnails of files on desktop and also when installed can be used by MS Outlook.

If your system is 64bit use 64bit installer UNLESS you are going to attempt to hook into a 32bit Outlook in which case you need 32bit.
This point alone needs careful consideration, attempting to use both causes problems, less common now to see 32bit Outlook but it can be the root of preview conflicts.

SumatraPDF installer by default does not show the extra system hooking/ integrating options that need to both be extracted and registered.

Press the options button in the bottom left thats why it is there
image
image

Check the option to Let Windows show previews and importantly consider if this impacts other users, IF there will be other users then install into common \Program Files\ i.e. NOT the application default of a personal area.

Unknow0059

Is there some way to enable this in a portable install?

GitHubRulesOK

Yes any previewers can be installed seperately, and there are several for Explorer or Outlook but so as to work as a server they require locking it into the registry, why not simply install along with any other benefits.

Unknow0059

I like not to have my programs be locked onto one place in my drive, which is what happens if I install them. If I ever want to move them I’d have to uninstall and reinstall to avoid problems, which is annoying.
How do I install them separately (from SumatraPDF)?

GitHubRulesOK

Several of Windows / Microsoft own previewers include PDF some with extra features such as zoom. Installing previewers normally requires elevated privilege, and you still need to uninstal the previewer when done with it. You can’t simply pull the directory or drive.

All of the above is why you install to a fixed system directory with full user privileges.

If you need to uninstall a previous loaded dll the command (via register as server) is

regsvr32 /U “path to dll”

to install simply don’t use the /U

but do research, why you are advised not to use it ad hoc, unless you have to.

Unknow0059

I was planning on just using the previewer SumatraPDF offers, but if Microsoft offers a better one, I should use that.

What is it called? The only one that shows up when I google “pdf previewer” is the Acrobat one. I would rather keep using SumatraPDF as my PDF reader - I just want the previewer.

GitHubRulesOK

Microsoft one is an optional old version with dependancies on older .net frameworks so for your use not recommended. But if its active to avoid conflict you may need to “uninstall it” :slight_smile:

SumatraPDF one is fairly light and reasonably dependable, but is only “fit page” and vertical scrollbar. Some users complain at the lack of any other feature.

The most popular alternative is probably the one from Foxit, but I dont know its features. I does look like the older 3rd party Foxit one also used .net frameworks so it may have been based on the Microsoft methods.

Unknow0059

Ok, where can I get the SumatraPDF PDF previewer for File Explorer, so that I can use “register as server” to install it?

GitHubRulesOK

Is it not obvious :cry: its in the installer :rofl:
Be very very cautious to use the /d option in addition to the /x

Unknow0059

Ah, so I can’t install the previewer separate from the program, given that it’s bundled alongside it in an installer. Ok, thanks.

GitHubRulesOK

the /x option allows to extract without install ( use /h on a cmd line) but dont change the installer name and if you dont want the extracted files to disapear to an odd part of the system then use /d for a folder
Also decide if its really just 32 or 64 bit you need (both MAY work on occasion but is unsupported)

Unknow0059

I registered the PDFPreview.dll and restarted my computer but I don’t see any previews in the Preview Panel when I click on a PDF file.

GitHubRulesOK

Ok this is where it gets more interesting,
The previewer is expecting to use its own default PDF handler, (one reason to install them together from the same stable).
Naturally I have SumatraPDF.exe in Program Files for x64 by default.
I am uncertain which is the trigger, placement of the .exe along with the .dll or more likely the default association of all .pdf files with that .exe as the handler.
So the question is do you NEED to use a .reg un.reg entry for the pdf handler ? that would take some time for me to unload all traces, but for you it is a nogo / go situation, you just need to pair loading and unloading that .exe file location.

It can get messy crossing reg entries from one setup to another, as there is the potential to bork a good working setup.

I would be tempted to find a clean machine ( which i dont have at present) and do a dummy install just to check a working preview with registry locations. then export those settings to a .reg file (also deleting the entries carefully)
restart and reintroduce each .reg until there is a sign of a preview

Unknow0059

Do I need to use a registry file to register an entry in the registry? I don’t know. You tell me.

I have never, ever had PDF files be previewed on my system, so I also don’t know what you’re talking about when you say I need a clean machine to get the registry locations of the working preview. The only preview I had that worked was from PDF ShellTools which I - got because I didn’t have any - and uninstalled because the trial ended.

GitHubRulesOK

Well If you are not using a current previewer on that machine it helps.

Currently I have removed my half dozen (bad on my part to have several) working SumatraPDF ones and testing with another (really poor and slow one) so I can try to add back the registry entries I deleted and see how that helps

How are PDF files opened on your PC ? what happens if you doubleclick a pdf and if it opens why? do they open in Edge as the default PDF handler ?