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?
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!