How to enable preview using Sumatra, while using Acrobat as default PDF editor

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
xyuser2020
Posts: 5
Joined: 11 Mar 2019 05:53

How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by xyuser2020 »

I am trying to use Sumatra as the default preview pane reader in XYPlorer, while keeping Acrobat as the default program to view and edit PDF files.

For this, I have found used ShellExView to find the CLSID for the SumatraPDF Preview Shell Extension and am trying to add the following extension to the Previewed Formats:

Code: Select all

pdf>{3D3B1846-CC43-42AE-BFF9-D914083C2BA3}
Unfortunately, that just results in the following error message:

Code: Select all

---------------------------
XYplorer 20.90.0700
---------------------------
The extension "pdf>{3D3B1846-CC43-42AE-BFF9-D914083C2BA3}" contains invalid characters.
---------------------------
What can I do to enable previewing PDF files in XYPlorer using Sumatra?

Thanks.

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by highend »

You can only add this to the "User-Defined Preview Handlers" category, not to any other (they will only accept file extensions)...
One of my scripts helped you out? Please donate via Paypal

xyuser2020
Posts: 5
Joined: 11 Mar 2019 05:53

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by xyuser2020 »

Hi highend,

Somehow I missed out on thanking you for your time and suggestions. I tried out your suggestion in July, but somehow could not get it to work. I guess, the problem lay more in my inexperience than in the suggestion.

Tentatively, I have given up on the PDF preview and simply double-click the file to check out the first page, if required. Will try out your suggestion again, during the X'mas break. :-)

Thank you for trying to help me out.

insight
Posts: 30
Joined: 29 Apr 2020 10:44

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by insight »

highend wrote: 19 Jul 2020 08:35 You can only add this to the "User-Defined Preview Handlers" category, not to any other (they will only accept file extensions)...
Need to use Sumatra for ePub Previews

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by Horst »

I use this tool to assign preview handler from the installed list.
https://docs.microsoft.com/de-de/archiv ... ion-editor
Works perfect here and no need for any Registry searching and maipulation.

I have SumatraPDF assigned for PDFs in Windows
and set the PDF-XChange previewer for previewing PDFs.
So double clicking opens SumatraPDF and preview is made with PDF-XChange.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

insight
Posts: 30
Joined: 29 Apr 2020 10:44

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by insight »

Horst wrote: 24 Mar 2021 18:10 I use this tool to assign preview handler from the installed list.
https://docs.microsoft.com/de-de/archiv ... ion-editor
Works perfect here and no need for any Registry searching and maipulation.

I have SumatraPDF assigned for PDFs in Windows
and set the PDF-XChange previewer for previewing PDFs.
So double clicking opens SumatraPDF and preview is made with PDF-XChange.
Wow. Interesting and probably ancient from 2006 and maybe EOL like RichCopy & RoboCopy.

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by admin »

Horst wrote: 24 Mar 2021 18:10 I use this tool to assign preview handler from the installed list.
https://docs.microsoft.com/de-de/archiv ... ion-editor
Works perfect here and no need for any Registry searching and maipulation.

I have SumatraPDF assigned for PDFs in Windows
and set the PDF-XChange previewer for previewing PDFs.
So double clicking opens SumatraPDF and preview is made with PDF-XChange.
Sounds interesting but when I run PreviewHandlerEditor.exe I see this:
2021-04-24_114233.png
2021-04-24_114233.png (13.29 KiB) Viewed 2260 times
Strange, because I have .NET 4.8.03761 on my system. :? Any idea?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by highend »

You need to enable the .NET Framework 3.5 feature via Control panel - Turn Windows features on or off... - Wizard
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by admin »

Thanks. I assumed .NET was downward compatible. :roll:

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by highend »

Not with 3.5^^
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by admin »

It forced my to download stuff for minutes, and then this:
2021-04-24_124522.png
2021-04-24_124522.png (8.7 KiB) Viewed 2251 times
Link goes to this page where my error code does not exist: https://docs.microsoft.com/en-US/troubl ... tion-error

Thank you, Windows. Just great.

Horst
Posts: 1085
Joined: 24 Jan 2021 12:27
Location: Germany

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by Horst »

admin wrote: 24 Apr 2021 12:48 It forced my to download stuff for minutes, and then this:
2021-04-24_124522.png

Link goes to this page where my error code does not exist: https://docs.microsoft.com/en-US/troubl ... tion-error

Thank you, Windows. Just great.
First I would try it after a reboot.
If this doesn't help try an Offline Installation of .NET 3.5
https://sourceforge.net/projects/framework-3-offline/
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69

admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by admin »

OK, I'll try that later, thanks.

insight
Posts: 30
Joined: 29 Apr 2020 10:44

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by insight »

Is this method working well still?

With 32 / 64 bit versions of XYP | PDF X | Sumatra ?

Which combinations of the above 32 vs/w 64 would work or not with XYP?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: How to enable preview using Sumatra, while using Acrobat as default PDF editor

Post by highend »

All combinations work

Configuration | Other | Shell Integration | 64-bit Windows | [x] Use 64-bit preview handlers for preview
Configuration | Other | Shell Integration | 64-bit Windows | [x] Fall back to preview handlers of the other bitness

should be ticked if you use e.g. Sumatra 64-bit
One of my scripts helped you out? Please donate via Paypal

Post Reply