From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Francis Wright Newsgroups: gmane.emacs.devel Subject: Re: Windows binaries and installer fixes for 30.0.93 Date: Sat, 21 Dec 2024 18:29:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_DU0PR03MB8163223924C38FDE037C46DEE5002DU0PR03MB8163eurp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9391"; mail-complaints-to="usenet@ciao.gmane.io" To: Corwin Brust , Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 21 19:34:35 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tP4J9-0002K9-8k for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Dec 2024 19:34:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tP4Iy-0002kH-Te; Sat, 21 Dec 2024 13:34:24 -0500 Original-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 ) id 1tP4It-0002jl-9p for emacs-devel@gnu.org; Sat, 21 Dec 2024 13:34:19 -0500 Original-Received: from mail-vi1eur05olkn2081c.outbound.protection.outlook.com ([2a01:111:f403:2e13::81c] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tP4Iq-00030u-J4 for emacs-devel@gnu.org; Sat, 21 Dec 2024 13:34:18 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=gTvc09/f3I/llYm3Gk0lSF8mR+7vniO7KadBMAb2CfHKz1DPLP37y25aIuNvi+FAy8lSlzKlb2uXl6gF+SwzzxGEgs5WvbZv6+mc6fmOohD0cPWip+hQwvjhzH8PDcUX6I1Sc9EIlZn7t4gb9wQjMLruvteTKHiCd6MwACPbPioyFjVJJu1RqCk6dH8izsZ8RAavmJHKXtDjchjW4kgEEu6oIroKymvSsYwpe4UtutQrjMHf2tGc8IUOJWskyCUzmDk31tQ3Pdx0ybzA3FAjJjcFOf62WOaq6g83CV5RwY2onBGKlqb/reaFXn5GvEp2QZW+qg5AASFjexGWWncVKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lkyrPKEAe/dr+Oi7Wh6mEmHlbYSDV1LFXfPJqvJ9UXE=; b=jSHZYxcA7s7Upk3Z5evL/gCu1v4q+/soaNPB3kwRcXSHM4UdE1/MwB19r5V4z41y65Ow5ILuwC5u5dfCxEYrthLn0n+BsRFi/VPWayqXB6feZvz5NjmDwsw2XwXyNbgS8mnSJPnBu8CV9SfvFSBGugF8pDp7itS5oPR3WGAdWkNiADnwjOjGRmTX3K3rbyjgh951IFDZGNX9X9iGi6x9cKYV47awA7gKrveq5NQmKafTflCsX9qKCBtY18XUvvTc508hxvj9EP1XEkQqmZ2CNIganN6lMj/AE4YBMjX2Ct7JyNTzjoDbI3kvibAT6diARw1Tj0/+e6yDJg6FdXgEWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=LIVE.CO.UK; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lkyrPKEAe/dr+Oi7Wh6mEmHlbYSDV1LFXfPJqvJ9UXE=; b=mu7TJSeB0h2Z0gESuDUaXAKe2N6PramRcnEo6QAji7mXQqvAP1D9UU0v99hDh0Wd/Zdm00brUQQV8BiFYCJOKJZeBbNzcw8HvDiLNwd+/OVV/QXZVqK2VkWlTEqkdzXNIajyu5VHH5trfvS+4Wk5aACYCq2HE6wMkv0ya+6cqFBS5/wEtVoq09bQDStrw13SggjnaxZ0mpYvbKJkLNZDPzjTvtE0LVTzgxgRDv969V2Hus/BbgqLMjub97JHDpifLZS/6fROHtGjHrMubkYABto1tAPRdN3jzJTUON21uriLyjJYPmUaF0+H35p/n8ni243HidPVXyEfG/vNnziHqA== Original-Received: from DU0PR03MB8163.eurprd03.prod.outlook.com (2603:10a6:10:352::9) by PAXPR03MB7869.eurprd03.prod.outlook.com (2603:10a6:102:210::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.17; Sat, 21 Dec 2024 18:29:11 +0000 Original-Received: from DU0PR03MB8163.eurprd03.prod.outlook.com ([fe80::3e4b:255f:7cd1:6cba]) by DU0PR03MB8163.eurprd03.prod.outlook.com ([fe80::3e4b:255f:7cd1:6cba%6]) with mapi id 15.20.8272.013; Sat, 21 Dec 2024 18:29:11 +0000 Thread-Topic: Windows binaries and installer fixes for 30.0.93 Thread-Index: AQHbU9ANDzp20kxEqEeWUK7XoT+m47LxAWab In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DU0PR03MB8163:EE_|PAXPR03MB7869:EE_ x-ms-office365-filtering-correlation-id: 51271acb-df86-4334-f342-08dd21ed5d59 x-microsoft-antispam: BCL:0; ARA:14566002|15080799006|19110799003|8060799006|8062599003|12050799009|15030799003|7092599003|9400799030|461199028|10035399004|440099028|3412199025|102099032; x-microsoft-antispam-message-info: =?iso-8859-1?Q?NZTC1cBZfMW127NYdT1RsO5BWtK59C3NaMSmKlC/CAjtBthSz53deufO8k?= =?iso-8859-1?Q?hWoRG1Y4EqcpGt0PRX05bURPetgUlFxBrT3IP9/Wcw50QurYWeloAvx1+t?= =?iso-8859-1?Q?c4T3XNsbB7posXk9vzvW1mgbT/PDXU9b18cP86eKzAfAr/uZ8HDPTiXfN4?= =?iso-8859-1?Q?lY8SJlxtoDmettd8NV34mZ0xHO5zsU/CQQPsxFYK+7Dp5qT0GmxerjRhuX?= =?iso-8859-1?Q?RxEN2s2nTYl2KxAYIn/OE3hqn+JLJFdSCIfZJ2bs3uV3j+cUInAHpr7dFl?= =?iso-8859-1?Q?zd9HmPj5pdQfJh9rCmDSHuaWvNtgIheUoTSbeBeXhVEXgndIhHw1QIEaV5?= =?iso-8859-1?Q?2nvTkzuTQ0vmVN8+GgW71PU+Ql05WWV0uAcUuo3STG7UigV7QdB5Le1QOm?= =?iso-8859-1?Q?D+2BlJ6NoaiHm1vdYaj+yfQWL0S0X7hxtS3dzi4Zprm477+O0305zA+xf3?= =?iso-8859-1?Q?TEubsbYTk+dmzgZ2halMyRFBPm9P3WpXGtdSuj8zctQ2q0qXT0J4FUMMLB?= =?iso-8859-1?Q?BjhpANMqliW1jxk2GuTqTQJq3pvWAOl1pxnwJgnZ1NJ2DCskSiS2Lf4BS3?= =?iso-8859-1?Q?1sriWepYM2VV1aGDhAbkRKiG3ENKf6KXZosP3HTQS+JJaSbU/RSWCRiil0?= =?iso-8859-1?Q?9kn x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?J+L6zqYLDa7Sc54wbiOzOoIp1K7JeW4NDH+h4bH+vPvxwxGIMJRFh2fR+B?= =?iso-8859-1?Q?I4RfLbIIyvoBTrPa11XIvuEgny+vcGy2JynrQgBaen6R7cwdxPwcjI7RlO?= =?iso-8859-1?Q?XQIzdZGO1bi65qesutG9OxjLr/46yjt08Q4mJ2RRPFyWy9O7n7FlQU8UDX?= =?iso-8859-1?Q?PH8o0zMLA1MaG2WV1t48bljKKB/rXoJS2RNuYDfXV3o4nhikzl4AaUQ4Rq?= =?iso-8859-1?Q?+sIFxcTYDxtFpEjANzmSJYihH7z8hcNhkLJuXuttdJRJfF2L5Xc297OCmm?= =?iso-8859-1?Q?YpO7ujjXNOSNAPpWMGF5eQkoJUsycRNu/mpTcWPTcYNmhRx4W2+/jy60Cn?= =?iso-8859-1?Q?tY2P+X6QyrXylhcuw/pYGbWhX3buEjJEhh+7BUfSaWPaD5mexxn5aPih7M?= =?iso-8859-1?Q?qwDLi0gr4McZSUJvhp9kKz8tn8mqsmddr8Jr5obFvAOe/EauvSLDvVQICF?= =?iso-8859-1?Q?Klx7OYLBQNlLz+0ok1Zg1T5hQD4cSN01OWKJiKGyqHIv3vodVstYcxZFcY?= =?iso-8859-1?Q?dE+gStUrakgbQexGlDP8SBIntXOVTm6E49nqj7NRLLiP9GXIWEd152cgGj?= =?iso-8859-1?Q?V2BnelvVCA4pcaa0VAqGdOlrcFKzJgiPUeXVZVvZA9ywvkqjSArC+KIlh/?= =?iso-8859-1?Q? X-OriginatorOrg: sct-15-20-7762-17-msonline-outlook-fa1c0.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR03MB8163.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 51271acb-df86-4334-f342-08dd21ed5d59 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2024 18:29:11.3259 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR03MB7869 Received-SPF: pass client-ip=2a01:111:f403:2e13::81c; envelope-from=f.j.wright@live.co.uk; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326830 Archived-At: --_000_DU0PR03MB8163223924C38FDE037C46DEE5002DU0PR03MB8163eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Corwin Thanks for working on this. The "greedy uninstaller" was a bit of a pain. I= tried your installer at https://corwin.bru.st/emacs-30/emacs-30.0.93_2-ins= taller.exe and the associated uninstaller seems to work correctly, i.e. it only uninst= alls emacs-30.0.93, which is great. I didn't notice any of the other issues= you listed. However, I did notice a couple of problems. Firstly, Windows pops up a warn= ing from Microsoft Defender SmartScreen, which is not a new problem and is = easy to work around. Secondly, the installer did not install a shortcut fol= der. On the Choose Start Menu Folder dialogue, Emacs-30.0.93 was pre-select= ed, and I ensured that Do not create shortcuts was not selected. The only b= utton available was the Close button, which I clicked. A shortcut for Emacs= itself was installed but not the shortcut to the folder containing Emacs a= nd the uninstaller. (I can add the folder shortcut by hand.) Best wishes, Francis ________________________________ From: help-emacs-windows-bounces+f.j.wright=3Dlive.co.uk@gnu.org on behalf of Corwin Brus= t Sent: 21 December 2024 5:44 PM To: Emacs developers Subject: Windows binaries and installer fixes for 30.0.93 I have posted binaries created from the 30.0.93 (pretest #3) tarball to the alpha FTP site, here: https://alpha.gnu.org/gnu/emacs/pretest/windows/emacs-30/?C=3DM;O=3DD Additionally, there are some "patched" versions which are only from my personal site so far. The above link should be good for anyone wishing to try out pre-compiled binaries for Emacs 30.1 using the latest pretest (#3). The rest of this email is about helping me test pending changes to the script that creates the executable self-installer for Emacs on Windows. Below are links to some additional ("patched") versions of the Windows installer. Each of these was created by applying patches (or, in one case, replacing a BPM used only by the Windows installer) starting from the released sources provided in the 30.0.93 prerelease tarball that was published this week. The patches I've applied have been "sitting ready" for most of 2024; they applied cleanly and appear to work correctly from my end. It would be great if others could confirm they work well; there are a number of long-standing bugs with the Windows executable self-installer it would be good to have closed. In reality only #1 below needs your testing efforts; the others are provided to help narrow down which patch is causing any trouble we do find. Here, in descending order of priority for testing, are the patched installers I have created along with the associated bugs reports each attempts to resolve: 1. resolves each item below plus set a unique name for each version's uninstaller (more work on 68756 in addition to #3, below). Try this one first/only; work down the list if you find issues that didn't exist installing the released 29.4 binary installer. https://corwin.bru.st/emacs-30/emacs-30.0.93_2-installer.exe 2. fix confusing installer verbage (don't require users to "accept" the GPL to install Emacs) https://corwin.bru.st/emacs-30/emacs-30.0.93_bug67667-installer.exe https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67667 3. fix installer splash image (badly converted, aspect ratio is incorrect) https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70538 (no sep build of the installer for this one but the fixed splash.bpm is rolled into those above) 4. do not delete all installed versions of Emacs when running uninstaller (this patch is incorporated into all of the above linked patched installer versions) https://corwin.bru.st/emacs-30/emacs-30.0.93_bug68756-installer.exe https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68756#19 This last item is the critical one to test; since all of the modified installer versions contain the patch for this issue, these testing instructions will work for any of 1-4, above. To test that the "greedy uninstaller" issue is resolved: 1. backup your installed Emacs (if any) by making a copy of c:\program files\emacs 2. install Emacs 29.4 (or any prior GNU published version) using the executable self-installer 3. install 30.0.93 using one of my patched self-installer versions, (1-4 ab= ove) 4. run the 30.0.93 uninstaller created by step #3 5. verify the prior (e.g. 29.4) version of Emacs was not deleted (but 30.0.93 was) Warm regards, Corwin --_000_DU0PR03MB8163223924C38FDE037C46DEE5002DU0PR03MB8163eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Corwin

