[Bug 34028] QuickBooks 2008-2010 fails to run, reporting 'Could not initialize license properties'

WineHQ Bugzilla wine-bugs at winehq.org
Fri Mar 27 06:14:23 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=34028

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://dlm.download.intuit. |https://web.archive.org/sav
                   |com/SBD/QuickBooks/2008/R1/ |e/http://dlm2.download.intu
                   |QuickBooksSimpleStartDirect |it.com/akdlm/SBD/QuickBooks
                   |2008.exe                    |/2009/R13/QuickBooksSimpleS
                   |                            |tart2009.exe
            Summary|QuickBooks SS 2008 R1 fails |QuickBooks 2008-2010 fails
                   |to load due to licence      |to run, reporting 'Could
                   |error                       |not initialize license
                   |                            |properties'
                 CC|                            |focht at gmx.net
          Component|msxml4                      |msxml3

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming, still present. Also happens with other QuickBooks versions, such as
2010.

The download link
http://dlm.download.intuit.com/SBD/QuickBooks/2008/R1/QuickBooksSimpleStartDirect2008.exe
is dead and no snapshot seems exist.

I found QuickBooks 2019 and created a snapshot via Internet Archive:

http://dlm2.download.intuit.com/akdlm/SBD/QuickBooks/2009/R13/QuickBooksSimpleStart2009.exe

->

https://web.archive.org/save/http://dlm2.download.intuit.com/akdlm/SBD/QuickBooks/2009/R13/QuickBooksSimpleStart2009.exe

There are a couple of (unreported) installer bugs with pro/full versions of
Intuit QuickBooks. Aside from that you need to ensure that at least the
required .NET Framework versions are installed prior (didn't test with
Wine-Mono).

* QuickBooks 2009 -> .NET Framework 2.0
* QuickBooks 2010 -> .NET Framework 3.5
...

--- snip ---
$ find .wine/drive_c/ -iname "*entitlementlog*"
.wine/drive_c/ProgramData/Intuit/Entitlement Client/v5/IntuitEntitlementLog.txt
--- snip ---

--- snip ---
QBW32.exe    PID(8)    TID(9)    03/27/2020 10:48:33:833 AM    DEBUG   
BootStrap:EntitlementManager    ECAPI PutEntitlementManifestFileName
entitlementManifestFileName: 'C:\Program Files (x86)\Intuit\QuickBooks
2009\components\PConfig\manifest.ecml'
QBW32.exe    PID(8)    TID(9)    03/27/2020 10:48:33:833 AM    DEBUG   
BootStrap:EntitlementManager    ECAPI GetOfferingProperties licenseNumber:
'xxx' offeringCode: 'yyy' pRetVal: '0x32ed54'
QBW32.exe    PID(8)    TID(9)    03/27/2020 10:48:33:888 AM    DEBUG   
BootStrap:OfferingProperties    ECAPI PropertyExists propertyType:
'IS_CONVERTIBLE' pRetVal: '0x32eeb4'
QBW32.exe    PID(8)    TID(9)    03/27/2020 10:48:33:893 AM    ERROR   
BootStrap:OfferingProperties    GeneralException
Error Code: -1
Source File: .\SignedXml.cpp
Line Number: 358
Compilation Time Stamp: Fri Jun 13 08:56:09 2008
--- snip ---

'C:\Program Files (x86)\Intuit\QuickBooks
2009\components\PConfig\manifest.ecml' is an encrypted/signed XML file.

The RSA key(s) are embedded in a 'EntitlementManager' COM server:

--- snip ---
$ find .wine/drive_c/ -iname "*entitlementclientbootstrap*"

.wine/drive_c/Program Files (x86)/Common Files/Intuit/Entitlement
Client/v5/Client/EntitlementClientBootstrap.dll
--- snip ---

Last part of trace log before exception:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Intuit/QuickBooks 2009

