Can't install Adobe Reader

Bug #1111610 reported by Pierre Rudloff
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Wine
Confirmed
Medium
wine1.4 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The Adobe Reader installer does not work with Wine :
"Setup was interrupted before Adobe Reader XI could be completely installed."

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: wine 1.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-22.34-generic 3.5.7.2
Uname: Linux 3.5.0-22-generic i686
ApportVersion: 2.6.1-0ubuntu10
Architecture: i386
Date: Thu Jan 31 17:47:11 2013
MarkForUpload: True
SourcePackage: wine1.4
UpgradeStatus: Upgraded to quantal on 2012-10-25 (97 days ago)

Revision history for this message
In , Przemek K. (azrael) wrote :

ms sql express 2005 fails to install.
$ wine SQLEXPR32.EXE
fixme:clusapi:GetNodeClusterState ((null),0x33ec9c,0) stub!

And then I'm getting a popup "Unable to find a volume for file extraction. Please verify that you have proper permissions"

So I unpacked it with cabextract and then I got:
:~/sqlexpr$ wine setup.exe
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),4,3,(nil),0,(nil)) - stub!
err:ole:CoGetClassObject class {ddacb012-db3a-432e-807d-66a0a3c7dffe} not registered
err:ole:CoGetClassObject no class object {ddacb012-db3a-432e-807d-66a0a3c7dffe} could be created for context 0x1

and a popup "setup failed"

Revision history for this message
In , Przemek K. (azrael) wrote :

Using Wine 0.9.59 on Ubuntu 7.10

Revision history for this message
In , Dan Kegel (dank) wrote :

The 'unable to find volume' problem is bug 5351.

Revision history for this message
In , Lei Zhang (thestig-google) wrote :

severity is not major.

Revision history for this message
In , Przemek K. (azrael) wrote :

Here's what happens on wine-1.0-rc1 (manually compiled on Ubuntu 7.10):
azrael@azrael-laptop:~/test$ /usr/local/bin/wine setup.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT"
err:module:import_dll Library MSVCR80.dll (which is needed by L"I:\\test\\setup.exe") not found
err:module:import_dll Library MSVCP80.dll (which is needed by L"I:\\test\\setup.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"I:\\test\\setup.exe" failed, status c0000135

Revision history for this message
In , Przemek K. (azrael) wrote :

and after installing vcrun2005 with winetricks:
azrael@azrael-laptop:~/test$ /usr/local/bin/wine setup.exe
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),4,3,(nil),0,(nil)) - stub!
err:ole:CoGetClassObject class {ddacb012-db3a-432e-807d-66a0a3c7dffe} not registered
err:ole:CoGetClassObject no class object {ddacb012-db3a-432e-807d-66a0a3c7dffe} could be created for context 0x1

Revision history for this message
In , James Hawkins (truiken) wrote :

(In reply to comment #5)
> and after installing vcrun2005 with winetricks:
> azrael@azrael-laptop:~/test$ /usr/local/bin/wine setup.exe
> fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),4,3,(nil),0,(nil)) - stub!
> err:ole:CoGetClassObject class {ddacb012-db3a-432e-807d-66a0a3c7dffe} not
> registered
> err:ole:CoGetClassObject no class object {ddacb012-db3a-432e-807d-66a0a3c7dffe}
> could be created for context 0x1
>

err's are not bugs in themselves. What is the *actual* problem? Are you still getting the 'setup failed' message box?

Revision history for this message
In , Przemek K. (azrael) wrote :

Yes. Setup failed, MS SQL Express won't install.

Revision history for this message
In , Przemek K. (azrael) wrote :

Same on Wine 1.1

Revision history for this message
In , Dan Kegel (dank) wrote :

Please don't change the reported version like that, it's supposed
to be the earliest version where the problem occurred.

Revision history for this message
In , Przemek K. (azrael) wrote :

ok

Revision history for this message
In , Austin English (austinenglish) wrote :

In git:

fixme:clusapi:GetNodeClusterState ((null),0x32ec9c,0) stub!
fixme:advapi:DecryptFileA "c:\\9a6a5d8393c3fac7fdc82b\\" 00000000

then says 'File is corrupt'.

Revision history for this message
In , Dan Kegel (dank) wrote :

*** Bug 17643 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Focht (focht) wrote :

Hello,

the culprit is most likely the mission delta compression API which Wine doesn't provide (living in mspatcha.dll component).

