0

I have:

  • install.sh
  • config/*
  • images/*
  • etc

I would like to bundle all that up in 1 file, so that when the user runs that file (no args), it will:

  1. self extract in /tmp/[temp_name]/
  2. run /tmp/[temp_name]/install.sh

Doable?

Scope is unix and/or windows.

benji
  • 477
  • 1
  • 5
  • 11

1 Answers1

0

Any self extracting archive will do, of the type typically used to install software.

For example, makeself.sh is notable for its portablity. It runs on several UNIXes and has a startup script feature.

John Mahowald
  • 30,009
  • 1
  • 17
  • 32