Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update.exe does not work with .NET Framework 4.8.1 #689

Open
FamilieRo opened this issue Mar 14, 2023 · 5 comments
Open

Update.exe does not work with .NET Framework 4.8.1 #689

FamilieRo opened this issue Mar 14, 2023 · 5 comments
Labels

Comments

@FamilieRo
Copy link

Steps to reproduce

  1. Open Element Desktop
  2. Wait or go to "Help & About" -> Search for Updates
  3. An expetion is thrown:

This application requires one of the following versions of the .NET Framework:
v4.0.30319

Do you want to install this .NET Framework version now?
Element_Error

Outcome

What did you expect?
The update.exe should search for newer versions.

What happened instead?
The update.exe throws an exception.

Operating system

Windows 10 (22H2)

Application version

Messenger Desktop: 1.11.23, Version Olm: 3.2.12

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@t3chguy
Copy link
Member

t3chguy commented Mar 14, 2023

@FamilieRo
Copy link
Author

That is https://github.com/Squirrel/Squirrel.Windows as included by https://www.electron.build/

So I have to open an issue there? Sorry, this is my first one...

@t3chguy
Copy link
Member

t3chguy commented Mar 14, 2023

@FamilieRo unclear which of the 2 upstreams here is to blame. Squirrel.Windows claims to accept a --framework-version but doesn't describe version flexibility, electron-builder offers no way to set --framework-version nor does it set it itself

@JeanPaulLucien
Copy link
Contributor

JeanPaulLucien commented Apr 7, 2023

.NET Framework is common feature of Windows. Maybe your Windows files were damadged. Install .NET Framework again and try.

@t3chguy t3chguy transferred this issue from element-hq/element-web Apr 18, 2023
@Hittos
Copy link

Hittos commented Apr 4, 2024

Someone found the fix for this issue, you can check it here :

https://techcommunity.microsoft.com/t5/windows-server-for-it-pro/windows-server-2019-and-net-4-8/m-p/3840420/highlight/true#M9922

All you have to do is paste the full code in Notepad, save as "All files" while adding a .reg at the end of the file name, open regedit, then in the File tab, press Import and select the saved Notepad file.

Note: Sorry if this is a late answer, i'm posting this on all the first Google results.

@github-actions github-actions bot added the Stale label Feb 11, 2025
@RiotRobot RiotRobot removed the Stale label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants