2k is the default version?

John Klehm xixsimplicityxix at gmail.com
Tue May 27 17:33:19 CDT 2008


On Tue, May 27, 2008 at 5:02 PM, Austin English <austinenglish at gmail.com> wrote:
> On Tue, May 27, 2008 at 4:38 PM, John Klehm <xixsimplicityxix at gmail.com> wrote:
>> On Tue, May 27, 2008 at 4:26 PM, James Hawkins <truiken at gmail.com> wrote:
>>> On Tue, May 27, 2008 at 4:19 PM, Austin English <austinenglish at gmail.com> wrote:
>>>> I was testing installing Virtualbox today and got an error that
>>>> Windows XP is the minimum requirement. Funny I thought...we're
>>>> emulating XP, it must want SP 2 or something strange. Fired up
>>>> winecfg, and lo and behold, Windows 2000 is the default OS again.
>>>> Thought I might be going crazy or botched my local tree, but checking
>>>> out on a fresh tree shows the same thing. When/why did this happen?
>>>>
>>>
>> Isn't the version wine is emulating stored in the registry?  So you'll
>> have to rm -r ~/.wine and let wine recreate it to see what the default
>> is or look at the creation code in wine itself.
>>
>> --John
>>
>
> I build from git daily and run sudo make install. Tried running from
> /usr/local/ and from /home/austin/wine-git:
>
> austin at austin-desktop:~$ wineserver -k
> austin at austin-desktop:~$ rm -rf .wine
> austin at austin-desktop:~$ winecfg # default shows as 2k
> austin at austin-desktop:~$ wineserver -k
> austin at austin-desktop:~$ rm -rf .wine
> austin at austin-desktop:~$ ./wine-git/programs/winecfg/winecfg # default
> shows as 2k
> austin at austin-desktop:~$ cd wine-git/ && git describe && cd
> wine-1.0-rc2-65-g914cb22
> austin at austin-desktop:~$ tail wine-git/tools/wine.inf
> HKLM,"System\CurrentControlSet\Services\VxD\MSTCP",,,""
>
> [VersionInfo]
> HKLM,%CurrentVersionNT%,"CurrentVersion",2,"5.1"
> HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack 2"
> HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"2600"
> HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor Free"
> HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT"
> HKLM,%Control%\Windows,"CSDVersion",0x10003,0x400
> HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"
>
> austin at austin-desktop:~$ tail wine-git/tools/wine.inf.in
> HKLM,"System\CurrentControlSet\Services\VxD\MSTCP",,,""
>
> [VersionInfo]
> HKLM,%CurrentVersionNT%,"CurrentVersion",2,"5.1"
> HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack 2"
> HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"2600"
> HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor Free"
> HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT"
> HKLM,%Control%\Windows,"CSDVersion",0x10003,0x400
> HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"
>
> austin at austin-desktop:~$ tail /usr/local/share/wine/wine.inf
> HKLM,"System\CurrentControlSet\Services\VxD\MSTCP",,,""
>
> [VersionInfo]
> HKLM,%CurrentVersionNT%,"CurrentVersion",2,"5.1"
> HKLM,%CurrentVersionNT%,"CSDVersion",2,"Service Pack 2"
> HKLM,%CurrentVersionNT%,"CurrentBuildNumber",2,"2600"
> HKLM,%CurrentVersionNT%,"CurrentType",2,"Uniprocessor Free"
> HKLM,%Control%\ProductOptions,"ProductType",2,"WinNT"
> HKLM,%Control%\Windows,"CSDVersion",0x10003,0x400
> HKLM,%Control%\Session Manager\Environment,"OS",2,"Windows_NT"
>

Hrmm so off by 1 error in your winecfg dropdown box then?  Maybe check
the actual registry file?
grep -C6 "\[Software\\\\\\\\Microsoft\\\\\\\\Windows
NT\\\\\\\\CurrentVersion]" .wine/system.reg

Good luck,
John



More information about the wine-devel mailing list