--- snip ---
...
0027:Call KERNEL32.GetSystemDirectoryA(0032f25c,00000104) ret=01003680
0027:Ret KERNEL32.GetSystemDirectoryA() retval=00000013 ret=01003680
0027:Call KERNEL32.LoadLibraryA(0032f464 "C:\\windows\\system32\\mspatcha.dll") ret=010036a5
0027:Ret KERNEL32.LoadLibraryA() retval=00000000 ret=010036a5
0027:Call KERNEL32.GetLastError() ret=0100484e
0027:Ret KERNEL32.GetLastError() retval=0000007e ret=0100484e
...
--- snip ---

Although the installer goes further from this point (error message displayed very late stage) I suspect this part to be the problem because the installer unpacks lots of delta patch type like files.

If you own Windows you could try to use native "mspatcha.dll" and see if it works around the problem (place it into system32).
If the error message is prevented by using native please do the following:

1.) Make sure you operate on clean WINEPREFIX
2.) Run the following command:

--- snip ---
WINEDEBUG=+tid,+seh,+snoop wine foo.exe >log.txt 2>&1
--- snip ---

3.) attach the log file to the bug.

That will at least tell us what API need to be stubbed/implemented first.

Useful information about the "Delta Compression Application Programming Interface" can be found here:

http://msdn.microsoft.com/en-us/library/ms811406.aspx

Regards

Revision history for this message
In , Dan Kegel (dank) wrote :

FWIW, winetricks msi2 will install a version of mspatcha.dll.

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

Setting component to msi, which is close enough for now.

Revision history for this message
In , Dpobanz (dpobanz) wrote :

While trying to install (wine 1.3.9) a box pops up that says:
"Failed to load SQLSpars.dll"

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

*** Bug 27017 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dpobanz (dpobanz) wrote :

Created attachment 36234
terminal output for wine 1.3.27

With Wine 1.3.27

There is a new error message. I hope that means the installtion is proceeding farther. The program crashes and a popup box says:

program Error
The program setup.exe has encountered a serious problem nd needs to close. We are sorry for the inconvenience.
This can be caused by problem in the program or deficiency in Wine ...

At the same time these lines apper on the terminal:

wine: Call from 0x7b839b22 to unimplemented function msvcp80.dll.??0?$basic_stringstream@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@H@Z, aborting

wine: Unimplemented function msvcp80.dll.??0?$basic_stringstream@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@QAE@H@Z called at address 0x7b839b22 (thread 0027), starting debugger...

(The attached file contains the full terminal output)

Revision history for this message
In , NSLW (nslw) wrote :

