Cross-platform install - searching for a method (without java)
- From: "William" <Reply@xxxxxxxxxxxxxxxx>
- Date: Fri, 24 Mar 2006 15:51:05 -0600
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
.
- Prev by Date: Re: Transfer data between processes
- Next by Date: Re: find a number
- Previous by thread: best algorithm for LDE
- Next by thread: Robotic Group
- Index(es):
Relevant Pages
|