From: Corwin Brust <corwin@bru.st>
To: Francis Wright <f.j.wright@live.co.uk>, bug-gnu-emacs@gnu.org
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Windows binary installer ignores user options for Start menu shortcuts
Date: Sat, 21 Dec 2024 13:46:39 -0600 [thread overview]
Message-ID: <CAJf-WoSkFvEZzhX41Z7mb4m22gxMmj=prEC-+yLuZbDSrXB0Dg@mail.gmail.com> (raw)
In-Reply-To: <DU0PR03MB8163223924C38FDE037C46DEE5002@DU0PR03MB8163.eurprd03.prod.outlook.com>
Thanks much for looking into issues/fixes with the binary installer
for Windows, Francis! "Promoting" your comments to a bug report here,
as I think you've uncovered an undocumented (and fixable + worth
fixing) thing.
On Sat, Dec 21, 2024 at 12:29 PM Francis Wright <f.j.wright@live.co.uk> wrote:
>
> Hi Corwin
>
> Thanks for working on this. The "greedy uninstaller" was a bit of a pain. I tried your installer []
> and the associated uninstaller seems to work correctly, i.e. it only uninstalls emacs-30.0.93, which is great. I didn't notice any of the other issues you listed.
>
Yay!
> However, I did notice a couple of problems. Firstly, Windows pops up a warning from Microsoft Defender SmartScreen, which is not a new problem and is easy to work around.
This I think I am not currently able to do much about, alas.
> Secondly, the installer did not install a shortcut folder. On the Choose Start Menu Folder dialogue, Emacs-30.0.93 was pre-selected, and I ensured that Do not create shortcuts was not selected. The only button available was the Close button, which I clicked. A shortcut for Emacs itself was installed but not the shortcut to the folder containing Emacs and the uninstaller. (I can add the folder shortcut by hand.)
>
Thanks for reporting this issue. I confirmed it exists also with the
29.4 released binary installer. When I select "show details" I can
see at the end of the unpacking ("installation") processing step it
creates start-menu short-cuts; however, the screen where we choose
whether or not we want to install short-cuts isn't shown until after
the unpacking step -which I now see does short-cut creation, but
shouldn't- is completed. There is some code in the nsi script which
might be doing the write thing in the wrong place, at first glance.
In any case, with the present (for some time) installer we get a
"hard-coded" incorrect value for a start menu shortcut that is always
created irrespective of relevant choices offered to the user by said
installer. Not great.
I'll look into fixing this for the 30.1 installer, also, replying back
in here if/when I have an "_3" that seems to warrant others' testing
effort.
Since this "short-cut page ignored" issue doesn't seem already to have
been captured in the bug tracker I have directed this reply such as to
create a new bug-report. I'll try to arrange to get additional
relevant comments I/we make back on devel show up in the new bug
report (I don't have the number yet, as I write this), but: feel free
to address replies back to original devel thread (or otherwise to this
new bug thread) as you think best.
> Best wishes,
> Francis
>
Gratefully,
Corwin
next prev parent reply other threads:[~2024-12-21 19:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-21 17:44 Windows binaries and installer fixes for 30.0.93 Corwin Brust
2024-12-21 18:29 ` Francis Wright
2024-12-21 19:46 ` Corwin Brust [this message]
2024-12-21 19:53 ` Windows binary installer ignores user options for Start menu shortcuts Corwin Brust
2024-12-21 23:20 ` Windows binaries and installer fixes for 30.0.93 Corwin Brust
2024-12-22 12:03 ` Francis Wright
2024-12-22 18:24 ` Corwin Brust
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='CAJf-WoSkFvEZzhX41Z7mb4m22gxMmj=prEC-+yLuZbDSrXB0Dg@mail.gmail.com' \
--to=corwin@bru.st \
--cc=bug-gnu-emacs@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=f.j.wright@live.co.uk \
/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).