setup and mintty (was Re: New setup.exe release?)

Andy Koppe andy.koppe@gmail.com
Thu May 26 12:09:00 GMT 2011


On 26 May 2011 12:51, Corinna Vinschen wrote:
>> On a closely related note, there's the issue of the mintty postinstall
>> script. Simply dropping the "mintty" shortcut creation when setup.exe
>> is changed would mean that the shortcut would disappear without
>> replacement for people updating with a not-quite-up-to-date setup.exe
>> or who habitually untick the "Add start menu item" checkbox.
>>
>> Therefore I think I should change the postinstall script such that it
>> continues to create the "mintty" shortcut, but only if "Cygwin
>> Terminal" isn't there. However, since setup.exe creates its shortcuts
>> *after* running the postinstall script, people would end up with both
>> "mintty" and "Cygwin Terminal" until the mintty package is next
>> updated. Avoiding that requires setup.exe to nuke the "mintty"
>> shortcut when it creates "Cygwin Terminal".
>
> Hmm.
>
> That begs for the question why the start menu entry isn't managed
> entirely by mintty's postinstall/preremove scripts.  In theory we can
> reduce setup to ask for the desktop icon.  The start menu entry is
> always created, and it's always created by mintty.  That would make the
> entire affair much easier, isn't it?

Good point. The only argument against that I can think of is that the
postinstall script shortcut is non-optional. There have been some
minor complaints about that before.

(Setup.exe would still need to nuke "Cygwin Bash Shell").

Andy



More information about the Cygwin-apps mailing list