Thanks for = working on this. The "greedy uninstaller" was a bit of a pain. I = tried your installer at https://corwin.bru.st/emacs-30/emacs-30.0.93_2-install= er.exe
and the associated uninstaller seems to work correctly, i.e. it only uninst= alls emacs-30.0.93, which is great. I didn't notice any of the other issues= you listed.

However, I did notice a couple of problems. Firstly, Windows pops up a warn= ing from Microsoft Defender SmartScreen, which is not a new problem and is = easy to work around. Secondly, the installer did not install a shortcut fol= der. 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 sh= ortcut to the folder containing Emacs and the uninstaller. (I can add the folder shortcut by hand.)

Best wishes,
Francis


From: help-e= macs-windows-bounces+f.j.wright=3Dlive.co.uk@gnu.org <help-emacs-windows= -bounces+f.j.wright=3Dlive.co.uk@gnu.org> on behalf of Corwin Brust <corwin@bru.st>
Sent: 21 December 2024 5:44 PM
To: Emacs developers <emacs-devel@gnu.org>
Subject: Windows binaries and installer fixes for 30.0.93
 
I have posted binaries created from the 30.= 0.93 (pretest #3) tarball
to the alpha FTP site, here:

https://alpha.gnu.org/gnu/emacs/pretest/window= s/emacs-30/?C=3DM;O=3DD

Additionally, there are some "patched" versions which are only fr= om my
personal site so far.  The above link should be good for anyone
wishing to try out pre-compiled binaries for Emacs 30.1 using the
latest pretest (#3).   The rest of this email is about helping me= test
pending changes to the script that creates the executable
self-installer for Emacs on Windows.

Below are links to some additional ("patched") versions of the Wi= ndows
installer.  Each of these was created by applying patches (or, in one<= br> case, replacing a BPM used only by the Windows installer) starting
from the released sources provided in the 30.0.93 prerelease tarball
that was published this week.

The patches I've applied have been "sitting ready" for most of 20= 24;
they applied cleanly and appear to work correctly from my end.  It
would be great if others could confirm they work well; there are a
number of long-standing bugs with the Windows executable
self-installer it would be good to have closed.

In reality only #1 below needs your testing efforts; the others are
provided to help narrow down which patch is causing any trouble we do
find.

Here, in descending order of priority for testing, are the patched
installers I have created along with the associated bugs reports each
attempts to resolve:

1. resolves each item below plus set a unique name for each version's
uninstaller (more work on 68756 in addition to #3, below).  Try this one first/only; work down the list if you find issues that didn't
exist installing the released 29.4 binary installer.

https://corwin.bru.st/emacs-30/emacs-30.0.93_2-installe= r.exe

2. fix confusing installer verbage (don't require users to "accept&quo= t;
the GPL to install Emacs)

https://corwin.bru.st/emacs-30/emacs-30.0.93_bug= 67667-installer.exe
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67667

3. fix installer splash image (badly converted, aspect ratio is incorrect)<= br>
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70538
(no sep build of the installer for this one but the fixed splash.bpm
is rolled into those above)

4. do not delete all installed versions of Emacs when running
uninstaller (this patch is incorporated into all of the above linked
patched installer versions)

https://corwin.bru.st/emacs-30/emacs-30.0.93_bug= 68756-installer.exe
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68756#19

This last item is the critical one to test; since all of the modified
installer versions contain the patch for this issue, these testing
instructions will work for any of 1-4, above.  To test that the
"greedy uninstaller" issue is resolved:

1. backup your installed Emacs (if any) by making a copy of c:\program
files\emacs
2. install Emacs 29.4 (or any prior GNU published version) using the
executable self-installer
3. install 30.0.93 using one of my patched self-installer versions, (1-4 ab= ove)
4. run the 30.0.93 uninstaller created by step #3
5. verify the prior (e.g. 29.4) version of Emacs was not deleted (but
30.0.93 was)

Warm regards,
Corwin

--_000_DU0PR03MB8163223924C38FDE037C46DEE5002DU0PR03MB8163eurp_--