Re: Creating Single Click Install for Mac OS X
Re: Creating Single Click Install for Mac OS X
- Subject: Re: Creating Single Click Install for Mac OS X
- From: Chris Devers <email@hidden>
- Date: Thu, 25 Feb 2010 16:37:01 -0500
On Thu, Feb 25, 2010 at 4:20 PM, Iceberg-Dev <email@hidden> wrote:
> On Feb 25, 2010, at 7:58 PM, Karthikeyan M wrote:
>
>> I need to create a Single Click Install for Mac OS X. One of our
>> enterprise clients require it immediately. Please suggest as soon as
>> possible.
>>
>> Just user need to double click the package, it should install in the
>> background silently and after installation it should show application is
>> installed.
>>
>> Windows Packagers do this but I dont have idea to do it on mac since I am
>> new to packaging.
>
> And where exactly should the application be installed?
Perhaps /usr/local/fantasyland ? :-)
Non-facetiously, if you need to automate installation across multiple
machines, there are many ways to do this, and any "enterprise" worth
the name probably has some at hand. Two obvious ways to
mass-distribute installation packages are with Apple's Remote Desktop
(ARD) application, and Timbuktu Pro:
http://www.apple.com/remotedesktop/
http://www.netopia.com/software/products/tb2/mac/
If for some reason this "enterprise" is some other starship class and
they need an alternate solution, you could always just figure out how
you'd want to run the installer from the command line, and distribute
the installer with a Unix shell script that runs the installer with
the desired options. For example:
$ ls StarshipSoftware
InstallStarship.command StarshipSoftware.pkg
$ cat InstallStarship.command
#!/bin/sh
sudo /usr/sbin/installer -pkg StarshipSoftware.pkg -target /
$ chmod +x InstallStarship.command
There are much better ways to do this -- Terminal scares people, the
sudo command will choke if the current admin user doesn't have a
password set, etc -- but it would make it so that the package would
automatically install after launching the Terminal window and entering
the password.
But ARD or Timbuktu are much, much better ways to go about
distributing software to a bunch of machines in an automated manner.
--
Chris Devers
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden