This Applet (AppleScript Application) will :
If you have to tailor these files for a specific need (for example, to use the proper parameters of the tool "nbinstmacx"), we will detail the content of these differents files.
Open a terminal and type :
$ cd ~/Desktop/trackbird_macx_installers
$ ls
nbinstmacx trackbird_macx_installer.scpt
trackbird_macx_installer.app
In order to edit the script "trackbird_macx_installer.scpt", double clic on the file icon to launch the application "Script Editor".
or
Open a terminal and type :
$ cd /Applications/AppleScript
$ open Script\ Editor.app ~/Desktop/trackbird_macx_installers/trackbird_macx_installer.scpt
or
Open a terminal and type :
$ open /Applications/AppleScript/Script\ Editor.app ~/ Desktop/trackbird_macx_installers/trackbird_macx_installer.scpt
The content of the file "trackbird_macx_installer.scpt" is :
tell application "Terminal"
activate
do script "cd Desktop/trackbird_macx_installers
chmod a+x nbinstmacx
sudo ./nbinstmacx -server=192.168.42.224"
end tell
NB : You have to change the parameters of the nbinstmacx tool. The syntax should be :
sudo ./nbinstmacx -server=IPorName [-port=80] [-alias="trackbird"] [-installPath="/Library/Application Support/tbclient/"] [-version]
We see that the parameters port, alias, installPath are optionnal.
NB : You have to use the double quotes "" for the parameters alias and installPath in order to have the shell escape the space characters :
sudo ./nbinstmacx -server=IPorName -alias="trackbird" -installPath="/Library/Application Support/tbclient/"
For example : sudo ./nbinstmacx -server=192.168.42.224 -port=80 -alias="trackbird"