public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: RPM installer (was Re: SETUP WIZARD FOR CYGWIN?XFREE86)
@ 2001-07-25 11:20 Bernard Dautrevaux
  2001-07-25 14:08 ` Dario Alcocer
  0 siblings, 1 reply; 29+ messages in thread
From: Bernard Dautrevaux @ 2001-07-25 11:20 UTC (permalink / raw)
  To: 'Charles Wilson', Dario Alcocer; +Cc: cygwin

> -----Original Message-----
> From: Charles Wilson [ mailto:cwilson@ece.gatech.edu ]
> Sent: Wednesday, July 25, 2001 5:55 PM
> To: Dario Alcocer
> Cc: cygwin@cygwin.com
> Subject: Re: RPM installer (was Re: SETUP WIZARD FOR CYGWIN?XFREE86)
> 
> 
> Sounds cool, Dario.  How have your db and rpm ports been generated? 
> Which versions are you using, db-3 and rpm-4, or db-2 and 
> rpm-3 ?  Is db 
> built as a dll, or as a static lib ?
> 
> BTW, for your purposes perhaps you could pack up your bootstrap 
> environment into a self-extracting zip file ?
> 

Or as the installer user interface is tcl/tk-based, you can look at FreeWrap
( http://home.nycap.rr.com/dlabelle/freewrap/freewrap.html ). Its neat and
works quite well; moreover the tcl/tk installer in this case do not NEED
cygwin, so can unpack the basic bootstrap environment without any problem).

HTH

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 29+ messages in thread
* RE: RPM installer (was Re: SETUP WIZARD FOR CYGWIN?XFREE86)
@ 2001-07-27  3:06 Bernard Dautrevaux
  0 siblings, 0 replies; 29+ messages in thread
From: Bernard Dautrevaux @ 2001-07-27  3:06 UTC (permalink / raw)
  To: 'Dario Alcocer', cygwin; +Cc: Bernard Dautrevaux

> -----Original Message-----
> From: Dario Alcocer [ mailto:alcocer@helixdigital.com ]
> Sent: Wednesday, July 25, 2001 11:08 PM
> To: cygwin@cygwin.com
> Cc: Bernard Dautrevaux
> Subject: RE: RPM installer (was Re: SETUP WIZARD FOR CYGWIN?XFREE86)
> 
> 
> >>>>> "Bernard" == Bernard Dautrevaux 
> <Dautrevaux@microprocess.com> writes:
> 
>     Bernard> Or as the installer user interface is tcl/tk-based, you
>     Bernard> can look at FreeWrap
>     Bernard> 
> ( http://home.nycap.rr.com/dlabelle/freewrap/freewrap.html ). Its
>     Bernard> neat and works quite well; moreover the tcl/tk installer
>     Bernard> in this case do not NEED cygwin, so can unpack the basic
>     Bernard> bootstrap environment without any problem).
> 
> Yes, I guess this would work as well.  However, the main reason I
> didn't want eliminate the Cygwin DLL was that I wanted to use ash to
> run the RPM package post-install/pre-uninstall scripts with it.  I
> guess I could find a Win32 Bourne-compatible shell that didn't require
> Cygwin to replace ash, but that would still leave me looking for
> Win32-only ports of the other utilities that might be required by the
> scripts (e.g. awk, sed, cut, paste etc.)

I was not suggesting suppressing the cygwin1.dll, sh, etc... Just mentionned
that using FreeWrap you can get a self-contained executable that will
execute your TCL installer. This installer can then "extract" all the files
you need from the FreeWrapped executable. 

You can then wrap 
	The non-cygwin wish provided with FreeWrap
	Your TCL installer
	cygwin1.dll
	ash, awk, sed, cut, paste...
In one exe which will (under tcl control) create a temporary directory,
place cygwin1.dll et al. in it and then use this as your execution
environment for your installation. When installation is finished you then
can just remove this directory for cleaning this environment.
	
> 
> In the end, it just seemed simpler that, rather than trying to avoid
> including Cygwin in the installer (and miss out on all that
> functionality), I should instead find a way to use cygwin1.dll and
> avoid the pitfalls instead.  I decided on a two-stage install process;
> the first stage would check for a duplicate cygwin1.dll loaded in
> memory (and abort with a message if one was found), and the second
> stage would be the actual Tcl/Tk installer.

This first stage can in fact be done by the beginning of a FreeWrapped tcl
script. I think you should really look at what FreeWrap can do: it will not
just wrap a tcl script, but also all the needed auxiliary text or binary
files you need.

HTH,

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 29+ messages in thread
[parent not found: <EC421C2230BBD211A11400805FA7784D25DDED@express8.res.utc.com>]
[parent not found: <Pine.GSO.3.95-heb-2.07.1010724150418.6324K-100000@csd>]

end of thread, other threads:[~2001-07-28  0:12 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-25 11:20 RPM installer (was Re: SETUP WIZARD FOR CYGWIN?XFREE86) Bernard Dautrevaux
2001-07-25 14:08 ` Dario Alcocer
2001-07-25 16:23   ` Robert Collins
2001-07-25 16:33     ` Charles Wilson
2001-07-26  8:36       ` Dario Alcocer
2001-07-26 16:49         ` Robert Collins
2001-07-26 18:45         ` Charles Wilson
2001-07-26  8:30     ` Dario Alcocer
2001-07-26 16:44       ` Robert Collins
2001-07-26 17:49         ` Dario Alcocer
2001-07-27  4:57           ` Robert Collins
2001-07-27  5:59             ` egor duda
2001-07-27  7:33               ` Robert Collins
2001-07-27  7:48                 ` Borsenkow Andrej
2001-07-27 15:04                   ` Robert Collins
2001-07-28  0:12                     ` Borsenkow Andrej
2001-07-27  8:19                 ` egor duda
2001-07-27 18:32                   ` Robert Collins
2001-07-27  8:50                 ` Dario Alcocer
2001-07-27 21:12                 ` Jonadab the Unsightly One
2001-07-26 18:34         ` Charles Wilson
  -- strict thread matches above, loose matches on Subject: below --
2001-07-27  3:06 Bernard Dautrevaux
     [not found] <EC421C2230BBD211A11400805FA7784D25DDED@express8.res.utc.com>
2001-07-26  8:46 ` Dario Alcocer
     [not found] <Pine.GSO.3.95-heb-2.07.1010724150418.6324K-100000@csd>
     [not found] ` <001201c11440$f5acf5a0$806410ac@local>
     [not found]   ` <20010724112652.G9776@redhat.com>
     [not found]     ` <3B5DA52D.2020304@ece.gatech.edu>
2001-07-24 10:10       ` SETUP WIZARD FOR CYGWIN?XFREE86 egor duda
2001-07-25  8:20         ` RPM installer (was Re: SETUP WIZARD FOR CYGWIN?XFREE86) Dario Alcocer
2001-07-25  8:54           ` Charles Wilson
2001-07-25 13:59             ` Dario Alcocer
2001-07-25 19:25               ` Rue. SATOH
2001-07-26  8:43                 ` Dario Alcocer
2001-07-26 17:53                   ` Rue. SATOH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).