How to install License Key automatically

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers only - Please do not post requests for older versions of PDF-XChange or the PDF-Tools/OFFice2PDF applications here

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange

Becker99
User
Posts: 3
Joined: Mon Apr 20, 2009 6:40 am

How to install License Key automatically

Post by Becker99 »

Hello,

i have installed the Viewer-Pro and XChange4 via Group-Policy Software distribution.
Unfortunately the embedded license was not recognized, so all installations are trials now.
How can i insert the license via scripting after installing?

thanks.
Alexander Becker
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3604
Joined: Thu Jul 08, 2004 10:36 pm

Re: How to install License Key automatically

Post by Ivan - Tracker Software »

Did you use .msi for deployment ?
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Becker99
User
Posts: 3
Joined: Mon Apr 20, 2009 6:40 am

Re: How to install License Key automatically

Post by Becker99 »

Sure, I did, nothing else works with GPO distribution.
I added the properties KEY, ORGANIZATION, USERMAIL and USERNAME via a MST transformation file.
Unfortunately the registration was not distributed to the clients.

Is there any way to insert the key into the existing installation autmoatically via script?

thanks,
Alexander Becker
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3604
Joined: Thu Jul 08, 2004 10:36 pm

Re: How to install License Key automatically

Post by Ivan - Tracker Software »

You can write it to the registry.

Registry path is HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software\PDFViewer\Registration,
key name Key, type - string.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Becker99
User
Posts: 3
Joined: Mon Apr 20, 2009 6:40 am

Re: How to install License Key automatically

Post by Becker99 »

Okay, this seems to work.
But one have to pay attention that eventually existing values inside HKEY_CURRENT_USER are catched before HKLM.

For anyone who needs this, here are two .reg templates for importing via script, one at computer start time (HKLM) and one at login time (HKCU)

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software]

[HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software\PDF-XChange 4.0]

[HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software\PDF-XChange 4.0\Drivers]
"UserName"="Your Name"
"Organization"="Your Organization"
"UserEmail"="[email protected]"
"RegCode"="XXXXX-XXXX-XXXXX-XXXXX-XXXXX-XXXXX"

[HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software\PDFViewer\Registration]
"Name"="Your Name"
"EMail"="[email protected]"
"Organization"="Your Organization"
"Key"="XXXXX-XXXX-XXXXX-XXXXX-XXXXX-XXXXX"

[HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software\PDFWizards4\Settings\Application\User]
"Name"="Your Name"
"Company"="Your Organization"
"Email"="[email protected]"
"RegCode"="XXXXX-XXXX-XXXXX-XXXXX-XXXXX-XXXXX"

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Tracker Software]

[HKEY_CURRENT_USER\SOFTWARE\Tracker Software\PDF-XChange 4.0]

[HKEY_CURRENT_USER\SOFTWARE\Tracker Software\PDF-XChange 4.0\Drivers]
"UserName"="Your Name"
"Organization"="Your Organization"
"UserEmail"="[email protected]"
"RegCode"="XXXXX-XXXX-XXXXX-XXXXX-XXXXX-XXXXX"

[HKEY_CURRENT_USER\SOFTWARE\Tracker Software\PDFViewer\Registration]
"Name"="Your Name"
"EMail"="[email protected]"
"Organization"="Your Organization"
"Key"="XXXXX-XXXX-XXXXX-XXXXX-XXXXX-XXXXX"

[HKEY_CURRENT_USER\SOFTWARE\Tracker Software\PDFWizards4\Settings\Application\User]
"Name"="Your Name"
"Company"="Your Organization"
"Email"="[email protected]"
"RegCode"="XXXXX-XXXX-XXXXX-XXXXX-XXXXX-XXXXX"
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7457
Joined: Wed Mar 25, 2009 10:37 pm

Re: How to install License Key automatically

Post by Paul - PDF-XChange »

nice
Best regards

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