Error: please re-run this installer as normal user

Questions about Wine on Linux
Locked
Teo7
Level 2
Level 2
Posts: 14
Joined: Fri Oct 23, 2020 9:40 am

Error: please re-run this installer as normal user

Post by Teo7 »

I'm trying to install microsoft Teams in wine, but without success. I know that there is also an official linux app, but it is in preview and many features that are on windows there aren't on linux.. So I'm trying, but it returns me this screenshot and I don't know how to get around it.
Image

This is the terminal output of "wine Teams_windows_x64.exe":

Code: Select all

001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0009:err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111 for dll L"C:\\windows\\system32\\ieframe.dll"
I tried also "wine runas /trustlevel:0x20000 ~/Video/Teams_windows_x64.exe" and this is the output:

Code: Select all

001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
0009:err:module:__wine_process_init L"C:\\windows\\system32\\runas.exe" not found
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Error: please re-run this installer as normal user

Post by jkfloris »

As a workaround you can extract Teams-1.3.00.34662-full.nupkg from the Teams_windows_x64.exe installer and
extract the net45 directory from the Teams-1.3.00.34662-full.nupkg file.

For example:

Code: Select all

# Create a new Wine prefix. (just to be sure)
WINEPREFIX=$HOME/Teams wineboot -u

# Extract Teams_windows_x64.exe
7z e $HOME/Video/Teams_windows_x64.exe -o/tmp Teams-1.3.00.34662-full.nupkg

