Execute .run with parameters

Yes, that is action script. If you’re not already familiar with it, then Distribution might be best.

@JasonWalker’s advice in this other thread might be instructive.

I suggest starting with a simple shell script that sends output to a file, so that you can see what’s going on when Distribution executes a shell script.

  1. Start with a script that only touches a file; does that work?
  2. Have the script print its working directory to an output file. That tells you the file path where Distribution executes from.
  3. Have the script print the location of the script itself. (You can do this with bash variables.)
  4. etc.

Having built the familiarity about Distribution’s shell environment, an adept shell scripter should be able to make the installer do what it needs.

(Unfortunately, I think you’ve discovered that using shell scripts with Distribution isn’t a common usecase on the forum.)

-Andrew