Silent Install procedure

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

JamesPatageule
User
Posts: 16
Joined: Wed Apr 01, 2009 10:20 am

Silent Install procedure

Post by JamesPatageule »

Hi all,

I have found some informations in the forum to perform a silent install of PDF-Xchange Viewer, but do you think it is possible to sum-up them into a new post (post-it ?) in the forum ?

It will be easy and useful for anyone to have centralized informations ... Like which file download (exe, msi, ...) and with all available options.

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

Re: Silent Install procedure

Post by Paul - PDF-XChange »

That certainly seems like a reasonable request. I'll see what I can put together.

Paul
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7445
Joined: Wed Mar 25, 2009 10:37 pm

Re: Silent Install procedure

Post by Paul - PDF-XChange »

Rather than re-invent the wheel I though I'd make this a collection of resources rather than an exhaustive 'howto'. I'll add to this over time.

Silent Install resources
so far this is just a list of other posts that have relevent information.

What else would you like to see on here?
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
JamesPatageule
User
Posts: 16
Joined: Wed Apr 01, 2009 10:20 am

Re: Silent Install procedure

Post by JamesPatageule »

Thanks for the links, but i was speaking about a sum-up of all this informations.

I found all informations i need in forums and documentation it's true, but sometimes it's better to have this sum-up in the head of the forum. All users can read it and don't open some duplicates threads.
Yavor
User
Posts: 1
Joined: Mon May 18, 2009 3:34 pm

Re: Silent Install procedure

Post by Yavor »

Hi all,

I am trying to silent install pdf xchange viewer (latest 2.0.41.5) with following setup

1. Install is performed by SCCM with admin rights, using the following batch file:

Code: Select all

:: initialize variables
set _out="c:\logs\pdfxvwer_20415_out.log"
set _err="c:\logs\pdfxvwer_20415_err.log"
set _log="c:\logs\pdfxvwer_20415.log"

PDFXVwer.exe /verysilent /norestart /loadinf="pdfx.inf" /dir="%programfiles%/pdf-xchange-viewer" /log=%_log% 1>>%_out% 2>>%_err%

:: import registry kyes
%systemroot%\regedit /s pdfx_open.reg
%systemroot%\regedit /s pdfx_ie.reg
%systemroot%\regedit /s pdfx_ff.reg

2. During the install an inf file is read with following content

Code: Select all

[Setup]
Lang=en
Dir=C:\Program Files\PDF-XChange Viewer
Group=PDF-XChange PDF Viewer
NoIcons=0
SetupType=custom
Components=pdfviewer,help,languagess,ieaddin,ffaddin
Tasks=associate,associate\dispalyindrowser
3. As you see above in (1), I use three .reg files in an attempt to set all things for user profiles, so no message pops up when user tries to open a pdf file and also, pdf files are displayed in both browsers (Firefox 3.x and IE):

pdfx_open.reg

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.pdf]
@="PDF-XChangeViewer.1"
"PerceivedType"="document"
"Content Type"="application/pdf"

[HKEY_CLASSES_ROOT\.pdf\OpenWithList]

[HKEY_CLASSES_ROOT\.pdf\OpenWithList\PDFXCview.exe]
@=""
pdfx_ff.reg

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Tracker Software\PDFViewer\FileAssociations]
"DisplayInBrowser"=dword:00000001
"FullBeforeInstall"="HKCR

{

}

HKCU

{

	NoRemove Software

	{

		NoRemove Microsoft

		{

			NoRemove Windows

			{

				NoRemove CurrentVersion

				{

					NoRemove Explorer

					{

						NoRemove FileExts

						{

							NoRemove .pdf

							{

								val Progid = s ''

								val Application = s ''

							}

						}

					}

				}

			}

		}

	}

}

"
"MimeBeforeInstall"=""


and pdfx_ie.reg

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{C5D07EB6-BBCE-4DAE-ACBB-D13A8D28CB1F}]
@="PDF-XChange Viewer IE-Plugin"
"NoExplorer"=dword:00000001
No matter how hard I try I cannot avoid popup message to ask if pdf xchange viewer should be made default pdf viewer and also pdfs are not displayed in browsers. Users have no admin rights and therefore cannot set default viewer.

Is there any documented procedure which can help me in this quest, I am constantly trying to solve this for more than few weeks now and nothing really useful is foreseeable...

Thanks in advance
Yavor
JamesPatageule
User
Posts: 16
Joined: Wed Apr 01, 2009 10:20 am

Re: Silent Install procedure

Post by JamesPatageule »

Hello,

There is a problem with lastest version (42).

The shell extention plugin is included into the installer, but no way to find the parameter to install it in the documentation (v41.5)

Is it possible to have this parameter for the silent install please ?

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

Re: Silent Install procedure

Post by Paul - PDF-XChange »

Thanks James,

you can try the following: /COMPONENTS="pdfviewer,LiveUpdate,Help,ShellExtensions"

Obviously you would choose the components you want. This is not yet in the documentation.

regards
Best regards

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