Bottles
Bottles copied to clipboard
[Request] Allow running as non-admin user within wine by adjusting wine arguments
Is your feature request related to a problem? Please describe. Some installers close/bail if they notice they are being run as administrator. Wine has a "runas / trustlevel: 0x20000" switch which allows pretending that application is being run by non-admin but it's not the default.
I tried looking to see if there's any way to adjust parameters that wine binary is called with but could not find anything in the documentation.
Describe the solution you'd like A way to run applications as non-admin user within wine env (note obviously bottles/wine can be used by non-admins in Linux).
Ideally the configuration would be accessible from the UI
Describe alternatives you've considered Manual file tweak is acceptable to force some additional arguments for wine binary
Additional context One example application failing is http://client.beamdog.com/
I've used 3.1.1 flatpak
Are you talking about the runas
option?
Ref: https://www.reddit.com/r/winehq/comments/asbg4l/install_software_on_wine_as_normal_user_not_as/
If the answer is yes, I add the option to Bottles v4.
Correct, I was talking about runas. Thanks
On Wed, 24 Mar 2021, 18:10 Mirko Brombin, @.***> wrote:
Are you talking about the runas option? Ref: https://www.reddit.com/r/winehq/comments/asbg4l/install_software_on_wine_as_normal_user_not_as/
If the answer is yes, I add the option to Bottles v4.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bottlesdevs/Bottles/issues/202#issuecomment-806004008, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAANTLSLQ7VNGQNCSIKG44DTFIMI3ANCNFSM4ZXPFCXQ .
Ok this should be implemented in libwine https://github.com/bottlesdevs/libwine/issues/2
Ping https://github.com/bottlesdevs/LibraryWine/issues/1
Any update on this? I can't run XIVLauncher because it asks not to run the application as admin.
Steps to reproduce:
- Download Setup.exe from here: https://github.com/goatcorp/FFXIVQuickLauncher/releases/tag/6.2.44
- Run through Bottles
Returning on this. I was facing some issues implementing the trustlevel, I have to investigate more
I checked every runner available in Bottles and one one as the runas.exe executable. I've tested the one in Fedora repos and still no runas.exe. I have to build a custom runner (which is what I've done in the past for the same purpose) to test it.
In the meantime, if someone find a compatible runner, just launch the console in Bottles and try issuing runas /trustlevel:0x20000 installer.exe
I'm looking for this feature as well. Unable to run Whatsapp installer because it's asking to be run as user, not administrator.
I have the same problem as @hugoender with WhatsApp installer. When I try to install it raises an error message saying:
Installation has failed.
Please re-run this installer as a normal user instead of "Run as Administrator".
I tried to execute runas /trustlevel:0x20000 WhatsAppSetup.exe
but I get an error:
Can't recognize 'runas /trustlevel:0x20000 WhatsAppSetup.exe' as an internal or external command, or batch script.
While we don't get the feature implemented, @mirkobrombin would you mind sharing how you build a custom runner? Did that fix the issue for you?
I have the same problem, trying to use the Tidal desktop app but it wants to be ran as a normal user. runas
is not available, I just installed Bottles from the Flatpak.
Also having this issue with trying to use the Splice app. Cannot get runas working in any regard and need to run the installer as my user.
@vmgustavo did you find how to run runas
command?
Unfortunately I did not. If you do find, please let me know
On Tue, Nov 8, 2022, 02:06 throwaway69420-69420 @.***> wrote:
@vmgustavo https://github.com/vmgustavo did you find how to run runas command?
— Reply to this email directly, view it on GitHub https://github.com/bottlesdevs/Bottles/issues/202#issuecomment-1306639491, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO7CBTCKAIRX3CDPNNGGWLWHHNUDANCNFSM4ZXPFCXQ . You are receiving this because you were mentioned.Message ID: @.***>
I'm experiencing the same problem with another installer. I've tried different combinations of options and OS versions, but with no success. As @vmgustavo noted, the runas
command doesn't work either.
This issue is blocking the installation of both Fork and SourceTree.
This issue is blocking the installation of Microsoft Teams.
This issue is blocking the installation of Tower.
The Issue is also blocking the Installation of the New TruckersMP-launcher
This issue is also blocking the installation of WhatsApp.
It's likely that every application that expects non-elevated priveleges is broken, there's no need to list every single one - hence locking to reduce noise.
As far as it seems, it's just a matter of having runas in a specific runner (though, I'm not sure if we can use some bundled runas for arbitrary runners), and exposing this option in the UI (maybe in the "Run with arguments..." submenu)
To anybody reading this in the future: yes, it is a problem, and no, Bottles can't really do much to fix it right now if the runners themselves don't have support for it, as would appear to be the case judging from previous comments. It would be more appropriate to help fund those that are interested in and can work on this feature, both in Wine and Bottles, rather than saying "blocks the installation of X" over and over again.