www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/26/13:11:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C76A052.3080708@redhat.com>
Date: Thu, 26 Aug 2010 11:11:46 -0600
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: mintty start menu icon
References: <4C768951 DOT 5010403 AT freesbee DOT fr> <AANLkTi=oZq4gWna+8Bc+uuGqFJuuiyM-gg6CH7yWjfT0 AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTi=oZq4gWna+8Bc+uuGqFJuuiyM-gg6CH7yWjfT0@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 08/26/2010 11:07 AM, Andy Koppe wrote:
> 2010/8/26 Vincent Rivière:
>> It would be nice if the mintty package could honor the unchecking of "Add
>> icon to Start Menu"
>
> Yes, that would be nice, but unfortunately setup.exe's design doesn't
> allow for this. The start menu icon is created by the mintty
> postinstall script, which is run before the user even gets to the "Add
> icon to Start Menu" option. Same issue for other packages that create
> start menu entries.

Well, it sort of does - if you create two packages, mintty (no shortcut 
menu created) and mintty-shortcut (depends on mintty, and additionally 
creates the shortcut), then the user can choose whether the shortcut 
will exist by which package they choose to install.  But that's not 
saying it's the best solution.

Another thought - now that we are patching setup.exe to set env-vars 
that inform the postinstall scripts about aspects of the installation 
(such as for all users or just me), setup.exe could also be patched to 
tell postinstall scripts whether start menu modifications are desired. 
However, this would require some major surgery, since the current 
implementation runs postinstall scripts prior to the screen where it 
asks if a start menu icon should exist.

-- 
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019