From: Corwin Brust <corwin@bru.st>
To: Eli Zaretskii <eliz@gnu.org>, Sylvan <sylvannesbitt@proton.me>
Cc: 72781@debbugs.gnu.org
Subject: bug#72781: Emacs 29 for Windows: Uninstall.exe deletes everything in the same folder as it.
Date: Sat, 24 Aug 2024 10:06:11 -0500 [thread overview]
Message-ID: <CAJf-WoSK+TfRU3JM=kSKZ8Rt_KZ3wzj5yKCU-8vwZ2QyAD-Lhg@mail.gmail.com> (raw)
In-Reply-To: <861q2epha5.fsf@gnu.org>
Tags: 72781
Merge: 68756
thank you
On Sat, Aug 24, 2024 at 1:27 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > Date: Fri, 23 Aug 2024 22:06:59 +0000
> > From: Sylvan via "Bug reports for GNU Emacs,
> > the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> >
> >
> > Expected behaviour after Step 6:
> > The emacs-29.4 folder and Uninstall.exe are gone, but any other files or folders remain.
> > Actual behaviour after Step 6:
> > All files and folders in your test file are gone.
> >
> > Expected behaviour after Step 7:
> > The test folder made in Step 1 still exists.
> > Actual behaviour after Step 7:
> > The test folder made in Step 1 has been deleted.
> > Upon pressing the back button in Windows Explorer, I received an error message saying
> > "C:\Users\redacted\Downloads\testfolder is unavailable. If the location is on this PC, make sure the device or
> > drive is connected or the disc is inserted, and then try again. If the location is on a network, make sure you're
> > connected to the network or Internet, and then try again. If the location still can't be found, it might have been
> > moved or deleted."
>
> Adding Corwin, who provided the Windows installer.
>
Sylvan,
I believe this is the same problem as reported in bug#68756, hence I
am merging them. That bug report contains a patch which was tested
(but not installed) back in Feburary, one of three patch-sets for the
Windows installer/uninstaller that have been awaiting my attention far
too long. I plan to retest these (starting with this one) this
morning with intent to apply as soon as I can confirm they appear to
resolve the (most important, incorrect file deletion) problem;
apologies I wasn't able to resolve this before you were bitten.
Here's a link to the other report, containing the patch to avoid
uninstaller deleting versions other than that from the corresponding
installer:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68756
Are you able to build Emacs locally to test?
I would normally upload a set of binaries incorporating my patches to
my own website to make it easier for others who are not in a position
to compile Emacs for Windows; however, if you plan to build your own
Emacs to test my fixes in this case, I might skip that in name of
moving a little more quickly. (I have a Windows machine separate from
my "development environment" where I'm able to test myself however
both of these machines are Windows 10 - I don't have anything running
Windows 11 at my disposal. It would be lovely to get confirmation the
fix works under Windows 11 (although I see no reason it should not).
Eli,
I would like to install this directly to the release branch. I
believe we had discussed doing so when the release branch was for
Emacs 29 but please tell me if this must go to the development branch,
instead. As I suspect you are aware, the change here is specifically
to the NSIS script within admin/nt/dist-build and thus cannot affect
other than the installer for Windows. Moreover, as this issue
potentially causes Emacs to unexpectedly delete files I think it is
rather serious. If my changes cause further problems I expect to "fix
and fall forward"; so, while I'm confident -existing patch, previously
tested- it's possible this will not be the "one-and-done" I expect.
Please let me know I must apply to the main branch (for Emacs 31), instead.
next prev parent reply other threads:[~2024-08-24 15:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-23 22:06 bug#72781: Emacs 29 for Windows: Uninstall.exe deletes everything in the same folder as it Sylvan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-24 6:27 ` Eli Zaretskii
2024-08-24 15:06 ` Corwin Brust [this message]
2024-08-24 15:26 ` Eli Zaretskii
2024-08-24 16:06 ` Corwin Brust
2024-08-25 3:08 ` Sylvan via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJf-WoSK+TfRU3JM=kSKZ8Rt_KZ3wzj5yKCU-8vwZ2QyAD-Lhg@mail.gmail.com' \
--to=corwin@bru.st \
--cc=72781@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=sylvannesbitt@proton.me \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.