$ WINEDEBUG=+seh,+loaddll,+process,+msxml,+ole,+variant,+relay wine ./QBW32.exe
>>log.txt 2>&1
...
0047:trace:msxml:create_selection (0x7d8106f0, ".//*[@Id =
\"EntitlementDataStoreContents\"]", 0x32e56c)
0047:trace:msxml:xmldoc_add_refs (0x7d8106f0)->(9)
0047:trace:msxml:registerNamespaces (0x7d7310f0)
0047:trace:msxml:create_selection found 1 matches 
...
0047:trace:msxml:domselection_nextNode (0x1709090)->(0x32ed00)
0047:trace:msxml:create_node type 1
...
0047:trace:msxml:domelem_get_xml (0x1709050)->(0x3b716e8)
0047:Call KERNEL32.MultiByteToWideChar(0000fde9,00000000,7c9cad50 "<Content
Id=\"EntitlementDataStoreContents\">\n\t<SystemData>\n\t\t<ResourceId>257751177656101951273515274178362037922</ResourceId>\n\t\t<ResourceFingerPrint>F6bEKATRJn9RDpamqUPM0X6k6v8=</ResourceFingerPrint>\n\t</SystemData>\n\t<Entitlements/>\n</Content>",ffffffff,00000000,00000000)
ret=7bb69a8e
...
0047:Ret  KERNEL32.MultiByteToWideChar() retval=000000f2 ret=7bb69a8e
...
0047:trace:msxml:node_get_namespaceURI uri:
L"http://www.intuit.com/2004/03/EntitlementGateway"
...
0047:Call KERNEL32.WideCharToMultiByte(00000000,00000000,016e45f4
L"http://www.intuit.com/2004/03/EntitlementGateway",00000031,03b71818,00000031,00000000,00000000)
ret=40058f6b
0047:Ret  KERNEL32.WideCharToMultiByte() retval=00000031 ret=40058f6b
...
0047:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032e4a8)
ret=40059da2
0047:Call ntdll.memcpy(0032e408,0032e4a8,0000000c) ret=7b00dbb1
0047:Ret  ntdll.memcpy() retval=0032e408 ret=7b00dbb1
0047:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b00dbc1
ip=7b00dbc1 tid=0047
0047:trace:seh:raise_exception  info[0]=19930520
0047:trace:seh:raise_exception  info[1]=0032e4d4
0047:trace:seh:raise_exception  info[2]=40084d90
0047:trace:seh:raise_exception  eax=0032e3f4 ebx=01709068 ecx=0032e4a8
edx=0032e3f4 esi=00000003 edi=0032e460
0047:trace:seh:raise_exception  ebp=0032e448 esp=0032e3f4 cs=320023 ds=ffff002b
es=002b fs=1b440063 gs=006b flags=00200212
0047:trace:seh:call_vectored_handlers calling handler at 0x7d2ed510
code=e06d7363 flags=1 
--- snip ---

In-memory XML content with builtin:

--- snip ---
01F48648  3C 43 6F 6E 74 65 6E 74 20 49 64 3D 22 45 6E 74  <Content Id="Ent
01F48658  69 74 6C 65 6D 65 6E 74 44 61 74 61 53 74 6F 72  itlementDataStor
01F48668  65 43 6F 6E 74 65 6E 74 73 22 3E 0D 0A 09 3C 53  eContents">...<S
01F48678  79 73 74 65 6D 44 61 74 61 3E 0D 0A 09 09 3C 52  ystemData>....<R
01F48688  65 73 6F 75 72 63 65 49 64 3E 32 35 30 37 36 31  esourceId>250761
01F48698  37 33 34 35 39 36 31 35 31 38 38 35 32 36 39 32  7345961518852692
01F486A8  32 31 39 31 39 32 31 31 34 36 32 33 37 33 31 32  2191921146237312
01F486B8  38 3C 2F 52 65 73 6F 75 72 63 65 49 64 3E 0D 0A  8</ResourceId>..
01F486C8  09 09 3C 52 65 73 6F 75 72 63 65 46 69 6E 67 65  ..<ResourceFinge
01F486D8  72 50 72 69 6E 74 3E 45 32 75 49 31 36 73 64 4B  rPrint>E2uI16sdK
01F486E8  41 33 7A 39 6E 49 65 72 48 59 2F 56 41 36 77 57  A3z9nIerHY/VA6wW
01F486F8  39 41 3D 3C 2F 52 65 73 6F 75 72 63 65 46 69 6E  9A=</ResourceFin
01F48708  67 65 72 50 72 69 6E 74 3E 0D 0A 09 3C 2F 53 79  gerPrint>...</Sy
01F48718  73 74 65 6D 44 61 74 61 3E 0D 0A 09 3C 45 6E 74  stemData>...<Ent
01F48728  69 74 6C 65 6D 65 6E 74 73 2F 3E 0D 0A 3C 2F 43  itlements/>..</C
01F48738  6F 6E 74 65 6E 74 3E 00 A1 02 00 00 46 52 45 45  ontent>.¡...FREE
--- snip ---

Pretty different (and smaller) compared to in-memory XML content with
'winetricks -q msxml4':

