signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.55k stars 2.64k forks source link

Unable to install Signal (7.24.1) on Intuned Windows 11 #7017

Closed Maltavius closed 1 week ago

Maltavius commented 1 week ago

Using a supported version?

Overall summary

I'm unable to install Signal because Signal installer tries to put a Signal.lnk in a folder that doesn't exist.

[Window Title] C:\Users\LTUADwoxwox$\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Signal.lnk

[Content] Det gick inte att komma åt den angivna enheten, sökvägen eller filen. Du har kanske inte rätt behörighet för att komma åt objektet. Translation: The specified drive, path, or file could not be accessed. You may not have the correct permissions to access the object. [OK]

Steps to reproduce

  1. Download Signal from official site
  2. Right Click and Select properties, Unblock the Internet warning
  3. Right click and select "Run with elevated access"
  4. Provide a reason, and the correct pin.
  5. Watch it fail with the error message
    
    [Window Title]
    C:\Users\LTUAD_woxwox_$\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Signal.lnk

[Content] Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item.

[OK]



### Expected result

That signal tries to install into folder 
C:\Users\woxwox\AppData\
instead

### Actual result

Program doesn't get installed

### Screenshots

_No response_

### Signal version

7.24.1

### Operating system

Windows 11

### Version of Signal on your phone

_No response_

### Link to debug log

_No response_
jamiebuilds-signal commented 1 week ago

To be clear, your correct user directory is C:\Users\woxwox\ and you have no idea where "LTUADwoxwox$" could have come from? I don't immediately have an idea where LTUAD_*_$ could have come from...

Maltavius commented 1 week ago

LTUAD is our domain.

I'm guessing that using th elevate function, Im running it as a temporary admin user.

Den tors 19 sep. 2024 04:56Jamie Kyle @.***> skrev:

To be clear, your correct user directory is C:\Users\woxwox\ and you have no idea where "LTUADwoxwox$" could have come from? I don't immediately have an idea where LTUAD*$ could have come from...

— Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Desktop/issues/7017#issuecomment-2359875820, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNKDOM3BFWIH7FZQEOJVC3ZXI4NZAVCNFSM6AAAAABOLBRVIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZHA3TKOBSGA . You are receiving this because you authored the thread.Message ID: @.***>

jamiebuilds-signal commented 1 week ago

Okay I think the answer here is that you shouldn't install it as a temporary admin user, I don't think the installer is necessarily doing the wrong thing here otherwise. It would be nice if it could give a better error message, but the one that's there isn't terrible, and I'm not sure how much we could even improve upon it.

Maltavius commented 1 week ago

Firefox does this correctly. Discord does this correctly. Signal doesn't.

It also means that Signal won't be able to be installed into any Windows computer that uses Intune and doesn't allow for "Run Administrator" and uses the Endpoint Privilege Management instead.