GNU bug report logs - #75013
Windows binary installer ignores user options for Start menu shortcuts

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Corwin Brust <corwin@HIDDEN>; dated Sat, 21 Dec 2024 19:47:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 75013 <at> debbugs.gnu.org:


Received: (at 75013) by debbugs.gnu.org; 22 Dec 2024 18:29:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 22 13:29:32 2024
Received: from localhost ([127.0.0.1]:51858 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tPQhn-0002Cm-LI
	for submit <at> debbugs.gnu.org; Sun, 22 Dec 2024 13:29:31 -0500
Received: from mail-ot1-f46.google.com ([209.85.210.46]:39971)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mplscorwin@HIDDEN>) id 1tPQhl-0002CX-3g
 for 75013 <at> debbugs.gnu.org; Sun, 22 Dec 2024 13:29:30 -0500
Received: by mail-ot1-f46.google.com with SMTP id
 46e09a7af769-71e15abd163so380761a34.0
 for <75013 <at> debbugs.gnu.org>; Sun, 22 Dec 2024 10:29:29 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734892163; x=1735496963;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=1amOwJ0Hj25jKFJ1LVym72CmssfOeTdpsI70cNYP3Uw=;
 b=hZqEsMkG/V1kJcL7Mmx7sNmtBHOC3GiWnsxmst+5/YaK8htsxWUbYgwOHZ39o8SNoe
 VtA34HiGeYp8DBx699kN4ejgvwxFzgDHy+CrUh0Q8jil5vQaxsxp+J1agS7LM7vCFTse
 XX3t/XMGJNujaM4rpc7DHQwjKfHx/sExz4CCmGbbwh7nEWlP/8o4T7E3FwmDeZHx7ozt
 4g/guKmqZIR6cxXyx9NkrdP7YEHngOuiIhlHxK8MsvFQssCWbAeVFlq/4dURsE4ntY8P
 mxYC42AJHPU6BxrSVSlC+1QYZfY+6LViDaLaCNes7l/hcbjQ/TADxRfp4L2oX/b1w2js
 wYxw==
X-Gm-Message-State: AOJu0Yw8eWhOP2BmHZm/4md8pKLG7t/cIl41jbVKfZ+zEUtZJSbY4fA5
 WXbLUf3KTxYP17TVzM43g8HAQFYPQ/wz0Z8tMhoc5EL29XcI6jghvcVa8F8GZXhSO3Jxg8ckbwA
 d2vA3nwToT8/pVK1iN+Q+pQEaOhWgPdKH
X-Gm-Gg: ASbGncu3r2lYCiOCbB48/mozYutZAFHFICJzg9wXEYlZYrIE6vtKfzgJSrTjTv/veCJ
 q6CkyxeriWy4E+ly8Kpfkh9/gpKrGgRrf+XZX
X-Google-Smtp-Source: AGHT+IEmfgmVIoNTWatuTxZnS2sNIdxLvgdStdRI6BcPbI4vPn4NqpstA0HFprQNFgfBvmax9fRDyOhjpdwTV/77rCQ=
X-Received: by 2002:a05:6830:2110:b0:71f:c1df:182e with SMTP id
 46e09a7af769-720ff92fd9fmr2510757a34.7.1734892163137; Sun, 22 Dec 2024
 10:29:23 -0800 (PST)
MIME-Version: 1.0
References: <CAJf-WoSAdP=-3YW=piMfQx5Te9d_+6K2JADJfbWRrWKB81=pGw@HIDDEN>
 <DU0PR03MB8163223924C38FDE037C46DEE5002@HIDDEN>
 <CAJf-WoSkFvEZzhX41Z7mb4m22gxMmj=prEC-+yLuZbDSrXB0Dg@HIDDEN>
 <CAJf-WoSe3Nz37aYiPtUU6AHSB5ZzPyTujWmAyOk6y-qZUeRtHA@HIDDEN>
