From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.devel Subject: Re: May I publish a Windows Installer for GNU Emacs? Date: Sat, 13 Sep 2003 16:01:05 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1063462014 27061 80.91.224.253 (13 Sep 2003 14:06:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Sep 2003 14:06:54 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Sep 13 16:06:52 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19yB36-00063f-00 for ; Sat, 13 Sep 2003 16:06:52 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19yB4r-0005WV-00 for ; Sat, 13 Sep 2003 16:08:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19yAyO-0003QY-MO for emacs-devel@quimby.gnus.org; Sat, 13 Sep 2003 10:02:00 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19yAyB-0003Pj-Bh for emacs-devel@gnu.org; Sat, 13 Sep 2003 10:01:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19yAy9-0003PX-Uu for emacs-devel@gnu.org; Sat, 13 Sep 2003 10:01:46 -0400 Original-Received: from [193.28.100.166] (helo=mail.epost.de) by monty-python.gnu.org with esmtp (Exim 4.22) id 19yAy9-0003PU-L7 for emacs-devel@gnu.org; Sat, 13 Sep 2003 10:01:45 -0400 Original-Received: from seneca.benny.turtle-trading.net.epost.de (193.99.153.30) by mail.epost.de (6.7.015) id 3F5F464C00043323 for emacs-devel@gnu.org; Sat, 13 Sep 2003 16:01:44 +0200 Original-To: emacs-devel@gnu.org In-Reply-To: (Frank Schmitt's message of "Fri, 12 Sep 2003 22:47:43 +0200") User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16375 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16375 Hi Frank, >> Frank Schmitt writes: >>> then the registry entries which would normally be set by running >>> addpm.exe are added > Benjamin Riefenstahl writes: >> AFAIK, these are not necessary any more, so if I were you, I >> wouldn't do that. Frank Schmitt writes: > Well, if it isn't necessary anymore, why is it done when installing > via make install? I don't exactly know. Probably because nobody bothered to remove the code from the Makefile. Or maybe it's to make certain debugging scenarios easier, as the defaults are to use the files as installed in relation to the binary, which is not always what you want for debugging. Anyway I believe the recommended way of installing Emacs on Windows these days is just unpacking the binary archive and starting runemacs.exe, without an installer and without addpm.exe. So these settings are not needed obviously. AFAIK the settings are set as environment variables by runemacs.exe, based on the executable path, before runemacs.exe hands over to emacs.exe. > I'm adding the environment variables und NT systems by adding a key > to the registry under HKCU/Environment and on 9x systems by > modifying autoexec.bat. In both cases you have to restart (ok, on NT > systems, it's enough to log out and log in again) to make changes > have effect. Their might be other solution, but I don't know about > them. I think the message WM_SETTINGCHANGE is the one to send, check MSDN for usage. I'm slightly irritated that the install framework that you use doesn't have prepackaged functions for this task. benny