From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Dhruva Krishnamurthy" Newsgroups: gmane.emacs.devel Subject: Re: Emacs Installer for MS Windows Date: Fri, 06 Aug 2004 09:47:53 +0530 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <1091765873.9698.201808403@webmail.messagingengine.com> References: <001401c478de$908a92d0$0200a8c0@sedrcw11488> <1091508072.20683.201576204@webmail.messagingengine.com> <4111491A.4090601@runestig.com> <4111D8D4.1040506@runestig.com> <1091693906.8538.201741376@webmail.messagingengine.com> <001d01c47afa$c1f5f170$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1091765915 16061 80.91.224.253 (6 Aug 2004 04:18:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Aug 2004 04:18:35 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 06 06:18:27 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BswBX-0000Ep-00 for ; Fri, 06 Aug 2004 06:18:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BswF7-00087W-Mp for ged-emacs-devel@m.gmane.org; Fri, 06 Aug 2004 00:22:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BswF0-00087R-U1 for emacs-devel@gnu.org; Fri, 06 Aug 2004 00:22:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BswEz-00087F-Bx for emacs-devel@gnu.org; Fri, 06 Aug 2004 00:22:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BswEz-00087C-9o for emacs-devel@gnu.org; Fri, 06 Aug 2004 00:22:01 -0400 Original-Received: from [66.111.4.26] (helo=out2.smtp.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BswB0-0006zk-8t for emacs-devel@gnu.org; Fri, 06 Aug 2004 00:17:54 -0400 Original-Received: from server2.messagingengine.com (server2.internal [10.202.2.133]) by mail.messagingengine.com (Postfix) with ESMTP id EFB11C13DB5; Fri, 6 Aug 2004 00:17:53 -0400 (EDT) Original-Received: by server2.messagingengine.com (Postfix, from userid 99) id EACDA84B74; Fri, 6 Aug 2004 00:17:53 -0400 (EDT) Content-Disposition: inline X-Mailer: MIME::Lite 1.4 (F2.72; T1.001; A1.62; B3.01; Q3.01) In-Reply-To: <001d01c47afa$c1f5f170$0200a8c0@sedrcw11488> Original-To: "Lennart Borgman" X-Sasl-Enc: lWqh6ApzHaWDrO5LFcG9vQ 1091765873 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 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.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26201 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26201 Hello, On Thu, 5 Aug 2004 16:27:51 +0200, "Lennart Borgman" said: > > PATH. This could be done under HKEY_LOCAL_MACHINE if the current user > > is found to have access to it or modify it under HKEY_CURRENT_USER. > > Infact, an option like in Cygwin installation could be made "Just for > > me/For all users" during installation. > > I agree. Do you know exactly what privileges are required for HKLM and > HKCR > write? (Admin or Poweruser are those my installer chooses between.) I think a power user is sufficient for HKLM. Not sure for HKCR though. The best way I check whether a user has valid permissions is by attempting to create a key under say HKLM. If the user does not have access, the call fails and I will know the user has insufficient previlages, I then suggest a local installation for the current user only. > > What installer is thought of? I have used NullSoft's installer and it > > is very easy to implement. > > I am using Inno Setup. I have not heard of NullSoft before. > I had tried Inno setup but found some limitations which I cannot thing of immediately (I am not sure whether they exist now though). For NullSoft's installer, you can have a look at http://nsis.sourceforge.net/. They have very good support for scripting which I found gave better/finer control. with best regards, dhruva ________________________________________ Dhruva Krishnamurthy Proud FSF member: #1935 http://schemer.fateback.com/