Page 1 of 1

Installing on Win10 x64 with MSI automation

Posted: Thu Jun 29, 2017 11:12 am
by christensen kjærulff
I have a few issues when trying to do an automated install of PDF X-Change Editor using the MSI installer.

Running the command "Msiexec.exe /i EditorV6.x64.msi /qb- /norestart KEYFILE="\\unc\path\to\xcvault file" result in an error during installation of the PDF Printer part:
Windows complains about "The printer driver is not compatible with a policy enabled on your computer that blocks NT 4.0 drivers".

After the install, the license file have not been adapted into the program, and I have verified that the file exists.

Anyone with clues how to fix this?

EDIT: Added x64 to the MSI file, as i am using the 64bit installer

Re: Installing on Win10 x64 with MSI automation

Posted: Thu Jun 29, 2017 12:19 pm
by Tracker Supp-Stefan
Hello Christensen Kjærulff,

Thanks for the post and report. I have to pass this to a colleague from the Canadian office to look at. It's still the middle of the night there - so we will post back here in this topic once we have further advise, but this will happen a bit later!

Regards,
Stefan

Re: Installing on Win10 x64 with MSI automation

Posted: Thu Jun 29, 2017 4:15 pm
by Ivan - Tracker Software
First of all, about the key file - the path specified in KEYFILE property should be available and accessible for the account which is used for installation. Please check that this share is available for all required accounts.

In regards driver installation issue: can you please add an option LOGINSTALL="1" to the command line, and send us a file prninstaller.log that can be found in user's (or system's) temp folder ?

Re: Installing on Win10 x64 with MSI automation

Posted: Fri Jun 30, 2017 8:51 am
by christensen kjærulff
I worked around the keyfile issue by using Keydata instead, works just as fine.

The content of prnInstall.log is:
Session PrnInstaller (build from May 20 2017) at [30.06.2017 10:43.53]

Command line: '/L /I_D_R_M_P /Z /N "PDF-XChange Lite V6"'
Processor architecture: AMD64
OS Version=3
Uninstall Parameters 0x0.
Install Parameters 0x1E0.
Selected Printer Name: 'PDF-XChange Lite V6'.
Recognized Parameters Flags: 0x128500
Print Spooler Service status: Ok [Running]
Module filename: C:\Program Files\Tracker Software\PDF-XChange Lite 6\Drivers\PrnInstaller.exe
Source folder: C:\Program Files\Tracker Software\PDF-XChange Lite 6\Drivers\
Setup file: C:\Program Files\Tracker Software\PDF-XChange Lite 6\Drivers\PrnInst.inf
Destination folder (PrinterDriverDirectory): <C:\WINDOWS\system32\spool\DRIVERS\x64\>
Print Spooler Service status: Ok [Running]
Using PortMonDLL 'x64\pxcpm5L.dll' for port 'PXC5L'
System folder: C:\WINDOWS\system32\
Copying PortMonDLL:'C:\Program Files\Tracker Software\PDF-XChange Lite 6\Drivers\x64\pxcpm5L.dll' => 'C:\WINDOWS\system32\pxcpm5L.dll' - Ok
Adding PortMonitor for port <PXC5L> - Ok
ProcessorName in [Strings] section not defined
Will install printer driver for Windows x64 platform with current platform Windows x64.
Destination folder (PrinterDriverDirectory): <C:\WINDOWS\system32\spool\DRIVERS\x64\>
Reading files list from Files.X64 section.
Copying:'C:\Program Files\Tracker Software\PDF-XChange Lite 6\Drivers\x64\mxdwdrv.dll' => 'C:\WINDOWS\system32\spool\DRIVERS\x64\mxdwdrv.dll' - Ok
Copying:'C:\Program Files\Tracker Software\PDF-XChange Lite 6\Drivers\x64\pxcdrv5L.dll' => 'C:\WINDOWS\system32\spool\DRIVERS\x64\pxcdrv5L.dll' - Ok
Copying:'C:\Program Files\Tracker Software\PDF-XChange Lite 6\Drivers\x64\xpssvcs.dll' => 'C:\WINDOWS\system32\spool\DRIVERS\x64\xpssvcs.dll' - Ok
Copying:'C:\Program Files\Tracker Software\PDF-XChange Lite 6\Drivers\x64\pxc5-PipelineConfig.xml' => 'C:\WINDOWS\system32\spool\DRIVERS\x64\pxc5-PipelineConfig.xml' - Ok
drv.cVersion = 4
drv.pName = PDF-XChange V6 Printer Driver (Lite)
drv.pEnvironment = Windows x64
drv.pDriverPath = C:\WINDOWS\system32\spool\DRIVERS\x64\mxdwdrv.dll
drv.pDataFile = C:\WINDOWS\system32\spool\DRIVERS\x64\pxcdrv5L.dll
drv.pConfigFile = C:\WINDOWS\system32\spool\DRIVERS\x64\pxcdrv5L.dll
drv.pHelpFile =
drv.pDependentFiles = mxdwdrv.dll
drv.pDefaultDataType = RAW
rezult ( 0 )
Printer Driver not installed Error: 0x00078A /Printerdriveren er ikke kompatibel med en politik, der er aktiveret på computeren, og som blokerer NT 4.0-drivere.

