[Starkit] Re: starpack as cgi

Schofield, Bryan (GE Trans) Bryan.Schofield at trans.ge.com
Wed Jun 22 09:58:34 CEST 2005


Perhaps you could help simply the "install" portion for your user by adding a "-install" option that creates the simple wrapper for them. Granted it's twice as many steps as a typical starpack install, 

  # wget -output-document=~/public_html/protect www.davidwelton.com/protect 
  # ~/public_html/protect -install

isn't so bad and still beats the hell out of InstallShield.

> -----Original Message-----
> From: David Welton [mailto:davidnwelton at gmail.com]
> Sent: Wednesday, June 22, 2005 8:49 AM
> To: Schofield, Bryan (GE Trans)
> Cc: starkit at equi4.com
> Subject: Re: [Starkit] Re: starpack as cgi
> 
> 
> > This may no be applicable for you, but I general do starkit 
> cgi as follows.
> > 1. Stick a tclkit in my ~/public_html/cgi directory.
> > 2. Add my starkit to ~/public_html/cgi directory.
> > 3. Create a 3 line cgi shell script to launch my starkit.
> > 
> > > ls ~/public_html/cgi
> > tclkit foo.cgi foo.kit bar.cgi bar.kit
> > > cat ~/public_html/cgi/foo.cgi
> > #!/bin/sh
> > cd ~/public_html/cgi
> > exec ./tclkit foo.kit
> 
> I made things work by creating a starpack 'protect' and then a
> 'protect.cgi' that is something like #!./protect
> 
> but the whole point of using starpacks is that the client, who in this
> case is not a very technical user, just downloads one and only one
> file.
> 
> -- 
> David N. Welton
>  - http://www.dedasys.com/davidw/
> 
> Apache, Linux, Tcl Consulting
>  - http://www.dedasys.com/
> 


More information about the Starkit mailing list