How to install .pkg or .dmg file on Mac using AIR NativeProcess like .exe on windows?

Hi,
I want to install a application on Mac which is in .pkg installer using AIR NativeProcess. I am able to install the .pkg file by double clicking on OS but not able to run that using AIR NativeProcess.
I am able to install the .exe on windows using AIR NativeProcess.
When I tried the same process for .pkg on Mac got the following error:
ArgumentError: Error #3214: NativeProcessStartupInfo.executable does not specify a valid executable file.
I am using:
AIR 3.4 SDK
Flash Builder 4.7 (beta)
Tried packaging on both Windows and Mac OSX 10.8.
Is there any way to install .pkg/.dmg file using AIR NativeProcess?
Thanks in advance.

A year later, but others may have this problem.
You don't want to use NativeProcess to do this.
You need to 1) mount the DMG and then 2) launch the PKG
The PKG is very simple to launch :
  // where 'installer' is a flash.filesystem.File that has resolved to your PKG file
  installer.openWithDefaultApplication();

Similar Messages

  • How do install  program from external drive to mac book air

    how do install  program from external drive to mac book air

    DVD or CD sharing: Using Remote Disc - Apple Support

  • How can I get the update on my Mac Book Air just like the new mac

    How can I get my mac book air too look just like the new one on your web page?
    (IOS 8)
    Please Let Me Know
    Thanks,
    Nick Husslein
    (NickHusslein -Screen Name-)
    P.S I love your guys Products!

    You can sign up for public beta testing, but that's about it. Otherwise you will have to wait until the fall.

  • How to install hosted firefox(in firefox store) extension using registry.(like chrome does via update_url)

    I can install the firefox extension by adding key in registry and giving the path to extension folder which is saved in my machine. I want to install it from addon store of firefox, like in chrome adding key
    "update_url":"link to websotre" and chrome downloads and installs it, something like this I am needed to do. Is this possible in firefox?
    Thanx.

    You need the extension file.
    Globally-installed extensions aren't updated by Firefox.
    * https://developer.mozilla.org/Add-ons/Installing_extensions

  • How to open a native PDF file in Android using AIR?

    Hello.I have created a flex mobile project to open and show a native PDF file in Android. I have tried three different methods below , but  I failed.
    1. I created a stagewebview and used "stageWebView.loadURL". I can see the PDF View in emulator but it didn't work in Android Pad (SAMSUNG Galaxy Tab 10.1). It showed blank screen.
    Note that I have installed AIR 3.3.
    stageWebView1.loadURL(new File(new File("app:/assets/ZUGH-2P.pdf").nativePath).url);
    2. I created a stagewebview and used stagewebview to load javascript. The javascript could run in emulator, but it didn't work in Android Pad. I failed again.
    stageWebView1.loadURL(new File(new File("app:/assets/JavaScripthtml.html").nativePath).url);
    3.  I imported stagewebviewbridge, which is the extended version of stagewebviewbridge. I created a stagewebviewbridge , but it could not run in emulator. I failed again.
    stageWebViewbridge1.loadLocalURL( "appfile:/assets/pdf.html");
    could any one give me some suggestions? Many thanks.

    @peterpan_cafuc,
    Sorry to say that I'm not sure of the answer, either.
    One suggestion would be to try something like File.openWithDefaultApplication(), although I've never tried it on mobile.
    Also, I poked around stackoverflow, and it looks like people have done this using Android Intents, but you might have to use a Native Extension  to do this in AIR.
    Apologies that I can't be more helpful.
    -Randy

  • I don't know how to install Mp3 and PDF file from my computer to IPhone?

    I don't know how to install Mp3 and PDF file from my computer to IPhone? Please who can help me. Thanks

    Please Get the iPhone User Manual for iOS 5.
    Put such files into iTunes, sync to phone. Everything syncs from iTunes to phone.

  • Mac Mini OS 10.5.8 will not install .pkg or .mpkg files

    Reciently my Mac Mini has been prompting me to "choose an application" when I try to install .pkg or .mpkg files. This is preventing me from installing any new software on my computer. I've tried to repair permissions and that didn't help. I also tried to reinstall my OS from the disk that came with my computer. When I attempt to reinstall, my mac restarts and spits the disk out and no changes are apparent. What can I do to fix this?

    Welcome to the Apple Discussions!
    Those packages are opened with the Installer.app. Perhaps it has become disassociated from these types of files on your Mac. To install, next time it asks you to choose an app, browse to the Installer and choose it. It is in Apps/Utilities.
    To permanently fix this issue, right click on a pkg or a mpkg file and select Get Info. In the Get Info window go to the Open with pane and choose the Installer as the correct app to open these files. Then press the Change All... button.
    Dah•veed

  • Cannot install .pkg and .mpkg files

    I have recently tried to install .pkg and .mpkg files but without success. When I double-click on a file, the installer icon appears in dock but I get the following error message: The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.).
    The problem persists despite repairing permissions.
    I have read several messages about this problem but there seems to be only one solution, and that is to reinstall the OS. I am seriously trying to avoid this unless there is a way to recover all my applications, including Parallels Desktop, Windows 7 and other Win applications.
    I would greatly appreciate any advice. Many thanks.

    The problem persists despite repairing permissions.
    Did you restart your computer after doing the above?
    Disconnect all peripherals from your computer. Boot from your install disc & run _*Repair Disk*_ from the utility menu. To use the Install Mac OS X disc, insert the disc, and restart your computer while holding down the C key as it starts up.
    Select your language.
    Once on the desktop, select Utility in the menu bar.
    Select *Disk Utility.*
    Select the disk or volume in the list of disks and volumes, and then click *First Aid.*
    Click _*Repair Disk.*_
    Restart your computer when done.
    Repair permissions after you reach the desktop-http://docs.info.apple.com/article.html?artnum=25751

  • Does anyone know how I install Microsoft office onto an I Mac or if I even need it.

    Does anyone know how I install Microsoft office onto an I Mac or if I even need it.

    If you need to write or modify documents made with Word, Excel, or Powerpoint, then you need Office. Otherwise, you don't. If you already have it then installation just involves double-clicking on the Office Installer's icon.
    You may want to consider as well:
    These two suites are similar to Libre Office but not as current or as well-supported:
    NeoOffice
    Open Office
    And, then there is Apple's iWork suite:
    Pages - word processing and layout
    Keynote - presentation
    Numbers - spreadsheet
    Each can open and save Office compatible files. They may be purchased separately via the Mac App Store for $19.99 each.
    (Access to the Mac App Store requires Snow Leopard 10.6.6 or higher and an Apple ID.)

  • How do I view ipod music files with out using I tunes?

    I trying to view my Ipod music files without using itunes. But when I conect my Ipod to my pc I can only view contacts, notes, and caladar through the driver.
    How do I view ipod music files with out using I tunes?

    they should be under ur my music folder if u have windows

  • How do I open a cpgz file on my macbook air

    How do I open a cpgz file on my MacBook Air?

    Use the built-in Archive Utility or download The Unarchiver.
    (108977)

  • Q: How do I convert a pdf file to Word using Adobe Export PDF? - all my attempts are scrambled.

    Q: How do I convert a pdf file to Word using Acrobat Export PDF - all my attempts are scrambled

    Do you subscribe an Adobe Export PDF account? If you do not have an account, please go to https://www.acrobat.com/exportpdf/en/home.html?trackingid=JPZKN to subscribe.
    If you have an account, make sure verify your email address and sign in from https://exportpdf.acrobat.com/SignIn.html
    Jyh-Jiun Liou

  • How can I import iPhone Garageband Files to Mac Garageband?

    How can I import iPhone Garageband Files to Mac Garageband? I've found lots of threads about this but no direct answers/how to.
    Thanks

    With the latest build of GarageBand on the device, move to the My Songs view, tap the Edit button at top right, select the shaking song you want to export, then tap the sharing arrow symbol at top left, tap iTunes, then GarageBand.
    Connect the device to iTunes, select it in the left-hand column, then select the Apps tab. You should find the exported file in the File Sharing area of the GarageBand app and from there you can copy it to your computer, then open it with the GarageBand application.
    tt2

  • How do I upload an XML file to salesforce using BULK API?

    Hi There,
    Please let me know how do we upload an XML file to salesforce using Bulk API?
    Thanks,
    ET

    Hi,
    I think that this is a more SalesForce.com question and think you will have more chance looking at SOAP API Developer's Guide for salesforce. Sending a SOAP request from the API Server is very straight forward and there are several tutorials and well documented about this.
    Cheers,
    Stefan

  • How to extract .sit files(in MAC)  using java program

    Hi,
    please help me , i want to simple program for
    " how to extract .sit files(in MAC) using java program"
    that sit files same as zip files in windows..[                                                                                                                                                                                                                                                                                                                                   

    Thanks for reply...
    but i search in the google about this topic...there is no results will appear..
    the problem is "i have to run program in the MacOS like extract all the
    .sit(StuffIt) extension files. These sit files same as zip files in the windows... we have one tool called StuffIt Expander but it is 3rd party tool. but here requirement is i have to write my own program to extract all the files same as zip file program...
    please do the needful..i am waiting for ur reply,,,

Maybe you are looking for

  • Problem in Creating a jar file using java.util.jar and deploying in jboss 4

    Dear Techies, I am facing this peculiar problem. I am creating a jar file programmatically using java.util.jar api. The jar file is created but Jboss AS is unable to deploy this jar file. I have also tested that my created jar file contains the same

  • How to Fill values in BAPI internal table ?

    I am creating sales order from ABAP Dynpro , all the values are getting passed to bapi except those in internal table, it gives lead selection error and whn i change the cardinality of the Node to 1.1 to shows the page but whenever i create the SO it

  • Is there a way to find out if there were any user actions in windows?

    I have an application in LV6.1 and i want it to go in an 'idle-state' if there was no user action in windows. for example: after 10min. (like a screensaver that activates after a certain time.)

  • How to revert Album 6.0.A.0.26 to 5.4.A.0.20

    Has anyone been able to disable the slideshow of images at the top of the new Album version? It occupies a good portion of the screen and It is irrelevant (to me at least) as I do not want to have pictures flashing at the top of the screen. I know wh

  • Error in my progra but where??!?

    below is my code it checks a guessed word against some random letters. Guess is called guess at first then changed to guesschar. chosen is 9 random letters. //*********READ IN GUESS*****************          String guess = JOptionPane.showInputDialog