(In reply to comment #18)
> There is a new error message. I hope that means the installtion is proceeding
> farther.
I'm afraid not. See bug #28225 for more details.

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

*** Bug 28540 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

*** Bug 25755 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

*** Bug 28585 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Focht (focht) wrote :

Hello,

revisiting, refining summary, targeting stub.

--- snip ---
0024:Call KERNEL32.LoadLibraryA(0032f3ec "C:\\windows\\system32\\mspatcha.dll") ret=010036a5
0024:Call PE DLL (proc=0x20011e30,module=0x20010000 L"mspatcha.dll",reason=PROCESS_ATTACH,res=(nil))
...
0024:Call mspatcha.ApplyPatchToFileA(0032fa44 "c:\\d5766cdb1e150717cd66ffb31641\\_sfx_0000._p",0032fb48 "c:\\d5766cdb1e150717cd66ffb31641\\Setup\\Program Files\\Microsoft SQL Server\\x86\\Install\\sqlagent90_msdb_upgrade.sql",0032fc4c "c:\\d5766cdb1e150717cd66ffb31641\\Setup\\Program Files\\Microsoft SQL Server\\x86\\Install\\instmsdb.sql",00000000) ret=0100483a
...
0024:fixme:mspatcha:ApplyPatchToFileW stub - L"c:\\d5766cdb1e150717cd66ffb31641\\_sfx_0000._p", L"c:\\d5766cdb1e150717cd66ffb31641\\Setup\\Program Files\\Microsoft SQL Server\\x86\\Install\\sqlagent90_msdb_upgrade.sql", L"c:\\d5766cdb1e150717cd66ffb31641\\Setup\\Program Files\\Microsoft SQL Server\\x86\\Install\\instmsdb.sql", 00000000
...
0024:Ret mspatcha.ApplyPatchToFileA() retval=00000000 ret=0100483a
0024:Call KERNEL32.GetLastError() ret=0100484e
0024:Ret KERNEL32.GetLastError() retval=00000078 ret=0100484e
...
--- snip ---

"Delta Compression API"

MSDN: http://msdn.microsoft.com/en-us/library/bb417345.aspx

For the meantime I suggest to add a small, non-intrusive 'winetricks mspatcha' recipe.
Use "InstMsiA.exe" installer binary from "winetricks msi2" recipe (http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=CEBBACD8-C094-4255-B702-DE3BB768148F) and extract only "mspatcha.dll".
Replace mspatcha placeholder and set native override.

This way all installers that require functional mspatcha will work without having WINEPREFIX tainted too much with other stuff.

Besides native mspatcha, the installer currently needs 'winetricks vcrun2005' due to msvcp80.dll insufficiency.

$ sha1sum SQLEXPR32.EXE
edeb3fe40fd6f03087a55b3f4e08bac795f68436 SQLEXPR32.EXE

$ wine --version
wine-1.3.36-172-gb00e703

Regards

Revision history for this message
In , Focht (focht) wrote :

*** Bug 26010 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Djelinski1 (djelinski1) wrote :

Should we file in a new bug report for msvcp insufficiency? or will it be considered invalid because of mspatcha override?

With mspatcha and vcrun2005 installed the installer displays the first page. After that it complains about WMI configuration. The log contains these lines:

err:ole:CoGetClassObject class {cb8555cc-9128-11d1-ad9b-00c04fd8fdff} not registered
err:ole:create_server class {cb8555cc-9128-11d1-ad9b-00c04fd8fdff} not registered
err:ole:CoGetClassObject no class object {cb8555cc-9128-11d1-ad9b-00c04fd8fdff} could be created for context 0x5

This guid points to a class from wbemprox.dll.
I installed wmi via winetricks. After that the above guid is no longer present in logs, but the installer still complains about wmi and fails.

Revision history for this message
In , Austin English (austinenglish) wrote :

(In reply to comment #25)
> Should we file in a new bug report for msvcp insufficiency? or will it be
> considered invalid because of mspatcha override?

Please do.

Revision history for this message
In , Austin English (austinenglish) wrote :

(In reply to comment #23)
> For the meantime I suggest to add a small, non-intrusive 'winetricks mspatcha'
> recipe.
> Use "InstMsiA.exe" installer binary from "winetricks msi2" recipe
> (http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=CEBBACD8-C094-4255-B702-DE3BB768148F)
> and extract only "mspatcha.dll".
> Replace mspatcha placeholder and set native override.

http://code.google.com/p/winetricks/source/detail?r=782

Revision history for this message
In , Djelinski1 (djelinski1) wrote :

Created bug 30088 for msvcp and bug 30089 for wmi.

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

*** Bug 22890 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Hans-meelstraat (hans-meelstraat) wrote :

*** Bug 30231 has been marked as a duplicate of this bug. ***

Revision history for this message
Pierre Rudloff (rudloff) wrote :
Revision history for this message
In , Pierre Rudloff (rudloff) wrote :

Created attachment 43393
Log

The Adobe Reader installer does not work with Wine :
"Setup was interrupted before Adobe Reader XI could be completely installed."

Revision history for this message
In , Focht (focht) wrote :

Hello folks,

dupe of bug 12501

--- snip ---
fixme:mspatcha:ApplyPatchToFileW stub - L"C:\\users\\pierre\\Temp\\883e.tmp", L"C:\\Program Files\\Adobe\\Reader 11.0\\Reader\\plug_ins\\AcroForm.api", L"C:\\users\\pierre\\Temp\\8854.tmp", 00000000
err:msi:patchfiles_cb Failed patch L"C:\\Program Files\\Adobe\\Reader 11.0\\Reader\\plug_ins\\AcroForm.api": 120.
err:msi:ACTION_PatchFiles Failed to apply patch to file: L"a3dutils.dll"
err:msi:ITERATE_Actions Execution halted, action L"PatchFiles" returned 1603
err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603
--- snip ---

You need 'winetricks mspatcha' prerequisite.

Regards

*** This bug has been marked as a duplicate of bug 12501 ***

Revision history for this message
In , Focht (focht) wrote :

*** Bug 32857 has been marked as a duplicate of this bug. ***

Changed in wine:
importance: Unknown → Medium
status: Unknown → Invalid
Pierre Rudloff (rudloff)
Changed in wine:
importance: Medium → Unknown
status: Invalid → Unknown
Changed in wine:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Austin English (austinenglish) wrote :

*** Bug 33071 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Butraxz (butraxz) wrote :

Original bug was fixed, contains new bugs, shouldnt this then be closed as fixed ?

Revision history for this message
In , Bruno Gonçalves de Jesus (00cpxxx) wrote :

(In reply to comment #33)
> Original bug was fixed, contains new bugs, shouldnt this then be closed as
> fixed ?

The current summary problem remains as the function is not implemented:
http://source.winehq.org/source//dlls/mspatcha/mspatcha_main.c#L96

Revision history for this message
In , Focht (focht) wrote :

*** Bug 33471 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Bugs-winehq-org (bugs-winehq-org) wrote :

It looks like Microsoft's patch file format is described here: http://msdn.microsoft.com/en-us/library/cc483133.aspx

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wine1.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

After running...

winetricks mspatcha

...I was then able to install Adobe Reader X (version 10) using the Windows XP installer available at the time of writing from http://get.adobe.com/uk/reader/otherversions/ by running...

 wine AdbeRdr1014_en_US.exe

This then loads successfully and I've proven it loading and viewing PDFs.

Revision history for this message
In , Dpobanz (dpobanz) wrote :

Wine now extracts the files for the installation of 'Microsoft sql server express 2005' without 'winetricks mspatcha' as was needed in the past.

Revision history for this message
In , Gyebro69 (gyebro69) wrote :

Still an issue as of wine-1.7.9-165-g0ae7b5f.
I came across this bug when trying to install patch v1.01 to the game 'I am Alive' from Ubisoft. Installation was aborted during the 'patching game files' stage.
'winetricks mspatcha' is a workaround.

Revision history for this message
In , Austin English (austinenglish) wrote :
Revision history for this message
In , Gordan Bobic (gordan) wrote :

There appears to have been a regression of some sort between 1.7.21 (arrfab's repository) and 1.7.40 (DarkPlayer's repository). With 1.7.21, if I install native mspatcha.dll, I can install Adobe Reader 11 without problems. Witn 1.7.40 despite mspatcha.dll being installed and set to native, it fails with this in the terminal:

err:msi:ACTION_PatchFiles Failed to apply patch to file: L"a3dutils.dll"

I'm pretty sure this worked as recently as 1.7.38-ish, so this seems to be quite a recent regression.

Revision history for this message
In , Focht (focht) wrote :

Hello Gordan.

thanks for the report.
I've created bug 38398 to track the regression.

--- quote ---
There appears to have been a regression of some sort between 1.7.21 (arrfab's repository) and 1.7.40 (DarkPlayer's repository)
--- quote ---

When using Wine-Staging make sure you explicitly state it in *every* bug report/comment in Wine Bugzilla.

It's not that your reports/comments will be ignored but those will be looked upon with a grain of salt unless you can clearly demonstrate/reproduce them with mainline Wine.

Regards

Revision history for this message
In , Focht (focht) wrote :

Hello folks,

another link, giving a good overview of both, old PatchAPI ('mspatcha.dll') and newer Vista+ 'MSDelta' ('msdelta.dll'):

https://msdn.microsoft.com/en-us/library/bb417345.aspx

$ wine --version
wine-1.7.51-201-g60d1d6f

Regards

Revision history for this message
In , mr.larch (bunglehead) wrote :

*** Bug 39639 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dark-shadow4 (dark-shadow4) wrote :

Still present as of wine-3.0-rc5. Used Adobe Reader DC installer to test the issue.

Revision history for this message
In , Dark-shadow4 (dark-shadow4) wrote :

*** Bug 44642 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Focht (focht) wrote :

*** Bug 44642 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Ztirfe Elgnid (z-figura12) wrote :

*** Bug 45548 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Htl10 (htl10) wrote :

Still a problem with wine 3.17 - trying to install acrobat reader DC.

Revision history for this message
In , Focht (focht) wrote :

*** Bug 46136 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Operations-z (operations-z) wrote :

(In reply to Anastasius Focht from comment #50)
> *** Bug 46136 has been marked as a duplicate of this bug. ***

(In reply to Fabian Maurer from comment #45)
> Still present as of wine-3.0-rc5. Used Adobe Reader DC installer to test the
> issue.

Still present as of wine-3.20 staging. Used Adobe Acrobat Pro DC patch file to test the issue.

Revision history for this message
In , Focht (focht) wrote :
Download full text (7.4 KiB)

Hello folks,

revisiting. Rejoice! Progress has been made.

* https://source.winehq.org/git/wine.git/commitdiff/2aa494686133bf4c4b6b054a45bf1d1d429acdc5 ("mspatcha: Add functions to API header file.")

* https://source.winehq.org/git/wine.git/commitdiff/8695a6986ef2b7cae7c1f3247fec8e8e14de1971 ("mspatcha: Partially implement ApplyPatchToFileW and related functions.")

--- quote ---
This can patch non-executables and 64-bit executable files, but patching of 32-bit executables is not supported. They are subject to special processing which alters PE relocations to match with those in the old file to improve compression. To reverse this, the meaning of the decoding data must be interpreted. Details, including where to find that data in the patch file, are
included in pa19.c. Interleaved decompression of large files is also not supported.
--- quote ---

* https://source.winehq.org/git/wine.git/commitdiff/f8c25628266f025e01332b780c793d96d97dad25 ("mspatcha: Add stubs for signature and normalization functions.")

Thanks Conor so far!

Adding stable download link from Internet Archive for one of the smallest installers (MS SQL Server Express):

https://web.archive.org/web/20130318195510/http://download.microsoft.com/download/6/C/7/6C7458CA-8B07-411E-9E3B-0DED20512696/SQLEXPR32.EXE

--- snip ---
$ WINEDEBUG=+seh,+relay,+mspatcha wine ./SQLEXPR32.EXE >>log.txt 2>&1
...
002a:Call KERNEL32.LoadLibraryA(0034f44c "C:\\windows\\system32\\mspatcha.dll") ret=010036a5
002a:Call PE DLL (proc=0x7cefc320,module=0x7cef0000 L"mspatcha.dll",reason=PROCESS_ATTACH,res=(nil))
002a:trace:mspatcha:DllMain (0x0x7cef0000, 1, (nil))
002a:Call KERNEL32.DisableThreadLibraryCalls(7cef0000) ret=7cefa489
002a:Ret KERNEL32.DisableThreadLibraryCalls() retval=00000001 ret=7cefa489
002a:Ret PE DLL (proc=0x7cefc320,module=0x7cef0000 L"mspatcha.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1
002a:Ret KERNEL32.LoadLibraryA() retval=7cef0000 ret=010036a5
002a:Call KERNEL32.GetProcAddress(7cef0000,0100238c "GetFilePatchSignatureA") ret=010036bc
002a:Ret KERNEL32.GetProcAddress() retval=7cef8188 ret=010036bc
002a:Call KERNEL32.GetProcAddress(7cef0000,01002378 "ApplyPatchToFileA") ret=010036ce
002a:Ret KERNEL32.GetProcAddress() retval=7cef80ac ret=010036ce
002a:Call mspatcha.ApplyPatchToFileA(0034faa4 "c:\\ef244e8344c867a4618ba071ad7a67b6\\_sfx_0000._p",0034fba8 "c:\\ef244e8344c867a4618ba071ad7a67b6\\Setup\\Program Files\\Microsoft SQL Server\\x86\\Install\\sqlagent90_msdb_upgrade.sql",0034fcac "c:\\ef244e8344c867a4618ba071ad7a67b6\\Setup\\Program Files\\Microsoft SQL Server\\x86\\Install\\instmsdb.sql",00000000) ret=0100483a
...
002a:trace:mspatcha:read_header patched file size will be 1139896
002a:trace:mspatcha:read_header patch supports 1 old file(s)
...
002a:trace:mspatcha:read_header found 0 range(s) to ignore
002a:trace:mspatcha:read_header found 0 range(s) to retain
...
002a:trace:mspatcha:decode_lzxd_stream decoding stream of size 290 to size 1139896, starting at 1221164
...
002a:trace:mspatcha:decode_lzxd_stream setting window to 0x400000
...
002a:Ret mspatcha.ApplyPatchToFileA() retval=00000001 ret=0100483a
...
002b:Call winex11.drv.SetWindowText(0001007a,0019ff20 L"Setu...

Read more...

Revision history for this message
In , Jeremielapuree (jeremielapuree) wrote :
Revision history for this message
In , Aidan (aidankhoury-q) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.