Long story (skip to short story if you don't want to know about the background):
The belgian administration requires VAT declaration(PDF form) to be signed with the belgian eid (=electronic identity card) in Adobe Reader.
The eid package exists for both 64 bits and 32 bits architectures.
The 64 bits library works fine and I can log in with my identity card in iceweasel (firefox).
However, Signing the PDF requires Adobe Reader for which no 64 bits linux version exists.
The 32 bits linux native Adobe Reader fails to load the 64 bits eid library.
Installing the 32 bits eid library requires the removal of the 64 bits library that is needed to log into the administration website so this is a catch 22.
I first tried to run linux Adobe Reader in a 32 bits virtualbox installation but Adobe Reader keeps saying that it could not validate my signature and sign the document.
I then tried to run Windows 32 bits Adobe Reader in wine in the virtualbox installation, but I could not install Adobe Reader because wine kept saying that it could not create a window.
In a last attempt I'm trying to install Windows 64 bits Adobe Reader on Wine64 on my 64 bits linux in the hopes that it would load the 64 bits library and access the identity card.
Short story:
I've compiled wine 1.7.22 with --enable-win64 on a Debian 64 bits, no problem there.
I downloaded the Adobe Reader 10.1.4 archive for Windows XP SP2 (64 bits) from adobe.com.
Wine64 sees it as a 32 bits executable and tries to run it with Wine32 which fails (it cannot find the wine32 installation. That is normal, I don't want to use that).
What I want is a full 64 bits Adobe Reader running with Wine64 on my 64 bits system.
How can I force wine to see the Adobe Reader installer as a 64 bits executable? Or, where can I find a pure 64 bits Adobe Reader to install on Wine64?
Adobe Reader 64 bits on Wine64 ?
- olivierfrdierick
- Level 5
- Posts: 258
- Joined: Thu Sep 13, 2012 12:09 pm
Re: Adobe Reader 64 bits on Wine64 ?
The installer fails because of http://bugs.winehq.org/show_bug.cgi?id=12501. Winetricks installs 32 bit mspatcha.dll, which will allow the installer to complete, but it installs 32 bit Adobe Reader. If you can find 64 bit mspatcha.dll, try that.
- olivierfrdierick
- Level 5
- Posts: 258
- Joined: Thu Sep 13, 2012 12:09 pm
Re: Adobe Reader 64 bits on Wine64 ?
Wine 32 bits in virtual machine: mspatcha was already installed through winetricks. Force-reinstalling mspatcha does not prevent the "failed to create main dialog" error message when starting Adobe Reader installer(in fact the self-extractor). There is no terminal output.
Meanwhile I found that the native 32 bits Adobe Reader works as expected in a Ubuntu Lucid Lynx 32 bits virtual machine (in contrast to the Debian guest).
I can now accomplish what I wanted to do in the first place, but I would rather use Wine64 instead of a virtual machine, so I'll continue to investigate on the matter.
Wine 64 bits on Debian 64 bits: I've found a 64 bits mspatcha.dll (from vista x86_64 install disk), copied it where the installer is and set an override to native only in winecfg. The installer extracts the files and then closes. Terminal output is:Log file in Temp folder shows that the extracted files are in users/Public/Application Data/Adobe/Setup/{...some hex...}/. It also shows the command used to install the program. When run directly, the setup command closes immediately with the above terminal output.
So I can tell that the self-extractor did its job and the setup.exe itself do not.
Meanwhile I found that the native 32 bits Adobe Reader works as expected in a Ubuntu Lucid Lynx 32 bits virtual machine (in contrast to the Debian guest).
I can now accomplish what I wanted to do in the first place, but I would rather use Wine64 instead of a virtual machine, so I'll continue to investigate on the matter.
Wine 64 bits on Debian 64 bits: I've found a 64 bits mspatcha.dll (from vista x86_64 install disk), copied it where the installer is and set an override to native only in winecfg. The installer extracts the files and then closes. Terminal output is:
Code: Select all
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
So I can tell that the self-extractor did its job and the setup.exe itself do not.
Re: Adobe Reader 64 bits on Wine64 ?
I suspect that the Adobe installer labeled for 64 bit XP SP2 is actually just designed to install 32 bit Adobe Reader on 64 bit XP (which was pretty uncommon). That's what it did on my system (64 bit openSUSE) when I used the 32 bit mspatcha from winetricks. You should probably test an installer for a newer Windows version, but it's possible that there is no 64 bit version of Reader on any platform.
- olivierfrdierick
- Level 5
- Posts: 258
- Joined: Thu Sep 13, 2012 12:09 pm
[ABANDONNED] Re: Adobe Reader 64 bits on Wine64 ?
You're right. I wrongly assumed that Adobe Reader for 64-bit Windows was 64-bit but it's not. None of the Adobe Programs is 64-bit.
I'll mark this thread as ABANDONNED.
Source: Adobe 64-bit support
I'll mark this thread as ABANDONNED.
Source: Adobe 64-bit support