-
Notifications
You must be signed in to change notification settings - Fork 162
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
Windows GUI: Add online/stub installer #986
Conversation
Thank you. |
That is what I am thinking too (like other apps [Firefox?] so users can reuse previously downloaded installer too) but that requires a special URL so I cannot do that now right? |
Right. We need to discuss internally about that. I'll let you know. |
Need find a way to pass language to the 2nd installer if possible. Right now on first time install (not updating) user needs to select language two times and the 2nd installer appears behind the 1st after language selection. Or simplify the downloader more so that it doesn't have pages. |
Simplified... less than 90KiB now and no double installer visible :) |
94af824
to
c263943
Compare
@g-maxime more stuff for the version upgrade script. |
and digitally signing another installer exe. |
@JeromeMartinez If we want to make the stub installer more secure, we can add a check that the downloaded installer is digitally signed with the correct cert before executing it. It will require third party plugin such as the one from Mozilla used by Firefox's stub installer or another one. If the version-less stub is still desired, one possibility is to add a config or ini file containing version and/or URL to the server that can be read by NSIS ConfigRead or ReadINIStr functions. |
We have already a lot of places with the version, we'll check in the team where the version-less installer should check that. |
All is fine now, right? |
Yes. The only thing is it does not check the downloaded installer for valid digital signature before executing. Not an issue if the https connection is not tampered with and the server is not compromised but Firefox's stub installer does have verification. |
There is still room for improvement/refinement...