Windows version configuration

Questions about Wine on Linux
Locked
Angie_4444
Level 2
Level 2
Posts: 18
Joined: Tue Nov 17, 2020 1:54 pm

Windows version configuration

Post by Angie_4444 »

Hi all, I am still pretty new to wine and I have had only few experiences that more than often resulted me in giving up. So, I am practically still very much a newbie. Anyway, I was trying to install some .msi files on my KDE Neon in order to make a program work. As soon as I enter the command

Code: Select all

wine msiexec /i file.msi
or also

Code: Select all

wine start file.msi
The program window appears and says that the program can't be installed since it requires Windows 10. So, I read that to change wine windows version to Windows 10 you just need to go on winecfg and choose the Windows version. I have done that, but still the same issue. Is there something I am missing?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Windows version configuration

Post by jkfloris »

The Windows 10 version reported by Wine is Windows 10 version 1903, OS build 18362.
Maybe the program wants a newer Windows 10 version.
You can change this version with:
wine regedit
browse to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion
change CurrentBuild and CurrentBuildNumber to 19044
Close all Wine programs with wineserver -k and try to restart the msi file.

If this doesn't help, the program uses a different method to detect the Windows version. As a temporary solution you can try to extract the msi file with msiextract.

Which msi file is it about? Maybe I can find a solution.
Angie_4444
Level 2
Level 2
Posts: 18
Joined: Tue Nov 17, 2020 1:54 pm

Re: Windows version configuration

Post by Angie_4444 »

It gave me the same error, unfortunately. I was trying to use msiextract but I think nothing helpful happened.

It's not really a necessary thing, it was for gaming controller setup. The .msi files are supposed to be drivers that need to be installed to let the main program work. The program is called BetterJoy.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Windows version configuration

Post by jkfloris »

I can already tell you that Windows drivers do not work with Wine.
Unfortunately, I* cannot reproduce the error with these msi files. Do you have a link to the files?

*) Debian Sid, Wine 7.x
Locked