Cross-platform install - searching for a method (without java)



Haven't found a better group to ask for advice, so...

I'm looking for something I can use to write a cross-platform
installer (Windows, Solaris, HP, AIX and Linux) with the
following features:

1. No Java - can't afford the footprint of an embedded JVM,
and can't assume Java even exists otherwise.

2. Can be compiled or otherwise packaged on any OS into either
a self-extracting executable, or two files: executable and
archive.

3. Can interact with the system - that is, execute native
commands and stuff. (This offloads a lot of the work since
we can add special tools for OS-specific issues.)

4. Command-line or options-file driven (no GUI needed, we want
a silent install, basically)

What I've thought of so far:

1. Bourne-shell scripts on Unix (fine, but that leaves Windows
and .bat files, even with command extensions, are not
really adequate). Not happy about the idea of supporting
two wildly different systems.

2. Perl. Essentially, I had the idea of using Perl, sans-modules,
to run one-size-mostly-fits-all scripts. Can't assume it is
on the target system, so three approaches suggest themselves:

2a. Use pp to wrap everything up into a single executable.
Problem: Can't get it to work on HP 11 - specifically,
myldr just does not want to compile. (Haven't tried it
on AIX or Linux yet.)

2b. Write my own wrapper - embedding perl in my own C stub
utility where I can spoonfeed it the action script.
Possible, but tedious.

2c. Put the minimum I need to run a perl script into the
archive and use a bootstrap script/.bat file to extract
it and kick off the real install script. Not as pretty,
but if it works, OK.

Any comments, ideas or pointers to resources? Any help appreciated.
TIA -Wm



.



Relevant Pages

  • Re: New Application Extension reports 404
    ... You actually want .RUN to be handled by Perl, ... please add a Web Service Extension ... /command1.run will execute Perl script1.pl ... but IIS4 had the "RUN" extension mapped to execute a predefined perl script. ...
    (microsoft.public.inetserver.iis)
  • Re: Any Oracle DBA Around ???? - Perl DBI of Oracle Enterprise Manager (OEM) Install
    ... that will be my last option in case I really want to use OEM's Perl ... existence of the file DBI.pm enough to say that DBI is installed? ... The script is very simple as below: ... am wanting to try out and install oracletool or orcaware. ...
    (perl.beginners)
  • Re: Talk about text files and embedded malware...
    ... | ASCII characters only. ... | script or VBS script)? ... Say a file called "bad.txt" contains some perl script. ... user double-clicking a bad file will execute some code? ...
    (alt.comp.anti-virus)
  • Re: Need help installing WWW-Search-Ebay-2.193 Module...
    ... One of the O'Reilly Books has a script that calls this ... perl Makefile.PL ... you may need to find and install command-line versions of tar and gzip ... > ActivePerl for Linux under Cygwin ...
    (comp.lang.perl.misc)
  • Re: Question on input password on ssh prompt
    ... I am writing a perl script running on the XP, ... However right after I made the system call for ssh, ... Is that a way I can feed it the password without install any ...
    (comp.lang.perl.misc)