In-Reply-To: <CAJf-WoSe3Nz37aYiPtUU6AHSB5ZzPyTujWmAyOk6y-qZUeRtHA@HIDDEN>
From: Corwin Brust <corwin@HIDDEN>
Date: Sun, 22 Dec 2024 12:29:11 -0600
Message-ID: <CAJf-WoTfVwZApW9Hwx4Sj-2knxSvO6Hs8SoWN5crXhaJw=9tpA@HIDDEN>
Subject: Re: bug#75013: Windows binary installer ignores user options for
 Start menu shortcuts
To: 75013 <at> debbugs.gnu.org
Content-Type: multipart/mixed; boundary="0000000000001bae890629e00f9d"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 75013
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--0000000000001bae890629e00f9d
Content-Type: text/plain; charset="UTF-8"

Tags: patch

Francis reported that a binary built from the previous version of the
patch sent to this bug ticket worked but noted that Emacs (unlike many
other programs when running on Windows) cannot be uninstalled via Add
Remove Programs in the Windows Control Panel.  The updated patch
(additionally) enables this method of uninstallation as well as
removing empty Program Files parent folders when uninstalling.

--0000000000001bae890629e00f9d
Content-Type: application/octet-stream; name="emacs.nsi.patch"
Content-Disposition: attachment; filename="emacs.nsi.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_m4zxyuua0>
X-Attachment-Id: f_m4zxyuua0

LS0tIGVtYWNzLm5zaS5TVEFCTEUJMjAyNC0xMi0yMSAxNjoyMTowOS45MjEyODAzMDAgLTA2MDA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UgaW5zdERpckRlbGV0ZUxvb3AKKworICAjIGZpbmFsIGNsZWFu
LXVwIChhZnRlciByZW1vdmluZyBmcm9tIHN0YXJ0bWVudSBhbmQgcHJvZ2ZpbGVzKQorICBpbnN0
RGlyRGVsZXRlTG9vcERvbmU6CiAKLSAgRGVsZXRlICIkU01QUk9HUkFNU1wkU3RhcnRNZW51Rm9s
ZGVyXFVuaW5zdGFsbC5sbmsiCi0gIFJNRGlyICIkU01QUk9HUkFNU1wkU3RhcnRNZW51Rm9sZGVy
IgogU2VjdGlvbkVuZAo=
--0000000000001bae890629e00f9d--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75013; Package emacs. Full text available.

Message received at 75013 <at> debbugs.gnu.org:


Received: (at 75013) by debbugs.gnu.org; 21 Dec 2024 23:06:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 21 18:06:11 2024
Received: from localhost ([127.0.0.1]:48297 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tP8Xy-0005df-SC
	for submit <at> debbugs.gnu.org; Sat, 21 Dec 2024 18:06:11 -0500
Received: from mail-ot1-f41.google.com ([209.85.210.41]:41841)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mplscorwin@HIDDEN>) id 1tP8Xu-0005dS-SI
 for 75013 <at> debbugs.gnu.org; Sat, 21 Dec 2024 18:06:09 -0500
Received: by mail-ot1-f41.google.com with SMTP id
 46e09a7af769-71e31d295eeso171281a34.3
 for <75013 <at> debbugs.gnu.org>; Sat, 21 Dec 2024 15:06:06 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734822366; x=1735427166;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=wN/xrH61RZjA1w9ZturnUEYAn5hiZlPiKTkIKbGCTq4=;
 b=Z9hBv4BPCUDRsxycoTFHjB8Q4+Ep2jl0hVemMdwsvn/HRCxrYTEjfOoaeWunqvfyiN
 FVx05JKk3PbXi6pJ9B97g64jAvDMZ1AGSxqNBpi6S+vQd/Hy3SC0NdNovzrHNKcSVLs5
 fmi+Ep6qpcCmWbDbp1429QYMVPC1BjPpeB43960rhR/pFbSai1hDyM0Bka40v3p8gD6n
 /T4OlIlV4dHzuo8UdEl9tN0znKVtCrnmXxracmedn6FOOoHk94LmvpAUBfO3qMtNmCae
 GfIjx7fSROVd+bs9+hOMDRZEbsqwW7hgR5QZfdXnEmUIHXPWisCEep+GtX3EeJmmjzu4
 CybQ==
