5

I have an .app executable generated for MacOSX. Is it any easy way to install this app into Applications so it can be used by end users, via script? (need to install on multiple computers and really don't want to create intermediate .pkg installer for it)

2
  • How are you planning on deploying it? ssh to a box and run a script? Using something like Apple Remote Desktop or the Casper Suite? Or did you want a script that end users can run that will download and install the .app? Jun 1, 2009 at 20:01
  • You don't need to "install" it. It's just a matter of copying .app directory there.
    – Kornel
    Jun 1, 2009 at 22:12

1 Answer 1

2

Here is a specific example:

scp -r /Applications/Opera.app [email protected]:/Applications

This recursively copies the folder for, in this example, the Opera web browser, from my computer to a computer (named CES-iBookGR4-88) that I have an ssh account on.

More generically:

scp -r /Applications/{App.app} {user}@{RemoteDestination}:/Applications

Where App.app represents the application and the remote destination is the IP name or address of a computer that you have a user account on with ssh access. (Turn on Remote Login in the Sharing Preferences).

To go the other way, do this:

scp -r {user}@{RemoteSource}:/Applications/{App.app} /Applications

In both cases, you will likely be asked to verify the other computer (just type in yes when asked to id it) and will be asked for the user's password.

1
  • and if some clients may already have this app, then rsync would work well.
    – Kornel
    Jun 1, 2009 at 22:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .