Installing applications by avoiding GUI

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Installing applications by avoiding GUI
# 1  
Old 09-10-2010
Installing applications by avoiding GUI

Hi Experts,

Now the problem is when I run the install script inside .app folder, it opens a GUI and asks for user input. I want to avoid these GUI. I want to provide input when i run install script e.g.
$ ./install < inputfile

I used to redirect input from input file to install script. But this works only when i am asking user input from command line only. But in this case my install script opens up GUI.

Will you please guide me to achieve this asap?


Regards,
akash mahakode
# 2  
Old 12-30-2010
Unfortunately it depends on how the gui application was developed.
# 3  
Old 01-01-2011
You should try:
Code:
unset DISPLAY
./install

# 4  
Old 01-24-2011
Look at package creation software and package up your app with the right tools so all needed information is built into the package. Google search the following products

PackageMaker (from Apple)
Iceberg (open source)
Composer (from Jamf software)

If you want to package it up yourself with user input look at running iHook, which allows you to access things like Objective C APIs from shell scripts, so you can custom build a nice little GUI box that says, input X and then outputs what the user inputs into your post flight installer script or whatever.
# 5  
Old 01-24-2011
Thanks, I will check it out.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

Python gui or C++ gui or java gui?

python gui or c++ gui or java gui? and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies

2. UNIX for Dummies Questions & Answers

Avoiding the history

In bash shell, how we can avoid the commands getting recorded in history file. One way i can think of is : export HISTSIZE=0 Is there any other way to achieve this? Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies

3. UNIX for Dummies Questions & Answers

Avoiding the second run of the script

Hi all, I want to put a check in my script to check if the same instance is already running and not finished and if not then does not allow it to run! in which part of my script I should put this? and any idea how I should write it? tx (4 Replies)
Discussion started by: messi777
4 Replies

4. Shell Programming and Scripting

GUI Applications

Hi Experts, Can anyone suggest me kindly, whether designing some small GUI applications are possible in shell scripting..... Like a small calculator kind of stuff....... I fit is possible guide me with some examples. Thanks, Newbie....... (0 Replies)
Discussion started by: kritibalu
0 Replies

5. Programming

GUI applications on SunSolaris and RedHat Linux

Hello, I want know about building a product on Sun solaris and Redhat Linux. Product would contain C,C++, Java, UNIX Shell scripts and so on. It will not be a client server programme. Thanks! Shafi (5 Replies)
Discussion started by: shafi2all
5 Replies

6. BSD

Installing GUI

Hi there, I am a new FreeBSD. I am entirely new to tihs OS, I just have good dos/windows skills. So I am comparing everything with dos/windows. I have installed FreeBSD with default settings. When FreeBSD starts, the GUI (if there is any ?!?!?) doesn't start; just the command line. So thats... (4 Replies)
Discussion started by: koraykazgan
4 Replies

7. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

8. UNIX for Dummies Questions & Answers

Installing GTK to develop Perl GUI's

Hi! What do I need to do to install GTK so I can use Perl GUI's in UNIX? I want to install it in my account. I am not a sys admin or anything. Thanks in advance, P. (1 Reply)
Discussion started by: pmcg
1 Replies
Login or Register to Ask a Question