Install option for display in browser not respected
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
mathog
- User
- Posts: 34
- Joined: Tue Jan 05, 2010 4:48 pm
Install option for display in browser not respected
Upgraded 54.0 to 190.0 today. Allowed the default option to install the browser plugins and then used
[X] set PDF-Xchange viewer as default
[ ] display in browser
These are multiuser machines. I personally dislike viewing PDF files in plugins, I would rather a separate application opened, but other people have the opposite preference.
The problem was, after the installation clicking on a PDF file in a browser brought up the plugin PDF viewer. The only way I could find to not display in the browser was to not install any of the browser plugins.
So...
1. please fix the installer to respect the "display in browser" selection
2. How does one toggle "display in browser" on a user by user basis? I mean, other than by using
something like the "add on" tools in Firefox to disable the plugin. Is there not a setting within PDF-Xchange viewer itself?
Thanks.
[X] set PDF-Xchange viewer as default
[ ] display in browser
These are multiuser machines. I personally dislike viewing PDF files in plugins, I would rather a separate application opened, but other people have the opposite preference.
The problem was, after the installation clicking on a PDF file in a browser brought up the plugin PDF viewer. The only way I could find to not display in the browser was to not install any of the browser plugins.
So...
1. please fix the installer to respect the "display in browser" selection
2. How does one toggle "display in browser" on a user by user basis? I mean, other than by using
something like the "add on" tools in Firefox to disable the plugin. Is there not a setting within PDF-Xchange viewer itself?
Thanks.
-
Paul - PDF-XChange
- Site Admin
- Posts: 7445
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Install option for display in browser not respected
Hi mathog
the settings are stored on a per-user basis in the registry under HKEY_CURRENT_USER. You should be able to have each user select his preference in Edit --> Preferences --> File Associations --> Display PDF in Browser.
When this is done on a Terminal Server it sets up the default preferences in HKEY_LOCAL_MACHINE. When a user logs in and starts PDF-XChange it looks for settings in the registry under HKEY_CURRENVT_USER, if it finds none it copies them from LOCAL_MACHINE.
You mentioned that this is a multiuser environment, is this a Terminal server or Workstations with multiple users? Can you tell me the OS (XP/Vista/Win7/W2k3/W2k8/W2K8R2 etc) you are doing this on and as which user did you perform the installation? I am going to have to reproduce this in order to correct it so these details are quite important.
regards
the settings are stored on a per-user basis in the registry under HKEY_CURRENT_USER. You should be able to have each user select his preference in Edit --> Preferences --> File Associations --> Display PDF in Browser.
When this is done on a Terminal Server it sets up the default preferences in HKEY_LOCAL_MACHINE. When a user logs in and starts PDF-XChange it looks for settings in the registry under HKEY_CURRENVT_USER, if it finds none it copies them from LOCAL_MACHINE.
You mentioned that this is a multiuser environment, is this a Terminal server or Workstations with multiple users? Can you tell me the OS (XP/Vista/Win7/W2k3/W2k8/W2K8R2 etc) you are doing this on and as which user did you perform the installation? I am going to have to reproduce this in order to correct it so these details are quite important.
regards
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
mathog
- User
- Posts: 34
- Joined: Tue Jan 05, 2010 4:48 pm
Re: Install option for display in browser not respected
Windows XP SP3Paul - Tracker Supp wrote: You mentioned that this is a multiuser environment, is this a Terminal server or Workstations with multiple users? Can you tell me the OS (XP/Vista/Win7/W2k3/W2k8/W2K8R2 etc) you are doing this on and as which user did you perform the installation? I am going to have to reproduce this in order to correct it so these details are quite important.
As Administrator, using the "Check for Updates" method from within the Viewer.
-
mathog
- User
- Posts: 34
- Joined: Tue Jan 05, 2010 4:48 pm
Re: Install option for display in browser not respected
No wonder I couldn't find it. The plugin has no "File Associations" option! It works as you describe from the standalone program.Paul - Tracker Supp wrote: You should be able to have each user select his preference in Edit --> Preferences --> File Associations --> Display PDF in Browser.
Oops, I take that back, as a regular user the "Display PDF in Browser" box is NOT checked in the standalone program either, yet it does start when a PDF is clicked in the browser. (Both Firefox and Seamonkey). Looks like it isn't an installer bug but an application or plugin bug.
Thanks
-
Paul - PDF-XChange
- Site Admin
- Posts: 7445
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Install option for display in browser not respected
Hi again mathog,
that switch is a toggle and on occasion I have seen where is needed to be set a couple of times to take. There are command line arguments that can be called to force this:
If you have no luck using the GUI to toggle this, try a few times before giving up, maybe it would be practical to have the users launch the Viewer from the command line once, or maybe a script?
that switch is a toggle and on occasion I have seen where is needed to be set a couple of times to take. There are command line arguments that can be called to force this:
Code: Select all
PDFXCview.exe /makeassoc:web=false&webonly=yes // disables plugins only, association for PDF-files not be changedBest regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
mathog
- User
- Posts: 34
- Joined: Tue Jan 05, 2010 4:48 pm
Re: Install option for display in browser not respected
The GUI toggle is very strange. When I check it and click "OK" or "Apply" it pops up the "Run As" dialog with "Current User" checked. Strange, as of course the program is already running. Anyway, click OK. Exit and reenter application - and it is unchecked. Neither OK nor Apply will do anything when it is like that, and checking and unchecking doesn't change that.Paul - Tracker Supp wrote:Hi again mathog,
that switch is a toggle and on occasion I have seen where is needed to be set a couple of times to take. There are command line arguments that can be called to force this:
If you have no luck using the GUI to toggle this, try a few times before giving up, maybe it would be practical to have the users launch the Viewer from the command line once, or maybe a script?Code: Select all
PDFXCview.exe /makeassoc:web=false&webonly=yes // disables plugins only, association for PDF-files not be changed
Tried the command line as shown and it caused an error message:
'webonly' is not recognized as an internal or external command,
operable program or batch file.
Leaving off the "&webonly=yes" did not trigger the error, and it did bring up the "Run As" dialog. However, the
browser is still opening the plugin. Tried it again and used the Administrator instead of local user, and that didn't stop the plugin from starting for the local user, nor for the Administrator account, when the browser was run under that.
What is the REGISTRY key? I will try modifying that directly and see if sticks that way.
Thanks.
-
mathog
- User
- Posts: 34
- Joined: Tue Jan 05, 2010 4:48 pm
Re: Install option for display in browser not respected
Tried a bunch of combinations like:
but no luck so far. Every clicked PDF link opens the browser plugin.
Page 20 of the manual is vague on the workings of makeiassoc. I assumed that it works like
makeassoc with a web parameter. If that switch invoked alone, with no "web=" is enough to turn on the plugin in the the browser, there is no documented
/makenoiassoc
to turn it off again.
Code: Select all
PDFXCview.exe /makeassoc:web=no
PDFXCview.exe /makeiassoc:web=yes
Page 20 of the manual is vague on the workings of makeiassoc. I assumed that it works like
makeassoc with a web parameter. If that switch invoked alone, with no "web=" is enough to turn on the plugin in the the browser, there is no documented
/makenoiassoc
to turn it off again.
-
Paul - PDF-XChange
- Site Admin
- Posts: 7445
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Install option for display in browser not respected
Hi again mathog
I seem to be having issues doing this also in the current build. I will need to investigate this further, it may be a bug, but before going there I want to go over this with my dev team.
thanks for your patience...
I seem to be having issues doing this also in the current build. I will need to investigate this further, it may be a bug, but before going there I want to go over this with my dev team.
thanks for your patience...
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
mathog
- User
- Posts: 34
- Joined: Tue Jan 05, 2010 4:48 pm
Re: Install option for display in browser not respected
One of the text commands seems to have permanently set the check box in the GUI toggle. Before it was unset and nothing I could do in the GUI would cause it to stay set. Now it is set and nothing I do causes it to stay unset.Paul - Tracker Supp wrote: I seem to be having issues doing this also in the current build. I will need to investigate this further, it may be a bug, but before going there I want to go over this with my dev team.
At least it is consistent in its obstinance!
-
mathog
- User
- Posts: 34
- Joined: Tue Jan 05, 2010 4:48 pm
Re: Install option for display in browser not respected
Found work arounds in this thread (at the bottom):
https://forum.pdf-xchange.com/ ... =35&t=8897
For Firefox:
menu->tools->options->applications->PDF-XChange Viewer Doc. It was set to: Use PDF-XChange Viewer (in Browser). Change to use the standalone application.
For Seamonkey:
menu->Edit-> browser -> helper applications->application/PDF. Was set to "Always Ask", change to
"Use PDF-XChange Viewer".
IE seems to be working on its own now. Maybe the command line commands set that up properly. (I never use IE myself.)
Note that both Firefox and Seamonkey previous to the upgrade were opening the external application, so something about the upgrade made a mess of that.
https://forum.pdf-xchange.com/ ... =35&t=8897
For Firefox:
menu->tools->options->applications->PDF-XChange Viewer Doc. It was set to: Use PDF-XChange Viewer (in Browser). Change to use the standalone application.
For Seamonkey:
menu->Edit-> browser -> helper applications->application/PDF. Was set to "Always Ask", change to
"Use PDF-XChange Viewer".
IE seems to be working on its own now. Maybe the command line commands set that up properly. (I never use IE myself.)
Note that both Firefox and Seamonkey previous to the upgrade were opening the external application, so something about the upgrade made a mess of that.
-
Paul - PDF-XChange
- Site Admin
- Posts: 7445
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Install option for display in browser not respected
Thanks mathog
very useful.
We have a Ticket for this investigation (internal only) RT#745: Install option for display in browser not respected
very useful.
We have a Ticket for this investigation (internal only) RT#745: Install option for display in browser not respected
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
Paul - PDF-XChange
- Site Admin
- Posts: 7445
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Install option for display in browser not respected
Hi mathog,
I must apologize, I misunderstood how this works. I thought the 'Display in Browser' was per user. It seems that it is not.
The dev team have responded that:
thanks for your patience.
I must apologize, I misunderstood how this works. I thought the 'Display in Browser' was per user. It seems that it is not.
The dev team have responded that:
I've asked for confirmation on the Installer whether the Check Box to not display in Browser has been addressed. I'll get back when I have an answer.Currently "Display in Browser" works in the same way for all users in a system.
In the new version (V3, V3+) we will try to implement this option per user individually: so, in the future(!) one user can set "Display in Browser"="true" and other user can set "Display in Browser"="false" on the same machine.
thanks for your patience.
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com