X-Gm-Message-State: AOJu0YwxQAQov29d1cRXnVlFsATcab/iwVZQz+ljTwJoVSIissImpjhd
 i7PA3/NDZW2/4BWfP7p6L9YBpGTsHjaMLhZo0FhjiTVKqvFKB5MEbvVHSM/pFh9fcCFuEqBH/0H
 ZViJQGf1Zqa1XrjqoqQNQg0QKKYiy5DtP
X-Gm-Gg: ASbGncsR0ZYbPNHaEHZsYnp7bBAt6LxORck7yl1NX6YhAunfYOijqYoCGz6LAvacwRJ
 d7h9e7Ki66xGgmBKB/K7RRppGCkk84a1WIVJt
X-Google-Smtp-Source: AGHT+IHCfp7wjRwPS1WrVFKf9jqFe1wXCRsDhCXkgraNpgAMaEAcPc3/ZI7DhUkvv7bUIxLvJgotCXPI/7gbCRbllEA=
X-Received: by 2002:a05:6830:4489:b0:703:7851:41ba with SMTP id
 46e09a7af769-720ff685333mr1795219a34.2.1734822365693; Sat, 21 Dec 2024
 15:06:05 -0800 (PST)
MIME-Version: 1.0
References: <CAJf-WoSAdP=-3YW=piMfQx5Te9d_+6K2JADJfbWRrWKB81=pGw@HIDDEN>
 <DU0PR03MB8163223924C38FDE037C46DEE5002@HIDDEN>
 <CAJf-WoSkFvEZzhX41Z7mb4m22gxMmj=prEC-+yLuZbDSrXB0Dg@HIDDEN>
In-Reply-To: <CAJf-WoSkFvEZzhX41Z7mb4m22gxMmj=prEC-+yLuZbDSrXB0Dg@HIDDEN>
From: Corwin Brust <corwin@HIDDEN>
Date: Sat, 21 Dec 2024 17:05:53 -0600
Message-ID: <CAJf-WoSe3Nz37aYiPtUU6AHSB5ZzPyTujWmAyOk6y-qZUeRtHA@HIDDEN>
Subject: Re: bug#75013: Windows binary installer ignores user options for
 Start menu shortcuts
To: 75013 <at> debbugs.gnu.org
Content-Type: multipart/mixed; boundary="000000000000db29030629cfce31"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 75013
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--000000000000db29030629cfce31
Content-Type: text/plain; charset="UTF-8"

tags: patch
thanks

>
> 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.
>

I'm attaching a (messy, quick) patch which appears to wrap fixing this
issue up with fixing those others I've just been asking others to help
me close (by testing out patched installers).

I will link devel (and OP) rather than here with the (transient,
available for some days at least) link to the new version of the
installer I've made applying the attached patch (under other cover).

I'll report back in (to this bug) with a "stand-alone" patch showing
just code needed to resolve this issue (probably for academic
purposes, given this consolidated patch works).  It should apply to
virtually any branch (or release/pre-release source tarball).

