Hi Amit / the group,

I recently discovered that when the newest beta version of MacFUSE 
(currently 2.1.5) is installed, the postupgrade (or 'post') script for 
the MacFUSE installer package (as of 2.0.2/2.0.3) fails with an error code.
This creates a problem as I'm working on bundling MacFUSE with NTFS-3G 
in future releases. I'm aiming to create a one-step solution to install 
everything the user needs.

Here's the output from /tmp/.macfuse-install.log:
-----
Running postflight: Sat Mar 28 12:24:54 CET 2009

Potential embedded package path: /Volumes/MacFUSE 
2.0/MacFUSE.pkg/Contents/Resources/10.5/MacFUSE Core.pkg

New version available: None
Attempting to install embedded package: /Volumes/MacFUSE 
2.0/MacFUSE.pkg/Contents/Resources/10.5/MacFUSE Core.pkg
installer: Cannot install on volume / because it is disabled.
installer: Det finns redan en nyare version av programmet på volymen.
Failed to install /Volumes/MacFUSE 
2.0/MacFUSE.pkg/Contents/Resources/10.5/MacFUSE Core.pkg
-----

Looking at the 'post' script, it seems the reason that the script fails 
is that my user isn't running with an English locale. At line 184 in the 
'post' script, it explicitly looks for the string "newer version of this 
software already exists"... while this string translates to "det finns 
redan en nyare version av programmet" in swedish.
There must be a better way to check for the reason that the install 
failed. Are there any well defined exit values for /usr/sbin/installer 
that can be used? (The man page doesn't give any hints...)

- Erik

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to