Deleting file: C:\WINDOWS\system32\spool\DRIVERS\x64\mxdwdrv.dll - Ok
Deleting file: C:\WINDOWS\system32\spool\DRIVERS\x64\pxcdrv5L.dll - Ok
Deleting file: C:\WINDOWS\system32\spool\DRIVERS\x64\xpssvcs.dll - Ok
Deleting file: C:\WINDOWS\system32\spool\DRIVERS\x64\pxc5-PipelineConfig.xml - Ok
Problems with AddPrinter. Error code: 0x000705 /Printerdriveren kendes ikke.

Try to install Printer <PDF-XChange Lite V6> by inf file 'C:\Program Files\Tracker Software\PDF-XChange Lite 6\Drivers\PDF-XChange_w2k.inf'.
I chose only to paste the last section of the file.

This PC is a Windows 10 x64 with danish localization.

Re: Installing on Win10 x64 with MSI automation

Posted: Fri Jun 30, 2017 10:14 am
by Tracker Supp-Stefan
Hello christensen kjærulff,

Thanks for this - can you please also archive and attach the whole log file - as Ivan might need all of it for the investigation?

Thanks,
Stefan

Re: Installing on Win10 x64 with MSI automation

Posted: Fri Jun 30, 2017 12:53 pm
by christensen kjærulff
Tracker Supp-Stefan wrote:Hello christensen kjærulff,

Thanks for this - can you please also archive and attach the whole log file - as Ivan might need all of it for the investigation?

Thanks,
Stefan
The file have been attached to this response.
prnInstaller.zip

Re: Installing on Win10 x64 with MSI automation

Posted: Fri Jun 30, 2017 3:19 pm
by Tracker Supp-Stefan
Thanks for this Christensen Kjærulff,

Will make sure to pass it to Ivan!

Cheers,
Stefan

Re: Installing on Win10 x64 with MSI automation

Posted: Fri Jun 30, 2017 10:01 pm
by Roman - Tracker Supp
Hello Christensen,
Please unzip the attached file to an empty directory and run it there. The file contains a script to collect version information of some your system files.
Send us the Output.txt file this will generate.

Re: Installing on Win10 x64 with MSI automation

Posted: Mon Jul 03, 2017 1:10 pm
by christensen kjærulff
Roman - Tracker Supp wrote:Hello Christensen,
Please unzip the attached file to an empty directory and run it there. The file contains a script to collect version information of some your system files.
Send us the Output.txt file this will generate.
The resulting file :)

Re: Installing on Win10 x64 with MSI automation

Posted: Mon Jul 03, 2017 4:34 pm
by Roman - Tracker Supp
Hello Christensen,
This is a known case. The issue is caused by a system bug. You have an interim version of a system file. Microsoft has already fixed it.
See here for details.

Re: Installing on Win10 x64 with MSI automation

Posted: Fri Jul 07, 2017 9:08 am
by christensen kjærulff
Roman - Tracker Supp wrote:Hello Christensen,
This is a known case. The issue is caused by a system bug. You have an interim version of a system file. Microsoft has already fixed it.
See here for details.
I can confirm that using the reset feature of Windows 10 to completely reinstall the OS will trigger this error.

However, updating to latest official build did not fix the issue for me, the systemfile does not seem to get updated.
Tried copying the file from a working windows 10, but that did not seem to work (regsrv32 doesnt work on this file either)
Windows 10 build: 15063.447

Re: Installing on Win10 x64 with MSI automation

Posted: Fri Jul 07, 2017 12:04 pm
by Will - Tracker Supp
Hi christensen,

Did you try downloading from the link in the KB article, or did you just use Windows Update? If the latter, please try installing the update via the link in the KB.

Thanks,

Re: Installing on Win10 x64 with MSI automation  SOLVED

Posted: Fri Jul 07, 2017 1:24 pm
by christensen kjærulff
Yes I did, it just told me "thank you for updating".

However, I found a solution that might be helpfull for others that experience this error.

This is what I did.:
  • Renamed C:\windows\system32\spool\drivers\x64\3\mxdwdrv.dll to mxdwdrv.old (always use rename incase it didnt work and you want the original file back)
  • Found a file with same name in one of the GUID subfolders of c:\windows\system32\spool\drivers\x64
  • Verified the file version (10.0.15063.138) differed from the faulty one (10.0.15063.0)
  • Copy the file to C:\windows\system32\spool\drivers\x64\3
Note these steps requires administrative rights.

Install PDF XChange editor, no errors and the PDF printer was installed.

Re: Installing on Win10 x64 with MSI automation

Posted: Fri Jul 07, 2017 2:27 pm
by Tracker Supp-Stefan
Hello christensen kjærulff,

Glad to hear you found a solution!
And thanks for sharing it with everyone else!

Cheers,
Stefan

Re: Installing on Win10 x64 with MSI automation

Posted: Wed Oct 04, 2017 7:18 pm
by adiebriggs
Thanks for this, it really helped.

I had the same problem after having to run the windows recovery.
The knowledgebase article solutions didn't help - perhaps it needs to be updated with these added as a hint?

Re: Installing on Win10 x64 with MSI automation

Posted: Thu Oct 05, 2017 9:55 am
by Tracker Supp-Stefan
Hello adiebriggs,

Glad to hear this helped you as well!
As this is more of an issue on Microsoft's side - I would rather not include this in the ticket, but will have a discussion with colleagues in the team, and if it is found useful - we will update the KB article!

Regards,
Stefan