unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: "Jostein Kjønigsen" <jostein@secure.kjonigsen.net>
Cc: jostein@kjonigsen.net, emacs-devel@gnu.org
Subject: Re: windows installer
Date: Fri, 10 Nov 2017 17:01:39 +0000	[thread overview]
Message-ID: <8760aijcek.fsf@russet.org.uk> (raw)
In-Reply-To: <1510126271.1965593.1165373624.0601E5CF@webmail.messagingengine.com> ("Jostein Kjønigsen"'s message of "Wed, 08 Nov 2017 08:31:11 +0100")

Jostein Kjønigsen <jostein@secure.kjonigsen.net> writes:
> This is no doubt a major-improvement.

Thank you!


> If I were to provide some feedback or comments, I would like to point
> out a few things.
>
> 1. Not commonly downloaded (yet)
>
> For the time being, the installer is reported as "not commonly
> downloaded", and gives a big red warning in MS EDGE. I'm guessing
> you'll get the same in Chrome, and also possibly Firefox:
>
> I've seen this before when developing and delivering other
> Windows-software, and this should only appear in a transitional phase.
>
> This will make the initial roll-out a little more painful, but it
>should basically resolve itself over time.
>
> I'm just mentioning this, so that if you get other comments on the
> same subject, I don't think you need to be overly worried about it.

Okay. For the snapshots, I will probably start adding a date to the file
name which will exacerbate this, but as you say it should go away when
Emacs-27 comes out.





> 2. Installer is not signed
>
> These days trying to distribute a unsigned installer on Windows is
> getting increasingly cumbersome. Especially for the end-users trying
> to run it.


Yeah, couldn't agree more. This has to be fixed.



> The solution is signing the installer. Signing an installer (and any
> EXE-file really) is fairly trivial and there are tools for this in the
> Windows SDK. (And make sure to use the time-stamp options too!)
>
> To do this of course, you will have to be in possession of a X509
> code-signing certificate. If GNU already has one of these, it should
> be easy to convert into whatever format Windows expects it to be in,
> and put into use.

A single GNU one would be the thing, I think.

> If this is deemed important enough to resolve, I think the first
> course of action will have to be finding an affordable option for
> buying and renewing code-signing certificates.
>
> Managing the security of this certificate is also important concern,
> but one we can dig deeper into at a later point.

One solution here would be to sign the exe's when I upload them; this
means that the signature would happen inside gnu.org. AFAICT, it's
possible to do the signature with mono based tools -- so gnu.org would
not need a windows box to achieve this. I guess they'd need to re-GPG
sign it also, as signtool signature would break the GPG one.

> Also setting up code-signing in a CI-environment (and especially for a
> FOSS-project) can be a bit of a pain. Is the Windows-installer built
> in a CI-environment? Should it be? If so, this may also something we
> will need to solve too, but again, that's definitely something for
> later.

Signing on upload would solve this also. But, no, the windows-installer,
like the rest of the windows binaries on a cheap media box in my living
room.



> 3. Installer defaults
>
> Once launched the installer seems to work as intended. I do however question some of the defaults provided.
>
> Install default directory has IMO at least 2 issues:
>
> * The default is to install to a folder on the desktop. This is highly unconventional.

Yeah, known issue "Currently, it installs to Desktop which is not right,
but was easy.".

It's quick and easy to see what is going on there.

>  I suggest we instead use the user's profile folder. From an initial
>  probe, this can be found in at least the following
>  environment-variables on my Windows 10 test-machine: USERPROFILE (or
>  by concatenating HOMEDRIVE and HOMEPATH ).

I'll fix this.


>
> * The default install-directory includes the Emacs-version.
>
>  This means that if I create any mappings to this installed
>  Emacs-version, add it to the path, and I later want to upgrade Emacs
>  to a newer version... Will that be installed in a different place?
>  Will I have to re-register Emacs all over the registry and in all
>  open-with dialogs?

No idea.

I'm presuming most people will not add it to the path, but launch it
from the shortcut that the installation adds.



>  Not including the version-number will give us much less issues down
>  the line, especially for upgrades.

I think it will make it hard for the installer to notice downgrades,
though.

>
> * It should be noted that the Start-menu folder created for Emacs also
> contains the version number.
>
>  For the same reasons given above, I advice that we also remove the
>  version-number from this folder too. Again, it will make upgrades and
>  similar scenarios much more hygienic, with less "old stuff" we have
>  to clean up, in order to avoid stale links, or double
>  program-registrations for the same piece of software.

Would you be able to test the program-registrations for me? You should
be able to do this just by changing the directory name.

For the start menu, what about adding both "Emacs" and "Emacs-27"?


> Apart from that, I'm all positive about this initiative and the
> improvements it provides. This is just so much better.

Me too. I'm tired of seeing blank looks on the faces of people shown the
zip.

Phil



  reply	other threads:[~2017-11-10 17:01 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26 23:11 windows installer Phillip Lord
2017-10-28 21:47 ` Richard Stallman
2017-11-06  8:11 ` Jostein Kjønigsen
     [not found]   ` <87h8u6bae3.fsf@russet.org.uk>
     [not found]     ` <WM!524810e63610127669556b68fb62cde560daf19be50fc52d4d63dd232af7bdb0490810e03b84a6559c9b2017d8462cc3!@mailhub-mx4.ncl.ac.uk>
2017-11-08  7:31       ` Jostein Kjønigsen
2017-11-10 17:01         ` Phillip Lord [this message]
2017-11-10 18:52           ` Eli Zaretskii
2017-11-10 20:46             ` Stefan Monnier
2017-11-10 21:22               ` John Mastro
2017-11-10 21:35               ` Fabrice Popineau
2017-11-11  7:33               ` Eli Zaretskii
2017-11-11 11:34                 ` Phillip Lord
2017-11-11 14:57                 ` Stefan Monnier
2017-11-12 11:21                 ` Jostein Kjønigsen
2017-11-10 21:33             ` Fabrice Popineau
2017-11-11  7:35               ` Eli Zaretskii
2017-11-10 23:27             ` Phillip Lord
2017-11-11  0:25               ` Fabrice Popineau
2017-11-11 11:25                 ` Phillip Lord
2017-11-12  0:30                   ` Fabrice Popineau
2017-11-12  4:30                     ` Eli Zaretskii
     [not found]                     ` <87fu9hbytq.fsf@russet.org.uk>
2017-11-13 22:25                       ` Phillip Lord
2017-11-14 13:08                         ` Fabrice Popineau
2017-11-16 16:15                           ` Phillip Lord
2017-11-11  7:48               ` Eli Zaretskii
2017-11-11 11:24                 ` Phillip Lord
2017-11-11 12:01                   ` Eli Zaretskii
     [not found]           ` <<83ineiotjr.fsf@gnu.org>
2017-11-10 21:43             ` Drew Adams
2017-11-10 23:35               ` Phillip Lord
2017-11-11  7:49                 ` Eli Zaretskii
2017-11-11  7:40               ` Eli Zaretskii
2017-11-11  9:42                 ` Yuri Khan
2017-11-11 10:37                   ` Eli Zaretskii
2017-11-11 16:39                 ` Drew Adams
     [not found]                   ` <87a7zpbxza.fsf@russet.org.uk>
2017-11-13 22:44                     ` Phillip Lord
2017-11-14 14:54                       ` Drew Adams
2017-11-16 16:15                         ` Phillip Lord
2017-11-16 16:23                           ` Eli Zaretskii
2017-11-16 16:31                             ` Fabrice Popineau
2017-11-16 16:57                               ` Eli Zaretskii
2017-11-16 17:35                                 ` Fabrice Popineau
2017-11-16 17:39                                   ` Eli Zaretskii
2017-11-16 18:10                                     ` Fabrice Popineau
2017-11-16 20:45                                       ` Richard Copley
2017-11-17  7:14                                         ` Eli Zaretskii
2017-11-17  7:22                                           ` Fabrice Popineau
2017-11-17  7:35                                             ` Eli Zaretskii
2017-11-17  7:25                                         ` Fabrice Popineau
2017-11-16 17:42                                   ` Noam Postavsky
2017-11-16 17:45                                     ` Fabrice Popineau
2017-11-22 22:39                                   ` Phillip Lord
  -- strict thread matches above, loose matches on Subject: below --
2017-11-12  8:56 Angelo Graziosi
2017-11-12  9:03 ` Fabrice Popineau
2017-11-12 11:30   ` Eli Zaretskii
2017-11-12 12:39     ` Fabrice Popineau
     [not found]       ` <8760adbxw6.fsf@russet.org.uk>
2017-11-13 22:46         ` Phillip Lord
2017-11-14 14:36           ` Angelo Graziosi
2017-11-14 16:31             ` Fabrice Popineau
2017-11-14 20:12               ` Angelo Graziosi
2017-11-20  8:46                 ` Jostein Kjønigsen
2017-11-20 18:07                   ` Eli Zaretskii
2017-11-22 23:01                   ` Phillip Lord
2017-11-23  3:43                     ` Eli Zaretskii
2017-11-23 18:06                       ` Phillip Lord
2017-11-23 20:09                         ` Eli Zaretskii
2017-11-24 19:13                           ` Phillip Lord
2017-11-24 19:56                             ` Eli Zaretskii
2017-11-25 11:08                               ` Phillip Lord
2017-11-25 12:56                                 ` Eli Zaretskii
2017-11-27 17:56                                   ` Phillip Lord
2017-11-12 14:14   ` Angelo Graziosi
2017-11-12 11:28 ` Eli Zaretskii
2017-11-12 14:27   ` Angelo Graziosi
2017-11-12 15:04     ` Eli Zaretskii
2017-11-12 17:32       ` Angelo Graziosi
2017-11-12 18:42         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760aijcek.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    --cc=jostein@kjonigsen.net \
    --cc=jostein@secure.kjonigsen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).