Unix command(s) to run a .app installer, not .pkg

I asked this over in ARD, but there does not seem to be a "Terminal" forum to ask:
UNIX Command to install app
I have an Installation .app, not a .pkg that i need to get installed on all of my user's machines.. The company that created it does not offer .pkg installers. and No, they will not make one.
I put the application/installer on the local admin desktop.
I can SSH onto the machine and run the application./installer fine.
But i can't get the UNIX to work over ARD.
Can anyone assist? I think i'm close,
Thanks.

yeah, this .app is actually an installer. i know, not normal. but that's what it is, you launch the app, and it runs an installer... If i go though the contents of the app, it's just and exec file in there, Normally, i would just pull out the .pkg and push that over ARD, but this is a Unix Executable. so it won't work..
I can launch it just fine and run it just fine. the problem is that i don't want to go to 90 machines and switch over to the Admin side and run the app rom there, and enter my local admin creed 90 times...
I suppose in writing this that i "could" run it form the logged-in user desktop, but then again, since users are not local admins, i would have to intervene and enter the local admin reds to get it to run.

Similar Messages

  • Command Tilde works in most apps but not Safari or Preview

    Hi
    The Command-Tilde command (window-switching) works in most of my applications (Chrome, Firefox, jEdit, Finder, Terminal, Xcode(sometimes), etc.)  However,the command-tilde does not work in Safari or Preview.  Is there a way to fix this?  I find it quite annoying and have not been able to find a solution.  I have tried resetting the System Preferences shortcut and that did not work.  Uninstalling/Reinstalling Safari & Preview does not seem to be an option.  I am not willing to reinstall Lion unless absolutely necessary.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    As Guest, test. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on some Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode.) Post the results of steps 1 and 2.

  • 'suspend' command in script run as a cronjob not working

    I have the following 2 lines in a script run every minute :
    echo "test" >> $HOME/test
    /usr/bin/systemctl suspend
    The script is run properly as the file 'test' is appended with 'test' every minute. But the suspend command doesn't work. Both command work when they are entered manually.
    What could be causing this?

    To expand on what I think thegala is trying to get at, the use of systemctl's suspend, poweroff, etc. are all made available to a regular user through polkit and logind.  So I am not sure that the cron daemon gets itself an authenticated session, making that suspend non-functional.

  • Unix command to know port is open and not used

    Is there any command that i need to use to see followings :
    1) Port is open
    2) Port is not used by any application.
    Please give an example of the results as well.
    1) if port is open
    2) if port not open
    3) If port is used
    4)if port is not used.

    there is a discussion here:
    http://opensolaris.org/jive/thread.jspa?threadID=89781
    that gives netstat, LSOF (not included with Solaris, you have to install it) and the proc file system as example of how to find ports.

  • Unix Command run successfully through PL/SQL but showing no impact in UNIX.

    Hi,
    I am using Oracle 9i and Unix on my system and trying to execute a UNIX shell command through external procedure in C.
    I created a shared lib (libextproc.so) for the following function.
    int sysrun(char *command)
    return system(command);
    This function runs fine when caled through a driver function in C, meaning that the shared lib is fine.
    In PL/SQL, I have used the following method to invoke a UNIX command:-
    create or replace library shell_lib as '/home/ECETRAonsite/oracle/OraHome1/lib/libextproc.so';
    create or replace function sysrun (syscomm in varchar2)
    return binary_integer
    as language C
    name "sysrun"
    library shell_lib
    parameters(syscomm string);
    Now when I call this PL/SQL function to invoke the command, it is run succesfully but does not create the file.
    SQL>
    1 declare
    2 rc number;
    3 begin
    4 rc := sysrun('/bin/touch /home/ECETRAonsite/oracle/OraHome1/test/sach');
    5 dbms_output.put_line('Return Code='||rc);
    6* end;
    SQL> /
    Return Code=0
    PL/SQL procedure successfully completed.
    I have verified that the path for 'touch' is correct.
    Following are my configuration files.
    listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =172.21.161.69 )(PORT = 1521)(KEY = ECTPRF))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = extproc2)
    (ORACLE_HOME = /home/ECETRAonsite/oracle/OraHome1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ANY")
    (SID_DESC =
    (SID_NAME = ECTPRF)
    (ORACLE_HOME = /home/ECETRAonsite/oracle/OraHome1)
    (ENVS = "EXTPROC_DLLS=ANY")
    tnsnames.ora
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = extproc2)
    Please suggest what is lacking for this to work properly.
    Thanks,

    No need to create a C wrapper for that kernel call. Simply call the kernel SYSTEM() call direct.
    The following works using 10.2.0.1 on HP-UX.
    SQL> create or replace library libc as 'libc.2';
    2 /
    Library created.
    SQL>
    SQL>
    SQL> create or replace function system( command IN string ) return binary_integer is
    2 EXTERNAL
    3 LIBRARY libc
    4 NAME "system"
    5 LANGUAGE C
    6 CALLING STANDARD C
    7 PARAMETERS (
    8 command STRING
    9 );
    10 /
    Function created.
    SQL> show errors
    No errors.
    SQL>
    SQL>
    SQL> -- remove the test file
    SQL> ! rm /tmp/plsql-test
    SQL>
    SQL> declare
    2 rc integer;
    3 begin
    4 rc := system( '/usr/bin/touch /tmp/plsql-test' );
    5 DBMS_OUTPUT.put_line( 'return code='||rc );
    6 end;
    7 /
    return code=0
    PL/SQL procedure successfully completed.
    SQL>
    SQL>
    SQL>
    SQL> -- display the test file
    SQL> ! ls -l /tmp/plsql-test
    -rw-r----- 1 oracle dba 0 May 17 14:36 /tmp/plsql-test
    SQL>
    You may need to define a different library on yours. The kernel shared lib is suppose to be libc.sl - for a reason I cannot recall anymore, I've changed it to use libc.2.
    Oh yeah - the system call will be without any environment. Thus you cannot rely on any standard shell environment variables like PATH - you need to fully qualify executables and files (i.e. include the path).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Bank run game app

    Has anyone found that there Bank run game app will not load since the new update ,has anyone found a fix to this issue i have tried to do a reinstall and still nothing loading .

    You probably need to ask BOA that question.
    @BofA_Help
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Where is status bar when running iphone app

    I've updated my iPad Mini to iOS 7 and now when I run iPhone apps I don't see the status bar (time and battery level etc).  It used to show in iOS 6.
    I see the status bar fine when running iPad apps, just not iPhone apps.
    Any ideas?

    I don't know which app your using but you can try deleting it and reinstalling it from the cloud. If it's in iPhone mode, you should see the 2x but when you switch it to 2x yes the option seems to disappear to go back to 1x when you are using IOS 7.
    I lost the 1x on one of my apps but when I removed and reinstalled, it was there again. The time was showing at the top when I reinstalled it again from the cloud.

  • I bought an IPhone 4S in Tripoli, Libya. Even when the brochures (in English and Arabic) said that it has FaceTime, this app is not in the phone.

    Hello:
    As I said, I bougth my IPhone 4S (it's my first IPhone). In the brochure inside the box, it is mentioned FaceTime Application (in both English and Arabic), but the Icon is not there. I checked with another collegaues that also have the IPhone and they have the icon to run the app, but not my phone.
    I would like to solve this issue, and I believe that Iphone should have a technical solution for it.
    Regards and Thanks in advance!

    Check Settings>FaceTime>On and Settings>General>Restrictions>FaceTime>ON. On the 4 & 4S FaceTime is accessed through contacts.  Go into your Contacts, access the contact you want to FaceTime with and you will see a tab at the bottom of their contact card.  You can also access FaceTime by going into your Phone app, select dialling keypad, dial number, press call and an option for FaceTime on the keypad will appear.   It should be noted that FaceTime has been removed from iPhones sold in some Middle Eastern countries at the express wish of the respective Governments.  This article may also be helpful http://support.apple.com/kb/ht4319.

  • Run adobe cs3 updater remotely via command line unix command?

    is there a way to run the adobe updater from the command line for adobe cs3? I have a bunch of machines that already have cs3 installed, and I would like to be able to use ARD to "send unix command" and have the installer run and update the relevant apps?
    Thanks in advance...
    PS-is it me or is this forum ridiculously slow on safari? Sheesh!

    is there a way to run the adobe updater from the command line for adobe cs3? I have a bunch of machines that already have cs3 installed, and I would like to be able to use ARD to "send unix command" and have the installer run and update the relevant apps?
    Thanks in advance...
    PS-is it me or is this forum ridiculously slow on safari? Sheesh!

  • How to run an applescript using unix command

    Hi All,
    Can any one help me in giving me the command for running an apple script thru postupgrade shell file in other words i wana run an apple script while running my new installer that will upgrade the old version of application but while installing i want to run an applescript so as i know ill have to give that applescript path in the postupgrade script but how to run it while installation and where to keep it (is it postupgrade). May be in short how can i run apple script thru unix command.

    Use the osascript command.
    In my installer, I use the DropDMG program to build my DMG disk image. It doesn't quit automatically, so I have to do the following:
    osascript -e "tell application \"DropDMG\" to quit"
    Type "man osascript" for more information.

  • Looking to run unix command line from Finder

    I want to run a unix command directly from finder. Kind of like using command-G to "Go To Folder".
    If a current method isn't supported, I noticed that Terminal.app has a shortcut for "New Command" using command-N. What would be the right way to create a keyboard shortcut in Finder that would call Terminal->New Command?
    Thanks

    You might use a third-party macro expansion utility that permits creating keyboard macro shortcuts. Examples include QuicKey or iKey. There are also several text expansion utilities that also allow attaching keyboard shortcuts such as TextExpander or Typinator. The above can be found at VersionTracker or MacUpdate.
    You can also create an AppleScript using the Do Shell Script command. The resulting compiled script can be attached to an Automator action. I don't know if you can attach a keyboard shortcut but you can add an Automator action to the Services menu and to the Finder's contextual menu.

  • Method to restart Oracle Apps 11i OPP via Unix command line

    Hi All,
    Does any one knows if there any way to restart Oracle Apps 11i Output Post Processor (OPP) via the UNIX command line?
    Thanks

    Oracle-User wrote:
    Do you recommend that I set the profile option Concurrent: OPP Response Timeout to a higher value instead of increasing OPP Processes from 1 to 2? Yes.
    I'm thinking that increasing OPP Response Timeout to a higher value will not solve our issue as it seems that once we get our first OPP Timeout error, all of the requests that need the OPP fail. We've had this occur on a Saturday, which is a day where the volume of jobs that need the OPP is very low. The error you are getting is related to the timeout and it has nothing to do with the number of OPP processes you are running on. Please set this profile option and check then (after you bounce the OPP).
    Thanks,
    Hussein

  • Unable to run reports from the unix command line

    hi
    all of a sudden i am unable to run reports ( on App server 10g) either from the unix scripts or from the unix command line. But i can run them from the forms.
    Any one have any idead about this.
    Thank you

    thanks all for replying
    i have set the env variables for the session and it worked. Looks like i have to set the oracle_home and ld_library_path every time ( opening a new putty session) i call sqlldr.
    But in a whole i am trying to run sql loader from the forms. Right now we have Oracle app server 10g which forms 10g version. As oracle app server 10g didnt come with sqlldr, we are copied the sqlldr of database on to app server with different home. after this we can run sqlldr ( on app server ) from unix scripts but not from Forms. Then we opened a qurey with oracle about app server 10g not commig with sqlldr and its remedy . But they said that they dont have specific remedy for that and suggested the same what we did.
    So we came up with java package which does the same funtion as host command and trying to run sqlldr which is on the database( ie replacing the host command in the forms with the database funtion). By using that funtion i am able to run the sqlldr from sql plus but not from forms. I couldnt easily debug it as i wont through any error messages.
    Any one have any idea of this ...
    Thank you

  • Running unix commands from within a procedure

    Oracle 11.1, AIX 6.1
    ================
    A developer would like to know what the commands are to execute from within a procedure to run unix commands on the database server and capture those results back to the procedure for parsing & manipulation.
    Thanks.

    Don't take this as the correct way to do it, but this is merely 'a' way to do it:
    have a db procedure thats executes a db function
    create or replace procedure csproc(p_cmd in varchar2)
    as
    x number;
    begin
    x:=csfunc(p_cmd);
    dbms_output.put_line('x is: '||x);
    end;
    /The function calls a piece of java to execute the os command and return the return code of the os command
    create or replace function csfunc( p_cmd  in varchar2) return number
    as language java
    name 'csclass.RunThis(java.lang.String[]) return integer';
    /Here is the java class to run the os command
    create or replace and compile java source
    named "csclass"
    as
    import java.io.*;
    import java.lang.*;
    public class csclass extends Object
    public static int RunThis(String[] args)
       Runtime rt = Runtime.getRuntime();
        int        rc = -1;
        try
           Process p = rt.exec(args[0]);
          int bufSize = 4096;
           BufferedInputStream bis =
           new BufferedInputStream(p.getInputStream(), bufSize);
           int len;
           byte buffer[] = new byte[bufSize];
           // Echo back what the program spit out
           while ((len = bis.read(buffer, 0, bufSize)) != -1)
              System.out.write(buffer, 0, len);
           rc = p.waitFor();
        catch (Exception e)
           e.printStackTrace();
           rc = -1;
        finally
           return rc;
    /and finally the os command - in this case its a very simple shell script
    #!/usr/bin/ksh
    echo "Hi" >> /app/oracle/workdir/cs.logwill have to grant privileges to my user 'CS' to run the various os commands
    exec dbms_java.grant_permission('CS','java.io.FilePermission','/app/oracle/workdir/cs.ksh','read,execute');
    exec dbms_java.grant_permission('CS','java.io.FilePermission','/app/oracle/workdir/cs.log','write');
    exec dbms_java.grant_permission('CS','SYS:java.lang.RuntimePermission','*','readFileDescriptor');
    exec dbms_java.grant_permission('CS','SYS:java.lang.RuntimePermission','*','writeFileDescriptor');and finally can run the procedure from within the db
    set serveroutput on
    exec dbms_java.set_output(1000000);
    exec csproc('/app/oracle/workdir/cs.ksh');
    x is: 0
    PL/SQL procedure successfully completed.to prove it works ok the logfile shows an entry:
    'Hi'

  • Running a Unix command as "root" with NSTask

    Hi,
    I'm new to objective-C and Cocoa programming. I already know C and C++ (from classes I had in Uni.) but this one goes farther than what I've seen. Stricltly for learning purposes, I'd like to make a three button window where you click on a button and it launches /etc/daily and the two other cron tasks. But, in order to launch those commands, you need to use sudo. I guess wrapping a Unix command in a Cocoa application uses NSTask, but how do you get the app to run with root access?
    Any help will be appreciated
    iBook G4 (12)   Mac OS X (10.4.8)  

    How about launching Terminal with a script that calls
    sudo? sudo will query the controllying TTY
    (Terminal) for the user's (which had better be an
    admin user) password.
    There should be no way to do this without requiring
    admin authentication, preferably interactive. If
    there were, it would be a privilege escalation
    vulnerability in OS X...
    That is exactly what I am looking for: I'd like my application the ask for administrator privileges before running the Unix scripts.
    iBook G4 (12")   Mac OS X (10.4.8)  
    iBook G4 (12")   Mac OS X (10.4.8)  

Maybe you are looking for

  • Does not stay connected to wifi - Solved

    Over the holiday I got an iPad Mini and iPhone 5. On both devices my wifi disconnects often, especially when put into lock mode. I had to keep re entering password to reconnect, very annoying. I read the discussions and had a thought to solve it. Thi

  • Problem while assigining the role to the user

    Hi, I have creadted one new user and role. then add some worksets which exists in another folder. when logged to the new user i can able o see the worksets with error message.(which is working fine with old user) Please help me how to add the workset

  • Not able to install Exchange Server 2013 on Windows Server 2012

    I got an error while installing exchange server 2013 on windows server 2012 : "The registry key "SOFTWARE\Microsoft\Exchange Server\v15\Pickup" does not exist under "HKEY_LOCAL_MACHINE " any related solutions highly appreciated thanks :

  • WHEN YOU PURCHASE RV SHOWS FROM ITUNES ARE YOU ABLE TO PUT IT ON A DVD AND WATCH ON A REAL TV?

    When you purchase a TV show from itunes are you able to put it on a DVD to watch on a real TV?

  • CANNOT CHANGE QUALITY PRESETS

    Captured video is 1920x1080p, AVCHD format, using Adobe Premiere pro CS5 and Encore CS5, win 7 computer. Used Adobe dynamic link to get edited source into Encore. It uses quality presets 720x480, 29.97fps. I edit and build in Encore which results in