Comments (26)
Has any thought been put to a UWP/PWA version of Riot in the Windows Store? Could even help discoverability there. Potentially opens up running on Xbox as well that way (unsure if there would be demand for that).
from element-desktop.
would simply be a question of enabling msi output on squirrel.windows, build would have to be done twice for Windows (one for silent installing exe and one for msi)
from element-desktop.
You are right the json was wrong.
I manged to build and install the msi correctly. everything works as expected.
Thank you very much.
Regards,
from element-desktop.
Similar response as to that thread, you're more than welcome to maintain an MSIX package yourself. Community packages drive open source forward. We can't feasibly maintain all the various packages users want to any level or standard. The line has to be drawn somewhere and right now it's the intersection of what electron builder has native support for and we have experience in maintaining within the team. We're more than happy to help as much as we can. We moved all our packaging into github actions to make it more transparent and reproducible.
from element-desktop.
This would also help with RDS support I believe
from element-desktop.
So uh yeah can we revisit this topic please? it's well over 2 years later now, and the installer is only installing in the user profile right now. Some people are even getting confused with how streamlined it is.
So, I think we should:
- Add options as to how it's installed (user profile/all users)
- Make the installer clearly say something like "Installation complete!", as right now it just closes without any indication of success/failure.
Also, installing for all users means the credentials will need to be securely stored inside the user profile, including E2E keys.
from element-desktop.
@BloodyIron the update mechanism (Squirrel) simply does not support it: electron-userland/electron-builder#605
NSIS is not being used due to issues caused by it doing a full uninstall followed by a full install and calling it an "Update" iirc
from element-desktop.
NSIS? Nullsoft Scriptable Install System?
So each user needs to install it themselves on a multi-user system?
from element-desktop.
the NSIS mode in electron-builder anyway
from element-desktop.
Seems like appx is only supported under nsisWeb mode on electron-builder which as outlined above is undesired for other reasons
from element-desktop.
I think I was actually suggesting forgoing electron for Windows and making use of either the WebView in UWP or the ability to package a PWA as an appx. However, since the update process appeared to be reason to avoid NSIS, it's worth asking does that problem still apply when the MS Store would be handling the updates?
from element-desktop.
I have used Rocket.Chat so far. Again, Electron is the base, but I have a /allusers switch here and even get an MSI installer that allows me to deploy the application comfortably in the organization. So the problem seems to be solvable. It would be great if there was such an installer for element-desktop as well.
https://github.com/RocketChat/Rocket.Chat.Electron/
from element-desktop.
Would be good to be able to install element on a secondary drive or a different drive of my choosing.
from element-desktop.
Seems like appx is only supported under nsisWeb mode on electron-builder which as outlined above is undesired for other reasons
MS store now allows win32 apps, Discord which i think is installed in a similar way to Element is available at the moment on the MS store.
https://developer.microsoft.com/en-us/microsoft-store/desktop-apps/
from element-desktop.
https://winget.run/pkg/Element/Element
from element-desktop.
@t3chguy
Any guide how to enable MSI build ?
Can I pass the homeserver as silent parameter ?
Thank you in advance
from element-desktop.
@AnassDriate #387 - you can pas homeserver during build via a custom config.json - https://github.com/vector-im/element-desktop#config
from element-desktop.
@t3chguy
Thank you for your replay.
Regarding the msi, i managed to build it but it intsall the app in LOCAL path.
My goal is to install the app in system/program files.
Am I missing something?
By the way i tried to install the exe with --profile-dir (program files) does not work.
from element-desktop.
--profile-dir
is a runtime flag, not an installation flag
The MSI requires admin privileges and installs into Program Files, if you have an exe
then it isn't an msi
from element-desktop.
Thank you for the clarification about --profile-dir .
I have admin privileges and I have Both .exe and .msi ( sorry if it was not clear).
I will give it retry, i keep you updated.
Thank you
from element-desktop.
As you can see in the screenshots in #387 the installation is directly into C:\Program Files\Element
so it must be something going on with your build. Are you definitely specifying perMachine=true as per the diff in that PR?
from element-desktop.
I just add it but it triggers an issue in my CICD
Please provide more detail than "an issue"
from element-desktop.
Actually, your JSON looks wrong. You have "msi"
in the "win"
block where it should be its own sibling block.
from element-desktop.
What about MSIX rather than APPX? Is it in any way less stringent?
from element-desktop.
What about MSIX rather than APPX? Is it in any way less stringent?
It doesn't look like electron-builder has MSIX support - electron-userland/electron-builder#5021
from element-desktop.
@t3chguy, tom-james-watson/breaktimer-app#223 (comment). Microsoft provides some ridiculously easy-to-use GUI applications to do so, and it can be automated.
from element-desktop.
Related Issues (20)
- Unwanted "Help me write" Google integration, perhaps related to Google Gemini HOT 3
- Element Nightly: Message search initialisation failing HOT 2
- "Missing session data" screen: Logout button not working HOT 1
- Visual accessibility: Font size, UI scaling HOT 1
- Unable to access microphone a second time after making a call HOT 2
- "Missing Session Data" error HOT 3
- Element echoes even everything is set up properly HOT 1
- v1.11.68 upgrade causes a disconnection when you attempt to share your screen HOT 4
- v1.11.68 update causes Element window to move upwards and left when toggling visibility HOT 1
- Unable to search fully in one encrypted private room HOT 1
- Manual verification fails due to erroneous e2ee disabled message HOT 4
- Fixing blank screen on Windows HOT 1
- force auto-raise/focus-pull on new notification HOT 2
- Custom font resets when changing between light/dark mode HOT 1
- Any official distribution channel supporting most popular Linux distros (AppImage, Flatpak, binary installer, anything) HOT 3
- Notifications are shown for every single new message received after turning monitor off (Win10) HOT 6
- Do not open a conversation at startup HOT 1
- Call stops when trying to share a screen HOT 1
- macOS sandbox HOT 1
- Clicking on notifications don't bring Element to the top on macOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from element-desktop.