-
Notifications
You must be signed in to change notification settings - Fork 240
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
Option to install Riot electron under Windows in Program Files rather than Local #678
Comments
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) |
This would also help with RDS support I believe |
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:
Also, installing for all users means the credentials will need to be securely stored inside the user profile, including E2E keys. |
@BloodyIron the update mechanism (Squirrel) simply does not support it: electron-userland/electron-builder#605 |
NSIS? Nullsoft Scriptable Install System? So each user needs to install it themselves on a multi-user system? |
the NSIS mode in electron-builder anyway |
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). |
Seems like appx is only supported under nsisWeb mode on electron-builder which as outlined above is undesired for other reasons |
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? |
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. |
Would be good to be able to install element on a secondary drive or a different drive of my choosing. |
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. |
@t3chguy |
@AnassDriate #387 - you can pas homeserver during build via a custom config.json - https://github.com/vector-im/element-desktop#config |
@t3chguy Regarding the msi, i managed to build it but it intsall the app in LOCAL path. Am I missing something? By the way i tried to install the exe with --profile-dir (program files) does not work. |
The MSI requires admin privileges and installs into Program Files, if you have an |
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 |
As you can see in the screenshots in #387 the installation is directly into |
Please provide more detail than "an issue" |
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, |
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 |
@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. |
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. |
No description provided.
The text was updated successfully, but these errors were encountered: