[Bug 20497] Smilebox cannot be installed (web update fails)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 2 13:03:42 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=20497

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|Abandoned?                  |
             Status|CLOSED                      |REOPENED
                URL|http://www.smilebox.com/    |http://www.computerbild.de/
                   |                            |download/Smilebox-1298829.h
                   |                            |tml
                 CC|                            |focht at gmx.net
          Component|-unknown                    |wininet
         Resolution|ABANDONED                   |
            Summary|Smilebox cannot be          |Smilebox cannot be
                   |installed                   |installed (web update
                   |                            |fails)

--- Comment #8 from Anastasius Focht <focht at gmx.net> 2012-05-02 13:03:42 CDT ---
Hello,

I found a download here:
http://www.computerbild.de/download/Smilebox-1298829.html

(its a german site but that doesn't matter, the app is english).

The app puts itself here for reproduce:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Application Data/Smilebox
--- snip ---

It seems the installer/app first "pings" the remote server using "HEAD"
request.
>From wireshark log:

--- snip ---
HEAD /clientFirewallCheck.txt HTTP/1.1
Host: secure.smilebox.com
Content-Length: 0
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Smilebox)
Pragma: no-cache
Connection: Keep-Alive

HTTP/1.1 200 OK
Date: Wed, 02 May 2012 17:30:48 GMT
Server: Apache
Last-Modified: Wed, 04 Apr 2012 18:12:02 GMT
ETag: "1a-4bcde5c2c2080"
Accept-Ranges: bytes
Content-Length: 26
Keep-Alive: timeout=5, max=1000
Connection: Keep-Alive
Content-Type: text/plain; charset=utf-8
--- snip ---

There is a log file "smilebox.log" in app folder which tells that the HEAD
request succeeded (last line):

--- snip ---
[ Wed May 02 19:28:43.495 ] SmileboxStarter.exe: Platform=WinXP
[ Wed May 02 19:28:43.500 ] SmileboxStarter.exe: Starter active. Version:
1.0.0.14986
[ Wed May 02 19:28:43.505 ] SmileboxStarter.exe: Retrieved partner code from
registry: smileboxgerman
[ Wed May 02 19:28:43.513 ] SmileboxStarter.exe: Starter environment is good
check flag: true
[ Wed May 02 19:28:43.955 ] SmileboxStarter.exe: checkInternetConnection:
Network appears connected.
--- snip ---

Next the app tries to download XML file containing version data.
Wireshark log again:

--- snip ---
GET /version.xml?cb=919 HTTP/1.1
Accept: */*
Host: update.smilebox.com
Referer: http://www.smilebox.com
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Smilebox)
Pragma: no-cache
Connection: Keep-Alive

HTTP/1.1 200 OK
Date: Wed, 02 May 2012 17:30:48 GMT
Server: Apache
Last-Modified: Thu, 12 Apr 2012 22:35:57 GMT
ETag: "3f-4bd82fabe0d40"
Accept-Ranges: bytes
Content-Length: 63
Keep-Alive: timeout=5, max=1000
Connection: Keep-Alive
Content-Type: application/xml

<version>
  <major>17657</major>
  <minor>1</minor>
</version>
--- snip ---

The XML data is in the message body of the response.
This request is repeated over and over.
>From application log:

--- snip ---
[ Wed May 02 19:28:43.983 ] SmileboxStarter.exe: About to download
http://update.smilebox.com/version.xml?cb=72414 to
C:\users\focht\Temp\smb2fec_32034.tmp
[ Wed May 02 19:28:43.988 ] SmileboxStarter.exe: Getting connection for
http://update.smilebox.com/version.xml?cb=72414
[ Wed May 02 19:28:44.393 ] SmileboxStarter.exe: Obtained remote file
connection to http://update.smilebox.com/version.xml?cb=72414
[ Wed May 02 19:28:44.399 ] SmileboxStarter.exe: getRemoteConnection: status
code is 200
[ Wed May 02 19:28:45.409 ] SmileboxStarter.exe: About to retry download of
http://update.smilebox.com/version.xml?cb=72414
[ Wed May 02 19:28:45.415 ] SmileboxStarter.exe: Getting connection for
http://update.smilebox.com/version.xml?cb=72414
[ Wed May 02 19:28:45.623 ] SmileboxStarter.exe: Obtained remote file
connection to http://update.smilebox.com/version.xml?cb=72414
[ Wed May 02 19:28:45.628 ] SmileboxStarter.exe: getRemoteConnection: status
code is 200
...
--- snip ---

Actually I don't see the message body data (XML) being processed here.
The resulting file in cache is empty (0 bytes).
The app tries to load and process the XML file later through msxml which fails
-> "err:msxml:doparse Failed to create parser context" messages

Unfortunately 'winetricks wininet' doesn't help to verify, it seems the app
expects a newer wininet.dll version than winetricks provides (missing
WININET.dll.InternetGetCookieExW export).

$ du -sh SmileboxInstaller.exe 
668K    SmileboxInstaller.exe

$ sha1sum SmileboxInstaller.exe 
f6641e30f00fc6d30a9e68fbcfdd8744cdfe9f29  SmileboxInstaller.exe

$ wine --version
wine-1.5.3-73-g93a0ca7

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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