https://bugs.winehq.org/show_bug.cgi?id=41624
Bug ID: 41624 Summary: choosing windows version in winecfg seems incomplete Product: Wine Version: 1.9.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: h.c.croon@hccnet.nl Distribution: ---
Created attachment 55983 --> https://bugs.winehq.org/attachment.cgi?id=55983 log file attemp to run XperiaCompanion.exe
I tried to use xperiacompanion.exe installation program under Wine (Ubuntu 16.04, AMD A10-7850K). I choose Windows 10, Windows 8 and Windows 7 subsequently. Error message: Program works only under Windows 7 or higher. In log file: "Burn v3.10.3.3007, Windows v5.2 (Build 3790: Service Pack 2)" and "Condition 'VersionNT >= v6.1' evaluates to false.". So, what does WINE offer when you choose a Windows version?
https://bugs.winehq.org/show_bug.cgi?id=41624
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net --- Is this the app? http://support.sonymobile.com/global-en/tools/xperia-companion/
https://bugs.winehq.org/show_bug.cgi?id=41624
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |download, Installer URL| |http://support.sonymobile.c | |om/tools/xperia-companion/ Status|UNCONFIRMED |NEEDINFO Summary|choosing windows version in |Sony Xperia Companion |winecfg seems incomplete |complains when Windows | |version is < 7
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- I can see that it complains when version is < 7 but I just change the version at winecfg and it the installer goes on. Since we don't know what you are doing I'm going to say things that may be obvious.
1 - After choosing the windows version in the list you have to either press OK or Apply. Otherwise the change will not take effect.
2 - You may be running the installer and winecfg in different wine prefixes. So your changes in winecfg are not affecting the wineprefix you are running the installer.
https://bugs.winehq.org/show_bug.cgi?id=41624
--- Comment #3 from Harry C. Croon h.c.croon@hccnet.nl --- Bruno, thanks for your reply. 1. Yes, I pressed Apply each time after choosing a Windows version. 2. I don't understand your second point at this moment. I will study on that. Before trying to install xperiacompanion.exe I renewed Wine by removing the old installation following the instruction at the Wine HQ site and installed a the last stable version of Wine.
When your second point holds it is not user friendly of Wine that there are hidden configurations which overrule the choice.
https://bugs.winehq.org/show_bug.cgi?id=41624
--- Comment #4 from Harry C. Croon h.c.croon@hccnet.nl --- @ Rosanne: Yes that's the xperiacompanion installation program for Windows.
https://bugs.winehq.org/show_bug.cgi?id=41624
--- Comment #5 from Harry C. Croon h.c.croon@hccnet.nl --- I tried it ones more. The first time I set the windows version only for this program which did not work. Now I set it globally and it runs.
So it seems to be that with the local configuration you can only downgrade the windows version with respect to the global configuration. I think, when this is true, a warning should be given and so I persist in calling it a bug.
https://bugs.winehq.org/show_bug.cgi?id=41624
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Sony Xperia Companion |Sony Xperia Companion |complains when Windows |installer complains when |version is < 7 |Windows version is < 7
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Harry C. Croon from comment #5)
I tried it ones more. The first time I set the windows version only for this program which did not work. Now I set it globally and it runs.
The problem is that the installer extracts a second installer and runs it so the local Windows version configuration does not affect this second installer.
I don't think this is a bug unless Wine wants child processes to inherit the Windows version from the parent process.
You can always have a different wineprefix per program, this way you can use the global config and program configurations do not mess with each other.
https://bugs.winehq.org/show_bug.cgi?id=41624
--- Comment #7 from Harry C. Croon h.c.croon@hccnet.nl --- Thank you, Bruno, for this explanation which make it clear to me. I think that child processes inheriting the fathers windows version would be a good idea. I set the status to RESOLVED (if I have the right to do it ;-) ) Many thanks for your support!
https://bugs.winehq.org/show_bug.cgi?id=41624
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Sony Xperia Companion |Child processes do not |installer complains when |inherit the Windows version |Windows version is < 7 |from the parent process set | |in winecfg Status|NEEDINFO |NEW
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com --- Let's make this bug about this inheritance stuff so other people can jump in and give their opinions.
https://bugs.winehq.org/show_bug.cgi?id=41624
--- Comment #9 from Harry C. Croon h.c.croon@hccnet.nl --- OK, let see ....
https://bugs.winehq.org/show_bug.cgi?id=41624
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- Is this about per-application settings? If so I'd say it works as intended.
https://bugs.winehq.org/show_bug.cgi?id=41624
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Nikolay Sivov from comment #10)
Is this about per-application settings? If so I'd say it works as intended.
Yes, but the main problems is:
Wine is globally configured as XP App A is configured as Win7 App A spawns app B and app B gets XP instead of 7.
Since App A and its children require Win7 why not make childs inherit App A version?
The simplest real world example is an installer that extracts a second installer.
https://bugs.winehq.org/show_bug.cgi?id=41624
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- (In reply to Bruno Jesus from comment #11)
(In reply to Nikolay Sivov from comment #10)
Is this about per-application settings? If so I'd say it works as intended.
Yes, but the main problems is:
Wine is globally configured as XP App A is configured as Win7 App A spawns app B and app B gets XP instead of 7.
Since App A and its children require Win7 why not make childs inherit App A version?
The simplest real world example is an installer that extracts a second installer.
I don't think you can assume that just because app B is launched by app A it needs the same version. There are cases where it's true, but there are many cases where it isn't. Setting the version globally is preferable.
https://bugs.winehq.org/show_bug.cgi?id=41624
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #13 from joaopa jeremielapuree@yahoo.fr --- What to do with this bug? Marking as WONTFIX?