VMware Horizon Community
TomH201110141
Enthusiast
Enthusiast
Jump to solution

FTA breaks Acrobat Reader

I have noticed a very strange behavior with FTA: when using FTA we can not open PDF files anymore by double-click.

What happens:

I have defined an FTA for PDF files to get opened by Acobat Reader DC. When the user now makes a double-click on a PDF file the Actobat Reader gets triggered and opens itself but does NOT open the PDF file.

But you can go within Acrobat Reader to Files --> Open and then select a PDF to open and it opens. You can also do drag & drop to open a PDF file, that works too ... but not with a double-click.

Acrobat Reader itself seems not to see PDFs associated to itself, because in the top right corner Acrobat itself offers to associate PDF with the program (see screenshot). And if you try to associate you will fail (although it seems to be associated)- the problem remains.

TomH201110141_0-1680169603410.png

 

I did a lot of tests:

1. Comparing the output of Dism.exe /online /Export-DefaultAppAssociations:C:\DefaultAssoc.xml with FTA to Acrobat Reader and without (manual association by user): there is no difference, both XML files are identical - without any "Association Identifier=".pdf ..."

2. Comparing Registry settings:

[HKEY_CLASSES_ROOT\.pdf]
@="pdf_auto_file"
"Content Type"="application/pdf"

TomH201110141_2-1680170265646.png

 

AND THERE IS THE PROBLEM: In the key [HKEY_CLASSES_ROOT\.pdf] is a default value named "pdf_auto_file". This value breaks everything and it's set by DEMs FTA function.

Removing this value restores the correct functionality: you can reapply the FTA manually to PDF and doing a double-click opens PDF files by Actobat Reader and the Reader recognizes that PDFs are associated to him.

0 Kudos
1 Solution

Accepted Solutions
DEMdev
VMware Employee
VMware Employee
Jump to solution

Hi @TomH201110141,

Thank you for the config files.

Can you try setting Arguments to "%1", like this:

DEMdev_0-1680776551404.png

When Windows launches the associated executable, it will replace that %1 with the fully-qualified path of the file.

 

View solution in original post

4 Replies
DEMdev
VMware Employee
VMware Employee
Jump to solution

Hi @TomH201110141,

Which version of DEM are you using? Can you share the DEM FTA config file?

0 Kudos
TomH201110141
Enthusiast
Enthusiast
Jump to solution

@DEMdev Thank you for reply!

DEM version: 2209 

Horizon: 2212 (8.8)

It makes no difference whether you install Acrobat in 32 or 64-bit version.

FTAs are attached.

0 Kudos
DEMdev
VMware Employee
VMware Employee
Jump to solution

Hi @TomH201110141,

Thank you for the config files.

Can you try setting Arguments to "%1", like this:

DEMdev_0-1680776551404.png

When Windows launches the associated executable, it will replace that %1 with the fully-qualified path of the file.

 

TomH201110141
Enthusiast
Enthusiast
Jump to solution

Thank you @DEMdev, the Argument works very good!