Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a mpkg file that i'm trying to install.

The installer quits after "writing files" with the error:

The installer encountered an error that caused the installation to fail...

Among a big process of Install.log in console i can see this line:

Dec 22 14:45:56 MacBook-Pro installd[505]: ./postinstall: arserver postinsall: Unsupported Operating system version! Exiting...

I'm on 10.7.6 and The file is supported to 10.6 and up, but it just wont install... is there a way to ignore OS check while running this file?

Source file

EDIT:

Found the solution.

I edited the following exec file using Coda

postinstall

inside the

contents.pkg

And changed the lines from:

# ===========================================================================
# OS version dependent stuff 
# ===========================================================================
osv=`sw_vers -productVersion`
case $osv in
10.6*)

To:

 # ===========================================================================
    # OS version dependent stuff 
    # ===========================================================================
    osv=`sw_vers -productVersion`
    case $osv in
    10.7*)

And the installer ran and the app launched!

share|improve this question
add comment

1 Answer 1

I got the same error on 10.8, but the installer still copied all files to /Applications/ARSuite/. (You can see what files an installer is supposed to copy by pressing ⌘I.)

You could also extract AudioRackSuite3.4.1.mpkg/Contents/Packages/contents.pkg/Contents/Archive.pax.gz and move the files to the Applications folder manually.

share|improve this answer
    
I Followed your advice and the files copied indeed. i recopied them from inside just to be safe but it throws another error when opening the app. i updated the code above to the error log. thank you. –  TonalDev Dec 22 '12 at 13:45
    
Found the workaround and edited the question. thank you m8. –  TonalDev Dec 22 '12 at 14:14
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.