Settings / config backup and restore

The PDF-XChange Viewer for End Users
+++ FREE +++

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

auser
User
Posts: 30
Joined: Thu Jan 13, 2011 9:26 pm

Settings / config backup and restore

Post by auser »

Hi,
I use the free version of the pdfxchange viewer. I'd like to automate the backup and restore of my custom settings using a .reg file. This thread https://forum.pdf-xchange.com/ ... ilit=where says the settings are in the registry, but this thread https://forum.pdf-xchange.com/ ... ere#p25413 says settings cannot be applied by importing the registry info into the registry.

Is this still true? If so, is there another way I can automate backing up and restoring my settings?

Thank you.
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Settings / config backup and restore

Post by Paul - PDF-XChange »

Hi auser,

in both those articles we recommend using the export/import settings to file feature of the Viewer and that is still the best way to do this. The problem as I see it is that this would be automating it.

All the settings are stored in HKEY_CURRENT_USER\Software\Tracker Software\PDFViewer and it's sub keys. You could try automating export of those.

I'd be interested in hearing how that goes for you.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
auser
User
Posts: 30
Joined: Thu Jan 13, 2011 9:26 pm

Re: Settings / config backup and restore

Post by auser »

Thanks for the reply. Of course, automating the export/import of that key would not be a problem, in fact it's what I was hoping to do when I started looking into this. However, if it's not a known good way of backing up and restoring settings, I wouldn't want to count on it and have something go wrong.
Jamie - Tracker Supp
User
Posts: 191
Joined: Thu Jun 02, 2011 3:23 pm

Re: Settings / config backup and restore

Post by Jamie - Tracker Supp »

Hi auser,

I wouldn't rule it out. Try using the reg keys for your automated solution and use the import/export function as a backup until you are satisfied it works reliably.


Please let us know how it goes! :D
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7443
Joined: Wed Mar 25, 2009 10:37 pm

Re: Settings / config backup and restore

Post by Paul - PDF-XChange »

Hi auser,

well I feel like a twit. I had it in my head that this didn't exist /exportp, but it does.
/exportp This command exports current viewer’s settings into the file specified by
setting_file_name parameter.
- page 20 of the Viewer manual.

You could call that then close the Viewer in a script. This is a much better option.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com