http://bugs.winehq.org/show_bug.cgi?id=20060
Summary: PDFPrint Pro fails to install Product: Wine Version: 1.1.29 Platform: PC URL: http://www.fineprint.com/release/pdf351pro.exe OS/Version: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Noticed a user write in http://talkback.zdnet.com/5208-12554-0.html?forumID=1&threadID=69179&... that "I don't have access to some software anymore. Most notably PDF Factory pro (in my opinion one of the best pieces of software ever written) and tax software. So I maintain a dual boot XP for when I need to do some heavy lifting PDF-ing, or tax filing."
So I downloaded PDFFactory Pro and tried installing it.
pdf351pro.exe, sha1sum e9baefc05c5242347291ae7ad2627904d151eb57, is freely downloadable from the vendor. When you run it, it complains
fixme:localspl:validate_envW unsupported Environment: L"Windows IA64" ... 001c:Call user32.MessageBoxA(00020048,0033f104 "This version of pdfFactory Pro is for Windows NT4/2000/XP/2003/Vista.\n\nYou can download other versions of pdfFactory Pro at www.pdffactory.com.",0033f074 "pdfFactory Pro",00010010) ret=2800cfe7
You can unpack the installer with rar. It contains a Readme.txt that mentions that the 32 and 64 bit installers were combined into a single downloadable just four days ago, so maybe there are some bugs left. It also contains setup.exe and setup-x64.exe. Running setup.exe reproduces the problem with a shorter log.
http://bugs.winehq.org/show_bug.cgi?id=20060
--- Comment #1 from Dan Kegel dank@kegel.com 2009-09-15 17:34:20 --- Created an attachment (id=23614) --> (http://bugs.winehq.org/attachment.cgi?id=23614) WINEDEBUG=+relay,+text,+reg,+process wine setup.exe
http://bugs.winehq.org/show_bug.cgi?id=20060
--- Comment #2 from Dan Kegel dank@kegel.com 2009-09-15 19:37:50 --- The vendor says the installer seems to think it's running on windows 9X, probably because some bit of Windows NT-ish print infrastructure is missing.
This product is a printer driver. Not sure how likely it is to work anyway.
http://bugs.winehq.org/show_bug.cgi?id=20060
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #23614|0 |1 is obsolete| |
--- Comment #3 from Detlef Riekenberg wine.dev@web.de 2009-10-21 16:16:58 --- Created an attachment (id=24271) --> (http://bugs.winehq.org/attachment.cgi?id=24271) +loaddll,+tid,+process,+snoop,+localspl,+relay,+reg,+shell,+winspool,+spoolss,+print,+text,+module
(In reply to comment #2)
The vendor says the installer seems to think it's running on windows 9X, probably because some bit of Windows NT-ish print infrastructure is missing.
"Windows IA64" is not the Issue (I prepare a Patch)
The missing "DevicePath" REG_EXPAND_SZ "%SystemRoot%\inf" in "HKLM\Software\Microsoft\Windows" is not the Issue.
This product is a printer driver. Not sure how likely it is to work anyway.
Not Yet. I'm restructuring the current code to have a better NT style printing base.
http://bugs.winehq.org/show_bug.cgi?id=20060
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de
http://bugs.winehq.org/show_bug.cgi?id=20060
--- Comment #4 from Detlef Riekenberg wine.dev@web.de 2009-10-23 08:36:41 --- I asked the "PDF Factory Pro" support (FinePrint.com), what the installer is using to detect the OS as NT/W2K/XP/Vista.
The answer (within some hours): we do not support wine.
I asked again with more details: ----- Thanks for your comment.
I know, that Wine is not supported. To get PDF Factory Pro working in Wine in the future, the Installation must work.
For some reason, PDF Factory Pro thinks, the OS is not XP and popup a Dialog:
002b:Call user32.MessageBoxA(00060072,0033f104 "This version of pdfFactory Pro is for Windows NT4/2000/XP/2003/Vista.\n\nYou can download other versions of pdfFactory Pro at www.pdffactory.com.",0033f074 "pdfFactory Pro",00010010) (Text build from resource ID 0x271d/10013 in fppr332.dll or fppr3-x64.dll)
I kindly ask you to tell the Wine community, what conitions (content of a File / Registry Entry / result of an API call or something else) are checked and produce the MessageBox, when the conditions failed.
Thank you for your Help. ----------
The answer (again within some hours) was: GetVersion
This is wrong, but the attached log ( http://bugs.winehq.org/attachment.cgi?id=24271 ) includes the answer:
7109: GetSystemDirectoryA 7111: FindFirstFileA("C:\windows\system32\user32.dll", 7127: GetFileVersionInfoSizeA("C:\windows\system32\user32.dll", 7156: GetFileVersionInfoA("C:\windows\system32\user32.dll", 7181: VerQueryValueA(xx, "\VarFileInfo\Translation", 7191: VerQueryValueA(xx, "\StringFileInfo\040904e4\ProductVersion",
The Installer is checking the ProductVersion resource of user32.dll
Lesson learned: - We can always ask, but the answer might be wrong
http://bugs.winehq.org/show_bug.cgi?id=20060
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|PDFPrint Pro fails to |PDF Factory Pro fails to |install |install
http://bugs.winehq.org/show_bug.cgi?id=20060
--- Comment #5 from Detlef Riekenberg wine.dev@web.de 2009-10-23 10:51:16 --- (In reply to comment #0)
it complains fixme:localspl:validate_envW unsupported Environment: L"Windows IA64"
My patch to recognize "Windows IA64" was accepted for Wine-1.1.32: http://source.winehq.org/git/wine.git/?a=commitdiff;h=836ca7
001c:Call user32.MessageBoxA(00020048,0033f104 "This version of pdfFactory Pro is for Windows NT4/2000/XP/2003/Vista.\n\nYou can download other versions of pdfFactory Pro at www.pdffactory.com.",0033f074 "pdfFactory Pro",00010010) ret=2800cfe7
My patch to fix the outdated ProductVersion resource of user32.dll was accepted for Wine-1.1.32: http://source.winehq.org/git/wine.git/?a=commitdiff;h=6f6ce4a
The Installer crash now after GetPrinter with level 8 (8 is not supported yet).
GetPrinter is already on my ToDo list. I will take a look next weekend, after finish my current Work.
http://bugs.winehq.org/show_bug.cgi?id=20060
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #6 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-05-11 08:02:21 CDT --- Confirmed in 1.3.19
Fails with err:winspool:DeletePrinterDriverExW Can't open drivers key
http://bugs.winehq.org/show_bug.cgi?id=20060
--- Comment #7 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-05-11 08:02:59 CDT --- Created an attachment (id=34633) --> (http://bugs.winehq.org/attachment.cgi?id=34633) wine 1.3.19 console output
http://bugs.winehq.org/show_bug.cgi?id=20060
--- Comment #8 from Frédéric Delanoy frederic.delanoy@gmail.com 2012-02-11 08:44:44 CST --- Still in wine-1.4-rc2-118-g88ae2c1
http://bugs.winehq.org/show_bug.cgi?id=20060
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-05-23 10:06:33 CDT --- Installs correctly in wine-1.5.30-206-g2b8b64f
Note a SetPrinterW error message box appears (bug 33648 submitted for this)
http://bugs.winehq.org/show_bug.cgi?id=20060
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2013-05-24 13:32:11 CDT --- Closing bugs fixed in 1.5.31.