FTR, it was easy enough to swap reorder things to ensure that the
shortcuts got created properly (according to user options, and not
prior to asking for input/confirmation of those preferences, as
before); however, I had to go to lengths to ensure the uninstaller
removes whatever shortcuts it creates.  The resulting (seemingly
reliable) result is that we now delete empty parent folders (up to the
start menu application's folder root) when deleting whatever shortcuts
during uninstallation which the given installer had made.  I can (and
probably should) give the same treatment to the applications folder,
removing empty parents of the User's selected install folder, but I
think we have enough to test for just now.  (The same approach will
work; it won't be difficult to add.  But let's confirm the recursive
delete method works reliably for others).

For anyone seeing this and interested in a (slightly) more durable
link from which one can follow (by seeing incremental/experimental
builds outside of links shared to devel) along, seeing my current
version of the attached patch and related binaries using the 30.0.93
(pre-release 3 for Emacs 30) tarball a starting-point, here's an index
page:

https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-30/?C=M;O=D

Note, when browsing the above link:
The "latest" and otherwise (not 30.0.93_N_or_bug) releases are the
latest snapshots taken from the emacs-30 branch (so, by now, more
recent than the release tarball mentioned above, and without
this/these patches, for now).  Such builds are named based on the git
revision and include the sources used in the given folders.  Builds
related to installer fixes based on Emacs 30/pretest #3 are within my
"Emacs 30 root folder", index to which is linked above.

--000000000000db29030629cfce31
Content-Type: application/octet-stream; name="emacs.nsi.patch"
Content-Disposition: attachment; filename="emacs.nsi.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_m4ys611p0>
X-Attachment-Id: f_m4ys611p0

LS0tIGVtYWNzLm5zaS5TVEFCTEUJMjAyNC0xMi0yMSAxNjoyMTowOS45MjEyODAzMDAgLTA2MDAK
KysrIGVtYWNzLm5zaQkyMDI0LTEyLTIxIDE2OjI0OjU1LjcxNjAxOTQwMCAtMDYwMApAQCAtMjAs
MTYgKzIwLDI3IEBACiAKICFpbnNlcnRtYWNybyBNVUlfUEFHRV9XRUxDT01FCiAKLQotIWRlZmlu
ZSBNVUlfTElDRU5TRVBBR0VfVEVYVF9UT1AgIlRoZS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bWFjcyBkaXJlY3RvcnkgaW4gUHJvZ3JhbSBGaWxlcyAoaWYg
ZW1wdHkpCisgICAgUk1EaXIgIiRJTlNURElSIgorCisgICAgIyBkZWxldGUgdW5pbnN0YWxsZXIg
bGFzdAorICAgIERlbGV0ZSAiJElOU1RESVJcVW5pbnN0YWxsLSR7VkVSU0lPTl9CUkFOQ0h9LmV4
ZSIKIAotICBEZWxldGUgIiRTTVBST0dSQU1TXCRTdGFydE1lbnVGb2xkZXJcVW5pbnN0YWxsLmxu
ayIKLSAgUk1EaXIgIiRTTVBST0dSQU1TXCRTdGFydE1lbnVGb2xkZXIiCiBTZWN0aW9uRW5kCg==
--000000000000db29030629cfce31--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#75013; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Dec 2024 19:46:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 21 14:46:57 2024
Received: from localhost ([127.0.0.1]:47744 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tP5RB-0004ap-0E
	for submit <at> debbugs.gnu.org; Sat, 21 Dec 2024 14:46:57 -0500
Received: from lists.gnu.org ([209.51.188.17]:48376)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mplscorwin@HIDDEN>) id 1tP5R8-0004ae-HO
 for submit <at> debbugs.gnu.org; Sat, 21 Dec 2024 14:46:55 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mplscorwin@HIDDEN>)
 id 1tP5R8-0006MM-3s; Sat, 21 Dec 2024 14:46:54 -0500
Received: from mail-oo1-f46.google.com ([209.85.161.46])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <mplscorwin@HIDDEN>)
 id 1tP5R6-0003WA-81; Sat, 21 Dec 2024 14:46:53 -0500
