Run as normal user
Run as normal user
Hi,
When running a certain installer it tells me this message:
===============================================
Installation Failed.
Please re-run this installer as a normal user instead of "Run as
Administrator".
===============================================
How do I test this by running it as a normal user?
Thanks.
When running a certain installer it tells me this message:
===============================================
Installation Failed.
Please re-run this installer as a normal user instead of "Run as
Administrator".
===============================================
How do I test this by running it as a normal user?
Thanks.
Re: Run as normal user
See this thread in the forum - I think it applies:
Code: Select all
https://forum.winehq.org/viewtopic.php?f=8&t=34481
Re: Run as normal user
Thanks! The solution there mentions I should run it as:
However, I get:
Code: Select all
wine runas /trustlevel:0x20000 ~/Downloads/install.exe
Code: Select all
0009:err:module:__wine_process_init L"C:\\windows\\system32\\runas.exe" not found
Re: Run as normal user
i think that is explained in that thread:
Code: Select all
...unfortunately there's another bug and the needed 'runas' executable isn't getting built on recent versions
Re: Run as normal user
Correct. In theory you could temporarily install an older version of wine-staging, the bug report mentions "guessing" 5.11, to run the installer. (I may test this later, I should have time.)
Re: Run as normal user
5.11 and 5.15 have runas but at least the WhatsApp installer still popped up that error message for me. (side note: 5.12 and later have bugs installing dotnet if that's something you need.) So you may need something even older. ugh.
Re: Run as normal user
Will getting runas.exe from wine-staging work on wine-stable 5.0.2?
Re: Run as normal user
It looked to me like 'runas' doesn't do much itself but depends on dll functions in whatever staging patch implements this functionality.
Re: Run as normal user
wine-6.0 (Staging)
The problem persists with the above mentioned "runas" command.
The problem persists with the above mentioned "runas" command.
Re: Run as normal user
It looks like staging 6.3 includes a new patchset addressing this issue. I was able to start the whatsapp installer as is (no 'runas' or other hacks needed).
er. The notes imply it's still experimental and they may want to see what breaks, however
er. The notes imply it's still experimental and they may want to see what breaks, however
I'm adding this patch to wine-staging in order to smoke out any applications that might be broken, as it's still a very risky patch.
Re: Run as normal user
@spoon0042spoon0042 wrote: ↑Sun Feb 28, 2021 7:29 pm It looks like staging 6.3 includes a new patchset addressing this issue. I was able to start the whatsapp installer as is (no 'runas' or other hacks needed).
er. The notes imply it's still experimental and they may want to see what breaks, howeverI'm adding this patch to wine-staging in order to smoke out any applications that might be broken, as it's still a very risky patch.
FYI It's not a new Staging patchset...
The advapi32-Token_Integrity_Level patchset broke at some-point in the Wine 5.x release cycle.
See: WineHQ Bug 40613 - Multiple applications require UAC implementation to run installer/app as a normal user instead of administrator (WhatsApp Desktop, Smartflix, Squirrel Installers, OneDrive)
Bob
Re: Run as normal user
I was looking at [Bug 39262] DiscordSetup.exe (.NET 4.5.2 app): Squirrell installer requires being run as unelevated process ('explorer.exe' should run unelevated by default with Vista+ setting)
...which points to https://github.com/wine-staging/wine-st ... _integrity
I guess I could have quoted the whole commit message, if I read it right it's replacing that other patchset (or allowing it to work again?)
...which points to https://github.com/wine-staging/wine-st ... _integrity
I guess I could have quoted the whole commit message, if I read it right it's replacing that other patchset (or allowing it to work again?)
Anyway, documentation is good.server-default_integrity: New patch set.
This patch set, as an alternative approach to advapi32-Token_Integrity_Level,
creates all processes as a limited administrator by default. This doesn't
actually seem to break most applications, apparently since they assume that
their manifest is enough to force them to run as administrator and don't bother
verifying that's what they get, and since we don't actually prevent accessing
low-integrity objects. I'm adding this patch to wine-staging in order to smoke
out any applications that might be broken, as it's still a very risky patch.
Re: Run as normal user
@spoon0042
Thanks for clarifying this!
I thought ZF might need to refactor this patchset (following the breakage).
Bob
Thanks for clarifying this!
I thought ZF might need to refactor this patchset (following the breakage).
Bob