http://bugs.winehq.org/show_bug.cgi?id=35084
Bug #: 35084 Summary: Visual Studio 2010 installer fails to install in 64-bit Windows XP WINEPREFIX (claims "Windows XP x64 Service Pack 2 is required") Product: Wine Version: 1.7.7 Platform: x86-64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello folks,
as the summary says.
The installer prerequisite log "dd_depcheck_VC_EXP_100.txt" is pretty verbose, no need for Wine trace log:
--- snip --- ... [12/08/13,20:06:38] Windows XP x64 Service Pack 2 is required == [12/08/13,20:06:38] This component uses the FileRegVerCheck version check method. It will compare a given version against the version of a regkey on your machine. [12/08/13,20:06:38] Registry key being interrogated: HKLM,System\CurrentControlSet\Control\Windows; Value: CSDVersion; Version: 512. [12/08/13,20:06:38] Version on user's machine: 256 [12/08/13,20:06:38] Version to be installed: 512 [12/08/13,20:06:38] Windows XP x64 Service Pack 2 is required == Component to be installed. --- snip ---
Setting CSDVersion to 512 in 64-bit prefix allows the installer go further.
Wine uses "Service Pack 3" for 32-bit "Windows XP" setting (=latest). There is no SP3 for the 64-bit version of Windows XP. XP2 is indeed the latest.
For consistency it would make sense that Wine uses SP2 for 64-bit XP, indicating highest SP level.
$ sha1sum vc_web.exe c2d61a5424aa474a169e59199aa2158a858833f6 vc_web.exe
$ du -sh vc_web.exe 3.2M vc_web.exe
$ wine --version wine-1.7.8-128-g37460b6
Regards
http://bugs.winehq.org/show_bug.cgi?id=35084
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://go.microsoft.com/?li | |nkid=9709949
http://bugs.winehq.org/show_bug.cgi?id=35084
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |32281
http://bugs.winehq.org/show_bug.cgi?id=35084
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |0463d01f151fb3d7c7acf26c762 | |8683fefb6c130 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Austin English austinenglish@gmail.com --- http://source.winehq.org/git/wine.git/commitdiff/0463d01f151fb3d7c7acf26c762...
http://bugs.winehq.org/show_bug.cgi?id=35084
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello Austin,
once again, please refrain from resolving my bug reports as 'fixed' so quickly after the daily GIT master update - unless you really validated that the bug was fixed.
There is one missing bit: 'loader/wine.inf.in' has to be updated too because it contains the version information used during initial 32-bit and 64-bit WINEPREFIX creation.
Source: http://source.winehq.org/git/wine.git/blob/2292b06281286cacfd9b037b8907ff2f6...
--- snip --- 3031 [VersionInfo.ntamd64] 3032 HKLM,%CurrentVersionNT%,"CurrentVersion",2,"5.2" 3033 HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack 1" 3034 HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"3790" 3035 HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor Free" 3036 HKLM,%CurrentVersionNT%,"ProductName",2,"Microsoft Windows XP" 3037 HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT" 3038 HKLM,%Control%\Windows,"CSDVersion",0x10003,0x100 3039 HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT" --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=35084
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
during investigation of other bugs I found that the 32-bit Firefox 2x installer also refuses to run in clean 64-bit prefix, stating the same requirement: "Windows XP SP2 or later needed".
Download: https://download.mozilla.org/?product=firefox-stub&os=win&lang=en-US
$ file Firefox\ Setup\ Stub\ 26.0.exe Firefox Setup Stub 26.0.exe: PE32 executable (GUI) Intel 80386, for MS Windows, UPX compressed
$ sha1sum Firefox\ Setup\ Stub\ 26.0.exe 6a52429dadad5b3d261b2f44676a67f63a4b4cd0 Firefox Setup Stub 26.0.exe
$ du -sh Firefox\ Setup\ Stub\ 26.0.exe 280K Firefox Setup Stub 26.0.exe
$ wine --version wine-1.7.8-200-gd566292
Regards
http://bugs.winehq.org/show_bug.cgi?id=35084
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
a user just showed up in #winehq
--- quote --- <cyos> i got a problem with installing FireFox23.0.exe.... i become a message with "Sorry, Firefox cant be installed. This version of Firfox requires Microsoft Windows XP SP 2 or newer" <focht> cyos: you're installing in 64-bit prefix right? this is a known bug ... work around by winecfg -> select another windows version, select 'windows xp', "ok" = saves data. you can also work around by using 32-bit prefix, e.g. WINEARCH=win32 .. <cyos> ah ok it works :) thx * cyos has quit (Quit: Verlassend) --- quote ---
I'd like to point out the fix is easy - there is just one missing part (see my comment #2). Nowadays many people work with 64-bit prefixes, unaware of the implications.
Regards
http://bugs.winehq.org/show_bug.cgi?id=35084
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|0463d01f151fb3d7c7acf26c762 |4af2ca4c39f86111494ebcf39e1 |8683fefb6c130 |fd4285cbfd667 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
this is now also fixed for newly created WINEPREFIXes.
Fixed by commit http://source.winehq.org/git/wine.git/commitdiff/4af2ca4c39f86111494ebcf39e1...
Thanks Hans (first part) and Austin (second part)
NOTE: already existing 64-bit Windows XP SP1 prefixes must be manually corrected (winecfg -> select different Windows version into view, re-select Windows XP -> ok/save).
Regards
https://bugs.winehq.org/show_bug.cgi?id=35084
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.10.
https://bugs.winehq.org/show_bug.cgi?id=35084
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |loader
https://bugs.winehq.org/show_bug.cgi?id=35084
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://go.microsoft.com/?li |https://web.archive.org/web |nkid=9709949 |/20130329153355/http://down | |load.microsoft.com/download | |/D/B/C/DBC11267-9597-46FF-8 | |377-E194A73970D6/vs_proweb. | |exe