Received: by mail-oo1-f46.google.com with SMTP id
 006d021491bc7-5f2ed7462c1so219478eaf.0; 
 Sat, 21 Dec 2024 11:46:51 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734810411; x=1735415211;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=MOvXABNGAtOsSDB8CGeAEdezOk4DZfsxf49i5EHQp20=;
 b=cBR3+c6Gvbg1GkGXydupoGSDvtQlhpAkRojDfRsG+qEgqpg/bhodLTbEVpLGm59LWq
 WD7fmgbvMRoCMpCVGxxxesLCUEFr22zseszzS4f1yT0Wc8PI9imemYwbFZac7Kfe1cX+
 bixYlFxzMqPqIc0lnqdc5pMOqbK+/NHekzuQV3V2rXkqAOKjk6MZk6ciABSLjCwBbZEz
 IAGuji422okQKgWCqsLmzXoNoRi9gA4bJpslxHjUjyxyr6jMwvMG0BwmR1WRLIpccBF0
 dtWps6g3k9VMdD55XR6zkTiO35+6P+AIiRygntWk16ZO/a2TfH2g/NNetI69GXdyOOSU
 OOOQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCWIP3lgravy85OnzHy0ffMDxKc6odeflrCJsclnULMxo2gJ1psibeU/aeenpS9EZgmczTYVDjIpG48ItFnH@HIDDEN
X-Gm-Message-State: AOJu0YwdhM4hxwJ4EOK3Kz9To2dlHzHncwCerxZYsAXzmkvw8A3Ot/Na
 rSFTf1ZyUSBeySsK99ZlgBr4UDgWG+g5yQB4edZnNKPju1xTS8x7h8bfLKka10NrO5QcdxHHIhU
 Mpumj0EtTxHEJX1MXLj4fXu/7A1I=
X-Gm-Gg: ASbGncvt99b+75577vT9DjfIvPdOsZPFKu1n0MporyAhOHBNs+PiA9zvAofM1KUU/ag
 3fLuWRJZo3CACbyFumr/nOoHrMze3xJad7uz5
X-Google-Smtp-Source: AGHT+IFL+NocJVJ917chEzUSaHMvXNDsOGYER90gl+88ozoH0GQnSWooGPBTCiGnu+4ub/ltzhkc0Ob7Q63D15EafKk=
X-Received: by 2002:a05:6830:2643:b0:71e:4ce2:4331 with SMTP id
 46e09a7af769-720ff8825a2mr1342509a34.4.1734810410700; Sat, 21 Dec 2024
 11:46:50 -0800 (PST)
MIME-Version: 1.0
References: <CAJf-WoSAdP=-3YW=piMfQx5Te9d_+6K2JADJfbWRrWKB81=pGw@HIDDEN>
 <DU0PR03MB8163223924C38FDE037C46DEE5002@HIDDEN>
In-Reply-To: <DU0PR03MB8163223924C38FDE037C46DEE5002@HIDDEN>
From: Corwin Brust <corwin@HIDDEN>
Date: Sat, 21 Dec 2024 13:46:39 -0600
Message-ID: <CAJf-WoSkFvEZzhX41Z7mb4m22gxMmj=prEC-+yLuZbDSrXB0Dg@HIDDEN>
Subject: Windows binary installer ignores user options for Start menu shortcuts
To: Francis Wright <f.j.wright@HIDDEN>, bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.161.46; envelope-from=mplscorwin@HIDDEN;
 helo=mail-oo1-f46.google.com
X-Spam_score_int: -15
X-Spam_score: -1.6
X-Spam_bar: -
X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9,
 FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
Cc: Emacs developers <emacs-devel@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

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=E2=80=AFPM Francis Wright <f.j.wright@HIDDEN=
.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 unin=
stalls emacs-30.0.93, which is great. I didn't notice any of the other issu=
es you listed.
>

Yay!

> However, I did notice a couple of problems. Firstly, Windows pops up a wa=
rning from Microsoft Defender SmartScreen, which is not a new problem and i=
s 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 t=
hat Do not create shortcuts was not selected. The only button available was=
 the Close button, which I clicked. A shortcut for Emacs itself was install=
ed 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




Acknowledgement sent to Corwin Brust <corwin@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#75013; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.