# Extract Teams-1.3.00.34662-full.nupkg to the new Wine prefix
mkdir $HOME/Teams/drive_c/Teams
7z x /tmp/Teams-1.3.00.34662-full.nupkg -o$HOME/Teams/drive_c/Teams */net45/*

# Run Teams
cd $HOME/Teams/drive_c/Teams/lib/net45
WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe
Teo7
Level 2
Level 2
Posts: 14
Joined: Fri Oct 23, 2020 9:40 am

Re: Error: please re-run this installer as normal user

Post by Teo7 »

Thanks for your reply.
I've a problem with the extraction, indeed, it looks like it can't extract the file and I don't know why:

Code: Select all

$ 7z e $HOME/Video/Teams_windows_x64.exe -o/tmp Teams-1.3.00.34662-full.nupkg

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=it_IT.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (506E3),ASM,AES-NI)

Scanning the drive for archives:
1 file, 114273560 bytes (109 MiB)

Extracting archive: /home/teo/Video/Teams_windows_x64.exe
--       
Path = /home/teo/Video/Teams_windows_x64.exe
Type = PE
Physical Size = 114273560
CPU = x86
Characteristics = Executable 32-bit
Created = 2020-08-28 19:30:56
Headers Size = 1024
Checksum = 114307546
Name = Setup.exe
Image Size = 114270208
Section Alignment = 4096
File Alignment = 512
Code Size = 203264
Initialized Data Size = 114051584
Uninitialized Data Size = 0
Linker Version = 14.16
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = Relocated NX-Compatible TerminalServerAware 0x4000
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 4194304
Comment = FileVersion: 1.3.0.28779
FileVersion: 1.3.00.28779
ProductVersion: 1.3.0.28779
ProductVersion: 1.3.00.28779
FileDescription: Microsoft Teams
InternalName: Setup.exe
LegalCopyright: Copyright © 2020 Microsoft Corporation
OriginalFilename: Setup.exe
ProductName: Microsoft Teams
SquirrelAwareVersion: 1
CompanyName: Microsoft Corporation
----
Path = .rsrc/DATA/131
Size = 113770757
Packed Size = 113770757
--
Path = .rsrc/DATA/131
Type = zip
Physical Size = 113770757


No files to process
Everything is Ok

Files: 0
Size:       0
Compressed: 114273560

invisible kid
Level 5
Level 5
Posts: 359
Joined: Tue Dec 24, 2019 3:23 pm

Re: Error: please re-run this installer as normal user

Post by invisible kid »

I just tried the first step on a version I just downloaded. It worked okay. My output didn't say No files to process:

Code: Select all

7z e $HOME/Video/Teams_windows_x64.exe -o/tmp Teams-1.3.00.34662-full.nupkg

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,12 CPUs x64)

Scanning the drive for archives:
1 file, 114460440 bytes (110 MiB)

Extracting archive: /home/xxx/Video/Teams_windows_x64.exe
--       
Path = /home/xxx/Video/Teams_windows_x64.exe
Type = PE
Physical Size = 114460440
CPU = x86
Characteristics = Executable 32-bit
Created = 2020-10-02 07:48:24
Headers Size = 1024
Checksum = 114510523
Name = Setup.exe
Image Size = 114458624
Section Alignment = 4096
File Alignment = 512
Code Size = 203264
Initialized Data Size = 114238464
Uninitialized Data Size = 0
Linker Version = 14.16
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = Relocated NX-Compatible TerminalServerAware 0x4000
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 4194304
Comment = FileVersion: 1.3.0.34662
FileVersion: 1.3.00.34662
ProductVersion: 1.3.0.34662
ProductVersion: 1.3.00.34662
FileDescription: Microsoft Teams
InternalName: Setup.exe
LegalCopyright: Copyright © 2020 Microsoft Corporation
OriginalFilename: Setup.exe
ProductName: Microsoft Teams
SquirrelAwareVersion: 1
CompanyName: Microsoft Corporation
----
Path = .rsrc/DATA/131
Size = 113957697
Packed Size = 113957697
--
Path = .rsrc/DATA/131
Type = zip
Physical Size = 113957697

Everything is Ok                    

Size:       113409755
Compressed: 114460440

ls -l /tmp/Teams-1.3.00.34662-full.nupkg 
-rw-rw-r-- 1 xxx xxx 113409755 Dec 11 19:00 /tmp/Teams-1.3.00.34662-full.nupkg
It looks like it's finding the teams exe file okay, could the file have gotten corrupted? Can you try with a fresh version? The only other thing I could think of is a permissions issue, but I used native wget, so probably wouldn't show up in my run and I have permissions for /tmp which I assume you do too.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Error: please re-run this installer as normal user

Post by jkfloris »

The installer won't work on Wine due to bug 40613.
Older versions of Wine-staging have the runas option, but the patch is disabled in newer versions.
I just tried the first step on a version I just downloaded. It worked okay
Can you extract the net45 directory to your wineprefix and try to run Teams?
Teo7
Level 2
Level 2
Posts: 14
Joined: Fri Oct 23, 2020 9:40 am

Re: Error: please re-run this installer as normal user

Post by Teo7 »

invisible kid wrote: Mon Jan 25, 2021 8:17 pm I just tried the first step on a version I just downloaded. It worked okay. My output didn't say No files to process:

Code: Select all

7z e $HOME/Video/Teams_windows_x64.exe -o/tmp Teams-1.3.00.34662-full.nupkg

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,12 CPUs x64)

Scanning the drive for archives:
1 file, 114460440 bytes (110 MiB)

Extracting archive: /home/xxx/Video/Teams_windows_x64.exe
--       
Path = /home/xxx/Video/Teams_windows_x64.exe
Type = PE
Physical Size = 114460440
CPU = x86
Characteristics = Executable 32-bit
Created = 2020-10-02 07:48:24
Headers Size = 1024
Checksum = 114510523
Name = Setup.exe
Image Size = 114458624
Section Alignment = 4096
File Alignment = 512
Code Size = 203264
Initialized Data Size = 114238464
Uninitialized Data Size = 0
Linker Version = 14.16
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = Relocated NX-Compatible TerminalServerAware 0x4000
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 4194304
Comment = FileVersion: 1.3.0.34662
FileVersion: 1.3.00.34662
ProductVersion: 1.3.0.34662
ProductVersion: 1.3.00.34662
FileDescription: Microsoft Teams
InternalName: Setup.exe
LegalCopyright: Copyright © 2020 Microsoft Corporation
OriginalFilename: Setup.exe
ProductName: Microsoft Teams
SquirrelAwareVersion: 1
CompanyName: Microsoft Corporation
----
Path = .rsrc/DATA/131
Size = 113957697
Packed Size = 113957697
--
Path = .rsrc/DATA/131
Type = zip
Physical Size = 113957697

Everything is Ok                    

Size:       113409755
Compressed: 114460440

ls -l /tmp/Teams-1.3.00.34662-full.nupkg 
-rw-rw-r-- 1 xxx xxx 113409755 Dec 11 19:00 /tmp/Teams-1.3.00.34662-full.nupkg
It looks like it's finding the teams exe file okay, could the file have gotten corrupted? Can you try with a fresh version? The only other thing I could think of is a permissions issue, but I used native wget, so probably wouldn't show up in my run and I have permissions for /tmp which I assume you do too.
You were right, it was the file's fault. Once downloaded again, the extraction worked.
But now there is a new problem, giving the install command, only white windows open, without any loading...
Image
In conclusion, this is the terminal output, terminated by me after a while which remains stuck on the previous screen

Code: Select all

WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe
002b:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

(node:42) UnhandledPromiseRejectionWarning: ReferenceError: window is not defined
    at C:\Teams\lib\net45\resources\app.asar\node_modules\ipc-monitor\renderer\dom-observables.js:31:5
    at new Promise (<anonymous>)
    at Object.<anonymous> (C:\Teams\lib\net45\resources\app.asar\node_modules\ipc-monitor\renderer\dom-observables.js:30:30)
    at Module._compile (C:\Teams\lib\net45\resources\app.asar\external\v8-compile-cache\v8-compile-cache.js:192:36)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10)
    at Module.load (internal/modules/cjs/loader.js:816:32)
    at Module._load (internal/modules/cjs/loader.js:728:14)
    at Function.Module._load (electron/js2c/asar.js:748:26)
    at Module.require (internal/modules/cjs/loader.js:853:19)
    at require (C:\Teams\lib\net45\resources\app.asar\external\v8-compile-cache\v8-compile-cache.js:173:28)
(node:42) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:42) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
004c:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 appInitialized listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(node:42) UnhandledPromiseRejectionWarning: undefined
(node:42) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
0055:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
005d:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
005f:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0088:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
00a5:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
00b9:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
00ca:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
invisible kid
Level 5
Level 5
Posts: 359
Joined: Tue Dec 24, 2019 3:23 pm

Re: Error: please re-run this installer as normal user

Post by invisible kid »

Code: Select all

002b:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
I'm not 100% sure that this is THE issue causing the white screens but it very well could be. The "good" news is this looks like a common issue that will be relatively easily fixed. You might just need to do an apt-get install winbind, but I'm not 100% sure. Debian folks who have gone through this will know better. I think I got it from samba maybe.
invisible kid
Level 5
Level 5
Posts: 359
Joined: Tue Dec 24, 2019 3:23 pm

Re: Error: please re-run this installer as normal user

Post by invisible kid »

Can you extract the net45 directory to your wineprefix and try to run Teams?
Oops! Just noticed this and I just set everything up and ran it with your instructions and it came up:
out.png
I must note that I have native linux version of Teams installed, but I guess that shouldn't affect this test.
Teo7
Level 2
Level 2
Posts: 14
Joined: Fri Oct 23, 2020 9:40 am

Re: Error: please re-run this installer as normal user

Post by Teo7 »

invisible kid wrote: Tue Jan 26, 2021 10:28 am

Code: Select all

002b:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
I'm not 100% sure that this is THE issue causing the white screens but it very well could be. The "good" news is this looks like a common issue that will be relatively easily fixed. You might just need to do an apt-get install winbind, but I'm not 100% sure. Debian folks who have gone through this will know better. I think I got it from samba maybe.
I installed winbind, but the problem persists..
this is the new output:

Code: Select all

WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe

(node:42) UnhandledPromiseRejectionWarning: ReferenceError: window is not defined
    at C:\Teams\lib\net45\resources\app.asar\node_modules\ipc-monitor\renderer\dom-observables.js:31:5
    at new Promise (<anonymous>)
    at Object.<anonymous> (C:\Teams\lib\net45\resources\app.asar\node_modules\ipc-monitor\renderer\dom-observables.js:30:30)
    at Module._compile (C:\Teams\lib\net45\resources\app.asar\external\v8-compile-cache\v8-compile-cache.js:192:36)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10)
    at Module.load (internal/modules/cjs/loader.js:816:32)
    at Module._load (internal/modules/cjs/loader.js:728:14)
    at Function.Module._load (electron/js2c/asar.js:748:26)
    at Module.require (internal/modules/cjs/loader.js:853:19)
    at require (C:\Teams\lib\net45\resources\app.asar\external\v8-compile-cache\v8-compile-cache.js:173:28)
(node:42) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:42) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 appInitialized listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(node:42) UnhandledPromiseRejectionWarning: undefined
(node:42) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
just to know, what version of wine are you using? i the 5.0.3 downloaded from the official debian repo.
invisible kid
Level 5
Level 5
Posts: 359
Joined: Tue Dec 24, 2019 3:23 pm

Re: Error: please re-run this installer as normal user

Post by invisible kid »

Oh crap, I was hoping that would fix your issue. I am running wine-4.19 (Staging). I'll attach my run log in case it helps you debug:

Code: Select all

WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe
000b:fixme:winediag:start_process Wine Staging 4.19 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
001f:fixme:plugplay:pnp_manager_device_pnp Unhandled PnP request 0x7.
002b:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
002b:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
002c:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
002b:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
002b:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22f604, (nil) 0x22f600
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22f604 (nil) 0x22f600) returning a dummy value (current locale)
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22f604, 0x22f5e0 0x22f600
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22f604 0x22f5e0 0x22f600) returning a dummy value (current locale)
0034:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000225FDA0
002b:fixme:ntdll:NtQueryVolumeInformationFile 0x200: faking volume info
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A6C0 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021A720 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000000218390 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000000218390 1 C) semi-stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0000000000218390 1 C) semi-stub
002b:fixme:msg:ChangeWindowMessageFilterEx 0x1005c 4a 1 (nil)
002b:fixme:wer:WerRegisterFile (L"C:\\users\\xxx\\Application Data\\Microsoft\\Teams\\settings.json", 2, 2) stub!
002b:fixme:shcore:SetCurrentProcessExplicitAppUserModelID L"com.squirrel.Teams.Teams": stub
002b:fixme:wtsapi:WTSRegisterSessionNotification Stub 000000000001005E 0x00000000
002b:fixme:process:RegisterApplicationRestart (L"--restarted",8)
(node:42) UnhandledPromiseRejectionWarning: ReferenceError: window is not defined
    at C:\Teams\lib\net45\resources\app.asar\node_modules\ipc-monitor\renderer\dom-observables.js:31:5
    at new Promise (<anonymous>)
    at Object.<anonymous> (C:\Teams\lib\net45\resources\app.asar\node_modules\ipc-monitor\renderer\dom-observables.js:30:30)
    at Module._compile (C:\Teams\lib\net45\resources\app.asar\external\v8-compile-cache\v8-compile-cache.js:192:36)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10)
    at Module.load (internal/modules/cjs/loader.js:816:32)
    at Module._load (internal/modules/cjs/loader.js:728:14)
    at Function.Module._load (electron/js2c/asar.js:748:26)
    at Module.require (internal/modules/cjs/loader.js:853:19)
    at require (C:\Teams\lib\net45\resources\app.asar\external\v8-compile-cache\v8-compile-cache.js:173:28)
(node:42) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:42) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
002b:fixme:winsock:WSALookupServiceBeginW (0x22f240 0x00000ff0 0x22f2b8) Stub!
002b:fixme:iphlpapi:NotifyAddrChange (Handle 0x22f3e8, overlapped 0x326d890): stub
002b:fixme:win:GetPointerDevices (0x22ed7c (nil)): partial stub
002b:fixme:win:GetDisplayConfigBufferSizes (0x2 0x22edc4 0x22edc0): stub
003c:fixme:wtsapi:WTSRegisterSessionNotification Stub 0000000000010060 0x00000001
002b:fixme:win:RegisterDeviceNotificationW (hwnd=0x10068, filter=0x22f188,flags=0x00000000) returns a fake device notification handle!
002b:fixme:iphlpapi:GetBestRoute2 (0x2e58193, 0, (nil), 0x2e58649, 0x00000000, 0x22c528, 0x22c508): stub
002b:fixme:dwmapi:DwmIsCompositionEnabled 000000000022DF0C
0047:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0047:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
004c:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
0047:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0047:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
0045:fixme:sync:NtSetInformationJobObject stub: 0x358 4 0x44def98 4
002b:fixme:win:RegisterTouchWindow (0x1007e 00000002): stub
003c:fixme:wtsapi:WTSRegisterSessionNotification Stub 0000000000010062 0x00000000
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22d374, (nil) 0x22d370
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22d374 (nil) 0x22d370) returning a dummy value (current locale)
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22d374, 0x22d350 0x22d370
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22d374 0x22d350 0x22d370) returning a dummy value (current locale)
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
002b:fixme:win:RegisterTouchWindow (0x10086 00000002): stub
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22d164, (nil) 0x22d160
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22d164 (nil) 0x22d160) returning a dummy value (current locale)
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22d164, 0x22d140 0x22d160
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22d164 0x22d140 0x22d160) returning a dummy value (current locale)
002b:fixme:shcore:GetCurrentProcessExplicitAppUserModelID 000000000022CA60: stub
002b:fixme:win:RegisterTouchWindow (0x10092 00000002): stub
002b:fixme:shell:CustomDestinationList_SetAppID 0xf1c50 (L"com.squirrel.Teams.Teams"): stub
0059:fixme:time:QueryThreadCycleTime (0xe8,0x12ffb80): stub!
002b:fixme:win:RegisterTouchWindow (0x2008c 00000002): stub
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22d404, (nil) 0x22d400
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22d404 (nil) 0x22d400) returning a dummy value (current locale)
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22d404, 0x22d3e0 0x22d400
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22d404 0x22d3e0 0x22d400) returning a dummy value (current locale)
002b:fixme:explorerframe:taskbar_list_DeleteTab iface 00000000000E8430, hwnd 000000000002008C stub!
002b:fixme:win:RegisterTouchWindow (0x20078 00000002): stub
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22d2b4, (nil) 0x22d2b0
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22d2b4 (nil) 0x22d2b0) returning a dummy value (current locale)
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22d2b4, 0x22d290 0x22d2b0
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22d2b4 0x22d290 0x22d2b0) returning a dummy value (current locale)
002b:fixme:explorerframe:taskbar_list_AddTab iface 00000000000F1FD0, hwnd 0000000000020078 stub!
002b:fixme:shcore:GetCurrentProcessExplicitAppUserModelID 000000000022CBF0: stub
002b:fixme:win:RegisterTouchWindow (0x20072 00000002): stub
002b:fixme:system:SystemParametersInfoW Unknown action: 8214
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.
(node:42) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 appInitialized listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
(node:42) UnhandledPromiseRejectionWarning: undefined
(node:42) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
0053:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0053:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0066:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
0053:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0053:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
006c:fixme:winsock:WSALookupServiceBeginW (0x205e340 0x00000ff0 0x205e3b8) Stub!
006c:fixme:iphlpapi:NotifyAddrChange (Handle 0x205e4e8, overlapped 0x3f5150): stub
006c:fixme:wlanapi:WlanEnumInterfaces (0000000000000001, 0000000000000000, 000000000205D7C8) semi-stub
006c:fixme:wlanapi:WlanEnumInterfaces (0000000000000001, 0000000000000000, 000000000205D7C8) semi-stub
0058:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0058:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0073:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
0058:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0058:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
0083:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000000002B0FDA0
0060:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0060:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0085:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
0060:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0060:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
0058:fixme:ntdll:NtQueryVolumeInformationFile 0x26c: faking volume info
0063:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0063:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0089:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
0063:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0063:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
0098:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000000002B0FDA0
009a:fixme:time:QueryThreadCycleTime (0xe8,0x12ffb80): stub!
0063:fixme:ntdll:NtQueryVolumeInformationFile 0x26c: faking volume info
00a1:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00a1:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00a3:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
00a1:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00a1:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
00a6:fixme:time:QueryThreadCycleTime (0xe8,0x12ffb80): stub!
00ad:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00ad:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00ae:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
00ad:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00ad:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
00b1:fixme:time:QueryThreadCycleTime (0xe8,0x12ffb80): stub!
00b8:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00b8:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00b9:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
00b8:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00b8:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
00bc:fixme:time:QueryThreadCycleTime (0xe8,0x12ffb80): stub!
0063:fixme:time:QueryThreadCycleTime (0xfffffffffffffffe,0x22ef50): stub!
00c2:fixme:dwmapi:DwmGetCompositionTimingInfo (0000000000000000 000000000675EE88)
007c:fixme:time:QueryThreadCycleTime (0xfffffffffffffffe,0x239f570): stub!
002b:fixme:win:GetPointerDevices (0x22c3cc (nil)): partial stub
002b:fixme:win:GetDisplayConfigBufferSizes (0x2 0x22c414 0x22c410): stub
00ca:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00ca:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00cb:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
00ca:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00ca:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
00ca:fixme:pulse:AudioSessionControl_RegisterAudioSessionNotification (0x6a860)->(0x404300) - stub
00d7:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Pro Audio",00000000025BFCFC): stub
00d7:fixme:avrt:AvSetMmThreadPriority (0000000012345678)->(2) stub
006d:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
002b:fixme:win:RegisterTouchWindow (0x500dc 00000002): stub
002b:fixme:dwmapi:DwmSetWindowAttribute (00000000000500DC, 2, 000000000022C804, 4) stub
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22c884, (nil) 0x22c880
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22c884 (nil) 0x22c880) returning a dummy value (current locale)
002b:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22c884, 0x22c860 0x22c880
002b:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22c884 0x22c860 0x22c880) returning a dummy value (current locale)
002b:fixme:shcore:GetCurrentProcessExplicitAppUserModelID 000000000022C1B0: stub
002b:fixme:win:RegisterTouchWindow (0x500e2 00000002): stub
00db:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00db:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00dc:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=49,0x59fb00,0x00000008,(nil)) Unknown information class
00db:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00db:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x141d7ed00, 0x145fd32e8, 0x145fd32e8) stub.
00e4:fixme:time:QueryThreadCycleTime (0xfffffffffffffffe,0x239f570): stub!
002b:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
002b:fixme:imm:ImmReleaseContext (00000000000500DC, 000000000010ABF0): stub
002b:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
002b:fixme:win:GetPointerDevices (0x22dc2c (nil)): partial stub
002b:fixme:win:GetDisplayConfigBufferSizes (0x2 0x22dc74 0x22dc70): stub
002b:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021AE20 1 C) semi-stub
002b:fixme:shell:CustomDestinationList_SetAppID 0xdd180 (L"com.squirrel.Teams.Teams"): stub
(node:42) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'hasOwnProperty' of undefined
    at C:\Teams\lib\net45\resources\app.asar\lib\appStart.js:1472:110
(node:42) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:42) UnhandledPromiseRejectionWarning: undefined
(node:42) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
00c3:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
00d7:fixme:avrt:AvRevertMmThreadCharacteristics (0000000012345678): stub
006b:fixme:file:ReplaceFileW Ignoring flags 2
006c:fixme:iphlpapi:CancelIPChangeNotify (overlapped 0x3f5150): stub
002b:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
00ca:fixme:pulse:AudioSessionControl_UnregisterAudioSessionNotification (0x6a860)->(0x404300) - stub
0053:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0053:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000022FCE0
00ca:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
002b:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0000000000010060
002b:fixme:iphlpapi:CancelIPChangeNotify (overlapped 0x326d890): stub
002b:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0000000000010062
002b:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
002b:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000022FCE0
Last edited by invisible kid on Tue Jan 26, 2021 4:09 pm, edited 2 times in total.
invisible kid
Level 5
Level 5
Posts: 359
Joined: Tue Dec 24, 2019 3:23 pm

Re: Error: please re-run this installer as normal user

Post by invisible kid »

So it looks like I get

(node:42) UnhandledPromiseRejectionWarning: ReferenceError: window is not defined

too, but it still runs okay, so I guess it's not a show-stopper type of thing. Maybe see if you notice something else that looks suspicious.
Teo7
Level 2
Level 2
Posts: 14
Joined: Fri Oct 23, 2020 9:40 am

Re: Error: please re-run this installer as normal user

Post by Teo7 »

invisible kid wrote: Tue Jan 26, 2021 4:04 pm So it looks like I get

(node:42) UnhandledPromiseRejectionWarning: ReferenceError: window is not defined

too, but it still runs okay, so I guess it's not a show-stopper type of thing. Maybe see if you notice something else that looks suspicious.
The only errors and not warnings seem to be this:

Code: Select all

001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142

Code: Select all

(node:42) UnhandledPromiseRejectionWarning: ReferenceError: window is not defined
But in any case, I don't know what I could try
invisible kid
Level 5
Level 5
Posts: 359
Joined: Tue Dec 24, 2019 3:23 pm

Re: Error: please re-run this installer as normal user

Post by invisible kid »

Maybe someone else can spot something if you paste a full log. One way to capture the output is to do the command

Code: Select all

script
before doing

Code: Select all

WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe
Then, when the program exits or you do a <ctrl-C> and you are able to type commands in the terminal again do a

Code: Select all

<ctrl-D>
Then everything will be saved in a file called "typescript" in your current directory. You can then use that to cut and paste it in, or attach as a file.
This won't work if there is too much debug statements(file will be too large), but I think we should be okay in this case. You can also redirect output to a file with > and >>, but we'll see if this works first.

You can also compare your output to my output line by line and see if you can see where our output starts to differ. There might be some differences due to the different wine versions that you and I are running, but might give us a hint or clue.
Teo7
Level 2
Level 2
Posts: 14
Joined: Fri Oct 23, 2020 9:40 am

Re: Error: please re-run this installer as normal user

Post by Teo7 »

Your script looks very different from mine..
I followed your instructions and this is my typescript:

Code: Select all

Script started on 2021-01-27 11:58:35+01:00 [TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="80" LINES="24"]

001b:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142

(node:43) UnhandledPromiseRejectionWarning: ReferenceError: window is not defined

    at Z:\home\teo\Teams\drive_c\Teams\lib\net45\resources\app.asar\node_modules\ipc-monitor\renderer\dom-observables.js:31:5

    at new Promise (<anonymous>)

    at Object.<anonymous> (Z:\home\teo\Teams\drive_c\Teams\lib\net45\resources\app.asar\node_modules\ipc-monitor\renderer\dom-observables.js:30:30)

    at Module._compile (Z:\home\teo\Teams\drive_c\Teams\lib\net45\resources\app.asar\external\v8-compile-cache\v8-compile-cache.js:192:36)

    at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10)

    at Module.load (internal/modules/cjs/loader.js:816:32)

    at Module._load (internal/modules/cjs/loader.js:728:14)

    at Function.Module._load (electron/js2c/asar.js:748:26)

    at Module.require (internal/modules/cjs/loader.js:853:19)

    at require (Z:\home\teo\Teams\drive_c\Teams\lib\net45\resources\app.asar\external\v8-compile-cache\v8-compile-cache.js:173:28)

(node:43) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

(node:43) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) ProtocolDeprecateCallback: The callback argument of protocol module APIs is no longer needed.

(node:43) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 appInitialized listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit

(node:43) UnhandledPromiseRejectionWarning: undefined

(node:43) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

exit
invisible kid
Level 5
Level 5
Posts: 359
Joined: Tue Dec 24, 2019 3:23 pm

Re: Error: please re-run this installer as normal user

Post by invisible kid »

I must admit, I was expecting the output to look more like mine. It looks like some basic logging is getting suppressed. When you run it regularly and just eyeball the output is that all it's printing? It probably won't help but you could try running it like:

Code: Select all

WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe > ./std.txt 2> ./std_err.txt
Then you can check the files std.txt, and std_err.txt in the current directory, but my fear is that that isn't going to give us more information. Adding debug directives/filters should help I would think, but that is not an area I'm experienced in. At this point I might try uninstalling/reinstalling things but you might be better off not listening to me here, I can be a bit of a bull in a china shop sometimes. Hopefully someone who knows more can help.

Just checked my notes and you can try something like this:

Code: Select all

WINEDEBUG=+all WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe
Don't bother trying to capture the output right away, just see with your eyes if that helps with producing more output. If that does produce more output it will probably be too much, but there are other directives you can try instead of +all:

https://wiki.winehq.org/Wine_Developer% ... gging_Wine
invisible kid
Level 5
Level 5
Posts: 359
Joined: Tue Dec 24, 2019 3:23 pm

Re: Error: please re-run this installer as normal user

Post by invisible kid »

Another strategy is to confirm regular more common usage works, a sanity check. Have you been using this version of wine for anything else? Are you able to run winecfg? If you haven't run anything else yet with this version of wine, try some simpler programs:

Code: Select all

WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d winecfg
WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine notepad
WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine iexplore http://www.google.com
See if those are able to come up okay.
Teo7
Level 2
Level 2
Posts: 14
Joined: Fri Oct 23, 2020 9:40 am

Re: Error: please re-run this installer as normal user

Post by Teo7 »

I tried your first tips:

Code: Select all

WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe > ./std.txt 2> ./std_err.txt
but as expected, he didn't give us any more information .. In fact, the std_err.txt file was completely empty.
Teo7
Level 2
Level 2
Posts: 14
Joined: Fri Oct 23, 2020 9:40 am

Re: Error: please re-run this installer as normal user

Post by Teo7 »

invisible kid wrote: Wed Jan 27, 2021 3:17 pm Another strategy is to confirm regular more common usage works, a sanity check. Have you been using this version of wine for anything else? Are you able to run winecfg? If you haven't run anything else yet with this version of wine, try some simpler programs:

Code: Select all

WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d winecfg
WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine notepad
WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine iexplore http://www.google.com
See if those are able to come up okay.
I tried this command, and winecfg, notepad and internet explorer work fine.
invisible kid
Level 5
Level 5
Posts: 359
Joined: Tue Dec 24, 2019 3:23 pm

Re: Error: please re-run this installer as normal user

Post by invisible kid »

Oh dear, I am stumped! Only thing left in my toolbox would be removing/cleaning/reinstalling wine and/or verifying that you did all the commands as originally stated (to start fresh do a

Code: Select all

rm -rf $HOME/Teams
before any commands):

Code: Select all

WINEPREFIX=$HOME/Teams wineboot -u
7z e $HOME/Video/Teams_windows_x64.exe -o/tmp Teams-1.3.00.34662-full.nupkg
mkdir $HOME/Teams/drive_c/Teams
7z x /tmp/Teams-1.3.00.34662-full.nupkg -o$HOME/Teams/drive_c/Teams */net45/*
cd $HOME/Teams/drive_c/Teams/lib/net45
WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe
And look closely to see if you get any errors after any of the commands. Make sure the version numbers in the filenames match in case at one point you got a more current install file. Do not skip any of the commands.
Teo7
Level 2
Level 2
Posts: 14
Joined: Fri Oct 23, 2020 9:40 am

Re: Error: please re-run this installer as normal user

Post by Teo7 »

invisible kid wrote: Wed Jan 27, 2021 6:42 pm Oh dear, I am stumped! Only thing left in my toolbox would be removing/cleaning/reinstalling wine and/or verifying that you did all the commands as originally stated (to start fresh do a

Code: Select all

rm -rf $HOME/Teams
before any commands):

Code: Select all

WINEPREFIX=$HOME/Teams wineboot -u
7z e $HOME/Video/Teams_windows_x64.exe -o/tmp Teams-1.3.00.34662-full.nupkg
mkdir $HOME/Teams/drive_c/Teams
7z x /tmp/Teams-1.3.00.34662-full.nupkg -o$HOME/Teams/drive_c/Teams */net45/*
cd $HOME/Teams/drive_c/Teams/lib/net45
WINEPREFIX=$HOME/Teams WINEDLLOVERRIDES=libglesv2=d wine Teams.exe
And look closely to see if you get any errors after any of the commands. Make sure the version numbers in the filenames match in case at one point you got a more current install file. Do not skip any of the commands.
nothing to do .. always the same problem. In any case, you were very helpful with the first problem, that of the non-admin user. As soon as possible I create a new thread with this new problem, and see if anyone is able to fix it.
in any case, thank you very much.
Locked