Install DMG file using a UNIX command

How do you install a DMG file using ARD? I've managed to get it to copy across and mount on the target machine but that's where I get stuck.
I watched the tutorial videos and according to them it is possible.
Anyone have any hints?

If you're copying the DMG to the client workstation and opening it, you probably then will need to take control of the workstation and run the installer from there. Most such installers require some manual intervention and so can't be run from a command line.
If the DMG contains the software as a Mac OS X package, use the Install Packages command under the ARD Manage menu and push the package to the workstations that way. If the DMG doesn't have a standard package but you have a number of workstations that you need to install on, you may find it easier to build your own package. You can find some information on this in the ARD Administrator's Guide, and there are third-party tools such as JAMF's Composer that can help you build a package more easily.
Regards.

Similar Messages

  • Install and uninstall of dmg file using Apple script in Mac 10.6 and higher version.

    Hi ,
    Could anyone please help me to write a Apple script to Install dmg file and do clean uninstall in Mac 10.6.8 and higher version.
    My requirement is:
    When i run script : it has to install the dmg file which is located inside one desktop folder say 'New Folder'
    I need to do clean unistall when i run the script: i need to delete the folder in ~/Library- locate folder say  'CPSPCSHOWSERVER'' move to trash and from Terminal type in command "rm -r ~/.CPS' to completely delte this folder.
    Really appreciated all ur help!!
    Thanks,
    KT.

    http://macfidelity.de/2008/08/30/how-to-mount-a-dmg-from-terminal-in-mac-os-x/in dex.html
    http://osxdaily.com/2011/12/17/mount-a-dmg-from-the-command-line-in-mac-os-x/
    http://hints.macworld.com/article.php?story=20030614230204397
    http://www.commandlinefu.com/commands/view/2031/install-an-mpkg-from-the-command -line-on-osx

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • I Need to print a portion of a pdf file using a dos command. Can i ?

    Hello,
    I Need to print a portion of each page of a pdf file using a dos command without opening it.
    Can i do it ? if yes how ?
    Thanks in Advance for your help.

    hello,
    Thanks for your reply. If i use another printing software like ghostscript
    or foxit reader will i be able to do it ?
    Regards
    Le 14 déc. 2014 18:49, "Bernd Alheit" <[email protected]> a écrit :
        I Need to print a portion of a pdf file using a dos command. Can i ?
    created by Bernd Alheit <https://forums.adobe.com/people/Bernd+Alheit> in *Printing
    & Prepress* - View the full discussion
    <https://forums.adobe.com/message/7013717#7013717>

  • Abobe 9: Printing a PDF file using a DOS command

    I have Adobe 9.4.0 on a server and would like to print PDF files using a DOS command. The DOS command we are using is:
    start Acrord32.exe /T/S/h/O "C:\BO_Archival_Code_Deployment\Print\TINF018_C.pdf" "Lexmark T644 PS3 - 10.192.36.126"
    With this, we are able to print only page 1 of the PDF file. The other pages remain unprinted. This means there is no issue related to printer configuration, firewalls, etc.
    Other observations:
    1) When we print the file manually after opening it in Adobe 9.4.0, all pages are printed.
    2) We found that the above command provides different results with Adobe 8.2.6 i.e. with the DOS command, all pages are printed while using Adobe 8.
    We are trying to automate some tasks for which we require the PDF files to be printed automatically through a DOS command. We are being advised to use Adobe 9 as technical support for Adobe 8 is likely to be withdrawn soon.
    Please can you help.

    Sorry. This is a forum for Adobe Connect issues not PDF issues. Please locate the correct forum so your question can be addressed properly there.

  • I continue to receive "failed to mount" when trying to install .dmg files or updates.  Has anyone found an answer to this problem?  I am operating on Mac OS X 10.4.11

    I continue to receive "failed to mount" when trying to install .dmg files or updates.  Has anyone found an answer to this problem?  I am operating on Mac OS X 10.4.11

    10.4.11 was only available as a PowerPC updater application (both as a Combo and as a Delta) to Macs with 10.4 or later that were PowerPC. If you don't have 10.4 installed on your Mac, see this tip:
    https://discussions.apple.com/docs/DOC-2541

  • Unzip file using operating system command in file/ftp receiver adapter

    Hi,
    I'm wonderdering how to unzip a zip-file in the receiver file/ftp adapter. I know it is possible to do it using the 'Operating system command' feature, but somehow the command I use seems to be ignored! (I'm using SP14, unix).
    The command I entered is quite simple: unzip %F (also tried the %f, but i guess it doesn't really matter wich on I use).
    Is it possible that I'm unzipping to another directory than the one i expect? the unzip should be performed to/in the current directory, and assumingly current directory is the one stated in the 'Target Directory', right?
    Hope someone can clearify this issue for me.
    Best regards,
    Daniel

    Hi Daniel,
    It seems to me also, that the files are being unzipped to a different location than what you are expecting. The OS command might getting executed in some default location(i am trying to fnd that out)on the server and not in the target directory of the channel(It seems logical to me)....
    If you have time...pls try this out & see whether this would help...
    Have a shell script written with the following commands in them
    cd <path to target directory>
    unzip $1(filename from the channel)
    and in the OS command in the Channel give....
    <absolute path to the .sh file> %F
    Thanks,
    Renjith.

  • Saving a pdf file using the print command

    I'm having a problem saving a document to pdf using the print command. I'm using an old version of Adobe. it's Adobe Acrobat 6. it is giving me the following error The instruction at "0x775355b2" referenced memory at "0x775355b2". The memory could not be "read". Could someone please help me resolve this issue. Thank you.

    The OS and release version of the source file's authoring application have a significant impact on use of Acrobat 6.
    For example, Acrobat 8.1 is where Vista support begins.
    With MS Office, Acrobat 6 PDFMaker compatiblility is only for Office 97, 2000, XP, and 2003.
    Be well...

  • Using Sent Unix Command in ARD 3 with proxy authentication

    I'd like to use Unix commands to update Apple software through ARD thus allowing me to lock the computer screen before the process using the ARD command to do so, thus keeping the users from interfering with the process .
    Our network utilizes password protected firewall proxy that hangs ARD when using the softwareupdate command through ARD's "Send Unix Command..." at the point in which it would ask for authentication if using the same command in the terminal.
    Is there a Unix/terminal script or a series of script commands that could be modified to wait and enter the appropriate authentication at the previous mentioned prompt?
    I've researched this topic on this forum and discover a few post that states it is not possible but they are fairly old posts so I am hoping ARD 3 has some scripts or commands that can pass thru a username and password

    Welcome,
    I use the "System Events" handler, e.g.:
              tell application "System Events" to delay 5.5
              tell application "System Events" to keystroke "K"
              tell application "System Events" to delay 0.5
              tell application "System Events" to keystroke return
    Regards,
    Shawn

  • Opening a file using Webutil_Host.Host Command

    Dear Gurus
    I'm trying to open a file using following command behind a button on my form:
    Webutil_Host.Host('x:\03\03\39920000023.gif');
    I expected from this command to open the given gif file in default image viewer but it takes no action when I press the push button. So should I try something else???

    try this
    Webutil_host command

  • To find whether a form using HOST (Unix) command to exit/execute a process.

    Hi all,
    I have some(Little bit) knowledge on forms.But here I got one requirement which was confusing me .The requirement is ,we have nearly 70 custom forms developed
    using TEMPLATE.fmb.Now I have to open each and every form and have to check whether that form is using any HOST (unix) command to exit to the shell and
    execute a process .I never got this type of requirement previously .Can any one help in how to search for those commands ,I.e is there any standard to use Unix call in
    particular trigger or etc..
    Thanks in advance .
    Regards,
    Gopi.CH

    Your question is a little unclear. The "HOST" command is an Oracle Forms built-in command which allows you to execute OS commands. So the only part of it that belongs to forms is the part that looks like HOST(). The contents within the parentheses would be the command you wanted to execute. For example:
    HOST('/path/to/your/script.sh');Refer to the Forms Builder online help for more information about how to use the HOST command.

  • Create an Excel File Using OPEN DATASET Command

    Hey, everyone.
    How can I create an Excel file by using OPEN DATASET command ??
    The file is created but the columns are no seperated like thay should.
    I need to seperate the internal table's fields with a comma - How can I do it ?
    Here's my code:
    OPEN DATASET filename1 FOR OUTPUT IN TEXT MODE.
    IF SY-SUBRC = 0.
       LOOP AT gt_vend_info into gwa_vend_info.
         TRANSFER gwa_vend_info TO filename1.
         IF SY-SUBRC <> 0.
           EXIT.
         ENDIF.
       ENDLOOP.
    ENDIF.
    Thanks in advance.

    Hi Beki,
    REPORT  ZTESTAA.
    TYPE-POOLS:TRUXS.
    DATA: BEGIN OF ITAB OCCURS 0,
          VBELN LIKE VBAP-VBELN,
          POSNR LIKE VBAP-POSNR,
          END OF ITAB.
    DATA:
    ITAB1 TYPE TRUXS_T_TEXT_DATA.
    SELECT  VBELN
            POSNR
         UP TO 10 ROWS
         FROM VBAP
         INTO TABLE ITAB.
    CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
      EXPORTING
        I_FIELD_SEPERATOR    = ';'
      TABLES
        I_TAB_SAP_DATA       = ITAB
      CHANGING
        I_TAB_CONVERTED_DATA = ITAB1
      EXCEPTIONS
        CONVERSION_FAILED    = 1
        OTHERS               = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO         WITH SY-MSGV1
    SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    OPEN DATASET filename1 FOR OUTPUT IN TEXT MODE.
    IF SY-SUBRC = 0.
    LOOP AT gt_vend_info into gwa_vend_info.
    TRANSFER gwa_vend_info TO filename1.
    IF SY-SUBRC <> 0.
    EXIT.
    ENDIF.
    ENDLOOP.
    ENDIF.
    the above code give CSV format file, all fields will be separated by ';'
    Regards
    vijay

  • Error when importing Sample OBIEE Files using the IMPDP command

    I'm trying to follow the lengthy directions to create the Sample App, and I'm on page 7 of this installation guide:
    http://www.oracle.com/technetwork/middleware/bi-foundation/downloads/sampleapp107-deploymentguide-435786.pdf]description
    I've successfully completed the first 3 bullets on the page and I'm at the step of using the 'impdp' command to import data from the dmp file. The customized command I'm using is as follows:
    impdp sys/password@Eagle as sysdba directory=datapumpdir dumpfile=SASchemas.dmp version=11.2.0.0.0 schemas=BISAMPLE,OBIEE_NAVTEQ,BIFOD,BIBPM,DEV_ODI_REPO,ODI_STAGING LOGFILE=SASchemas_imp.log
    (Note that I'm using my actual password in place of 'password')
    Unfortunately, I keep getting the error: unknown command beginning "impdp sys/..." rest of line ignored'
    Why is this not working? I've checked the syntax very carefully.
    Thanks, John

    Whoops I was running this from the SQL Prompt and not the Dos Prompt... Never mind.

  • I cannot install dmg file applications to my ibook

    Gud day guys ! I'm having trouble installing dmg applications on my ibook ie. yahoo messenger, firefox browser even safari 3

    To add to Advanced User and Roam's always sound advice ...
    Whenever you download and install software, make sure your Mac meets the minimum requirements. For instance, I just checked Yahoo Messenger, here are the min requirements: System requirements: 10.4 (Tiger) or 10.5 (Leopard), Intel or PowerPC. So if you are running Panther, 10.3, then the Yahoo Messenger .dmg file won't allow you to install the software.
    Firefox: System Requirements
    Mac OS X 10.4 or later
    256MB of RAM or higher recommended
    200MB hard disk space
    Safari 3.1.2 requires Tiger 10.4.11
    Carolyn
    Message was edited by: Carolyn Samit

  • Version XI Cannot Find File USING VBA Shell Command

    I open Adobe Reader from an Access VBA Shell command.  After upgrading to Version 11, the Reader opens but I get the Error Message.  "Cannot Find File".
    This was on a Windows 7 Machine running MS Access 2012.  I had an older PX with XP and Access 2003 on it, so I ran the program on it with Version 10 and the Reader opened with the
    file passed to it using the Shell command.  I updated Adobe Reader to XI on the XP machine and I got the "Cannot Find File" message.  I went back to the Widows 7 machine anbd removed Version 11 and reinstalled Version 10 and the Shell command worked like it did before.  Does anyone know if there is a work a round for the Version 11 error as I have many many customers that may update to Version 11 and my program is not going to work for this particular function.
    Appreciate any help, thanks.

    Q1 Answer
    I use Shell because it has worked for years and it is a build in VBA function and ShellExecute uses Windows API, and I took the easy route.
    As I'm sure you know Shell is for exe, com or bat files and ShellExecute enables
    the opening of files such as txt, pdf... etc by file association.
    Q2 Answer
    The exact string is
    "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" C:\FoxFales Data\FoxFalesStaff\Alerts\GenericSupplies.pdf
    The path for AcroRd32.exe is retreived by reading the registry entry  "HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe\"
    Q3 Answer
    If you paste the above command in the CMD shell you get the same result.  Reader Opens, but opens with
    the message  "Cannot Find File".
    Newest Results
    In the forum I found threads that indicated that if in Security (Enhanced) you had "Enable Protected Mode At Startup"
    enabled there were some unpleasant results.
    So I turned it off and lo and behold Reader XI with the Shell commandfrom VBA works!
    But as a matter of interest I turned it back on and tried the API call ShellExecute, as you so politely suggested,
    and...IT WORKED with "Enable Protected mode At Startup" enabled.
    I don't understand why Reader XI lets ShellExecute work and not Shell, but I'm happy I  have a solution
    Thanks for you help

Maybe you are looking for

  • Please help me in selecting the right SAP Module

    Hello All, I want to change my module; Currently I am in SAP BASIS.And I am willing to change in SRM. Can any one suggest me should I go for SRM or not,wheather it has a scope (Future Opportunities) / is it easier than BASIS or should  I continue wit

  • Truncate taking too much time

    Hi, We have a table named FACT_JRNL_LN_DTL which contains around 491000 records. The problem is whenever we tried to truncate it , it is running for more than 1.5 hours and afterwards we need to cancel the operation. The table has 538 extents. Please

  • Why is the input that the Apple TV HDMI is hooked into disbaled?

    I plugged my Apple TV power cord in, and the HDMI cored into my TV. I tried hitting Input on my TV, but the only things it allows me to go in is TV, DVD, and Sattelite. The HDMI was plugged into Input or HDMI 7. Why is that disabled and how should I

  • Disc Utility - warning if RAID HD fails ?

    I would like to set up an external RAID1 in a Sonnet JBOD ( Fusion D400P ). I just learnt, that if I set up this RAID1 with Apples Disc Utility, there will be no automatic warning if one of the drives is failing... Is that true ? Do I need to set up

  • Shortcut to File Server Using GPO

    I would like to be able to push a shortcut out, using GPO to a file server.  The shortcut works individually on a desktop but I can not see how to push it out with GPO.  Basically I want it to go to \\servername and thats it.  I feel like it should b