From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.bugs Subject: bug#65203: v. 29.1.1 | Application GNU Emacs not listed by Windows as installed Date: Mon, 21 Aug 2023 14:50:48 -0500 Message-ID: References: <83leejhver.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18981"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65203@debbugs.gnu.org To: Ricky Tigg Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 21 21:52:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qYAwo-0004jt-Ta for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Aug 2023 21:52:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYAwT-0004YL-Sy; Mon, 21 Aug 2023 15:52:01 -0400 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 1qYAwS-0004YD-2F for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 15:52:00 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYAwR-0007uw-Qb for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 15:51:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYAwT-0004SL-S7 for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2023 15:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Aug 2023 19:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65203 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix notabug Original-Received: via spool by 65203-submit@debbugs.gnu.org id=B65203.169264747417070 (code B ref 65203); Mon, 21 Aug 2023 19:52:01 +0000 Original-Received: (at 65203) by debbugs.gnu.org; 21 Aug 2023 19:51:14 +0000 Original-Received: from localhost ([127.0.0.1]:57947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAvg-0004RE-3P for submit@debbugs.gnu.org; Mon, 21 Aug 2023 15:51:14 -0400 Original-Received: from mail-ot1-f46.google.com ([209.85.210.46]:47158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYAvb-0004Qy-LD for 65203@debbugs.gnu.org; Mon, 21 Aug 2023 15:51:11 -0400 Original-Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-6bcac140aaaso3000801a34.2 for <65203@debbugs.gnu.org>; Mon, 21 Aug 2023 12:51:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692647459; x=1693252259; 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=/9yuyS2kB1HCR6I90e2624LZA+Yomubr0BztFRXWDmA=; b=FvSJ44icxNRIP9/LguVT9QkzN9fw+er1GFnxlu2oHcnvi8Ihw0iphHhF/SArlQeSl6 hmd4x1xzbGI/p5035lWazsvNdwpVxQ6JVziaCKuxf361/TOp1dOJwvq9WsJBOlMWl8xa Zm+tHPVtW0toe8fY3dfPEJHwOeficbLcZFXCGCrSdNXLH669J2YiJKAcbtuwX6uCzZss VHEcH3mhAyg+o+55nBOzlk6Nc4A8l2h9kOkW5SMWOXlNK7ktAjJmCsbvCYzgfdrKmk8R Wm3FywYLiO9OtboPKYlSMCfEbfP2HH0hchGg1Va6bPDzSQ5rFwr5HG3osd9KgssWw3vF Dl7g== X-Gm-Message-State: AOJu0YyEGhtgmgi7bJ6Q04Vj+pSH4YC7iWqG8lUn+ZTaqLe9+5s/14fx KLi4dL91Wtb+N3bBn3PzZZbHvn8XeV68eA8exYY= X-Google-Smtp-Source: AGHT+IEfcHL5nlqi+14fq1gAM/SCIs7f0+2rYb8vDXjw4406pNCId+6G6pomAYhi9bR+xc52ot/aShp9THZyB1O4U0o= X-Received: by 2002:a05:6871:85:b0:1bb:83ae:1512 with SMTP id u5-20020a056871008500b001bb83ae1512mr10802280oaa.24.1692647459264; Mon, 21 Aug 2023 12:50:59 -0700 (PDT) In-Reply-To: <83leejhver.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268124 Archived-At: Hi Ricky, On Thu, Aug 10, 2023 at 8:35=E2=80=AFAM Eli Zaretskii wrote: > > tags 65203 notabug wontfix > thanks > > > From: Ricky Tigg > > Date: Thu, 10 Aug 2023 14:32:47 +0300 > > > > Hello. Application GNU Emacs not listed by Windows 11 as installed in t= he UI of the Applications > > section. Regards. > The emacs sources contain an NSIS script which can be used to create an executable self-installer. https://git.savannah.gnu.org/cgit/emacs.git/tree/admin/nt/dist-build/emac= s.nsi Does installing Emacs using an installer created using that script solve th= is? If not, do you know what else may be necessary for the installer to do to make Windows 11 list Emacs under Applications as you expect? I don't have access to a windows 11 device to test/experiment so it might be helpful if you can share screenshots. For example, it would be helpful to see how another GNU/Free Software application appears, given you know of one that does appear as you would like the installed Emacs to appear. Here is more background on creating NSIS installer, in case you have not tried that: I use MSYS/Mingw64 but other GNU user-space implementations for Windows (e.g. cygwin) might work. You will need NSIS, obviously: https://nsis.sourceforge.io/Main_Page I assume you have nsis.exe on your path, that you have already built emacs then executed the "install" make target with PREFIX set to "/c/build/emacs", that you have a copy of Emacs' sources in "/c/build/src", and finally that you are building Emacs 30.0.50 (so, from the development branch in git, however git is of limited relevance to using the nsi script because the installer uses a compiled and "installed" Emacs as input). Then, open MingW64 bash: cd /c/build cp src/admin/nt/dist-build/emacs.nsi . makensis -v4 \ -DEMACS_VERSION=3D30.0.50 \ -DVERSION_BRANCH=3D30.0.50 \ -DOUT_VERSION=3D30.0.50 \ emacs.nsi This creates /c/build/emacs-30.0.50-installer.exe Please try running such an installer and report back whether that has helpe= d. > > Alternatively, you could do this yourself. AFAIU, the description > here will help you do that: > > https://superuser.com/questions/1164677/how-to-add-a-program-to-the-win= dows-10-all-apps-start-menu-section-when-window > > There's no bug in Emacs here. If there is something to be done to the MSIS installer that improves the situation I would be happy to see if I can do it. I suspect that there is not; probably, this should "just work".