--- snip ---
0569DFB0  3C 43 6F 6E 74 65 6E 74 20 78 6D 6C 6E 73 3D 22  <Content xmlns="
0569DFC0  68 74 74 70 3A 2F 2F 77 77 77 2E 69 6E 74 75 69  http://www.intui
0569DFD0  74 2E 63 6F 6D 2F 32 30 30 34 2F 30 33 2F 45 6E  t.com/2004/03/En
0569DFE0  74 69 74 6C 65 6D 65 6E 74 47 61 74 65 77 61 79  titlementGateway
0569DFF0  22 20 49 64 3D 22 45 6E 74 69 74 6C 65 6D 65 6E  " Id="Entitlemen
0569E000  74 44 61 74 61 53 74 6F 72 65 43 6F 6E 74 65 6E  tDataStoreConten
0569E010  74 73 22 3E 3C 53 79 73 74 65 6D 44 61 74 61 3E  ts"><SystemData>
0569E020  3C 52 65 73 6F 75 72 63 65 49 64 3E 32 31 37 31  <ResourceId>2171
0569E030  34 33 30 33 36 34 33 36 38 35 36 39 31 30 37 30  4303643685691070
0569E040  31 31 32 38 33 34 31 34 39 36 37 31 37 30 39 39  1128341496717099
0569E050  31 39 32 3C 2F 52 65 73 6F 75 72 63 65 49 64 3E  192</ResourceId>
0569E060  3C 52 65 73 6F 75 72 63 65 46 69 6E 67 65 72 50  <ResourceFingerP
0569E070  72 69 6E 74 3E 59 37 4A 69 62 39 77 64 55 5A 65  rint>Y7Jib9wdUZe
0569E080  52 30 75 48 79 4B 44 46 44 44 70 55 52 48 7A 55  R0uHyKDFDDpURHzU
0569E090  3D 3C 2F 52 65 73 6F 75 72 63 65 46 69 6E 67 65  =</ResourceFinge
0569E0A0  72 50 72 69 6E 74 3E 3C 2F 53 79 73 74 65 6D 44  rPrint></SystemD
0569E0B0  61 74 61 3E 3C 45 6E 74 69 74 6C 65 6D 65 6E 74  ata><Entitlement
0569E0C0  73 3E 3C 45 6E 74 69 74 6C 65 6D 65 6E 74 3E 3C  s><Entitlement><
0569E0D0  4C 69 63 65 6E 73 65 4E 75 6D 62 65 72 3E 31 30  LicenseNumber>XX
0569E0E0  34 30 34 36 34 32 30 36 32 34 35 37 37 3C 2F 4C  XXXXXXXXXXXXX</L
0569E0F0  69 63 65 6E 73 65 4E 75 6D 62 65 72 3E 3C 4F 66  icenseNumber><Of
0569E100  66 65 72 69 6E 67 43 6F 64 65 3E 35 34 35 30 38  feringCode>YYYYY
0569E110  39 3C 2F 4F 66 66 65 72 69 6E 67 43 6F 64 65 3E  Y</OfferingCode>
0569E120  3C 43 65 72 74 69 66 69 65 64 4F 66 66 65 72 69  <CertifiedOfferi
0569E130  6E 67 54 65 72 6D 73 20 78 6D 6C 6E 73 3D 22 68  ngTerms xmlns="h
0569E140  74 74 70 3A 2F 2F 77 77 77 2E 69 6E 74 75 69 74  ttp://www.intuit
0569E150  2E 63 6F 6D 2F 32 30 30 34 2F 30 33 2F 45 6E 74  .com/2004/03/Ent
0569E160  69 74 6C 65 6D 65 6E 74 47 61 74 65 77 61 79 22  itlementGateway"
0569E170  3E 3C 4F 66 66 65 72 69 6E 67 54 65 72 6D 73 20  ><OfferingTerms 
...
0569F930  50 37 5A 33 55 65 48 37 0D 0A 2F 55 6E 4A 4D 6F  P7Z3UeH7../UnJMo
0569F940  62 43 54 58 54 34 61 49 45 58 6F 57 49 3D 0D 0A  bCTXT4aIEXoWI=..
0569F950  3C 2F 53 69 67 6E 61 74 75 72 65 56 61 6C 75 65  </SignatureValue
0569F960  3E 0D 0A 3C 2F 53 69 67 6E 61 74 75 72 65 3E 3C  >..</Signature><
0569F970  2F 43 65 72 74 69 66 69 65 64 4F 66 66 65 72 69  /CertifiedOfferi
0569F980  6E 67 54 65 72 6D 73 3E 3C 52 75 6E 74 69 6D 65  ngTerms><Runtime
0569F990  44 61 74 61 2F 3E 3C 2F 45 6E 74 69 74 6C 65 6D  Data/></Entitlem
0569F9A0  65 6E 74 3E 3C 2F 45 6E 74 69 74 6C 65 6D 65 6E  ent></Entitlemen
0569F9B0  74 73 3E 3C 2F 43 6F 6E 74 65 6E 74 3E 00 20 20  ts></Content>.  
--- snip ---

It's painful to debug without symbols as Wine's msxml3 has not been converted
to PE format yet.

$ sha1sum QuickBooksSimpleStart2009.exe 
du0f057fad4d1d082851acdb813def98dc5f7a76e2  QuickBooksSimpleStart2009.exe

$ du -sh QuickBooksSimpleStart2009.exe 
335M    QuickBooksSimpleStart2009.exe

$ wine --version
wine-5.4-412-g8baf4a2a55

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list