[maemo-users] Single-click install file for OS2007

From: Peter Bart peter at petertheplumber.net
Date: Mon Aug 25 01:03:49 EEST 2008
On Sun, 2008-08-24 at 17:36 -0400, Marius Gedminas wrote:
> On Sun, Aug 24, 2008 at 05:32:05PM -0400, Marius Gedminas wrote:
> > On Sun, Aug 24, 2008 at 10:36:00PM +0300, Michael Stepanov wrote:
> > > I created a single-click install files for bora, chinook and diablo and put
> > > them on the web page - http://diapub.com/~michael/. They work fine under
> > > OS2008. But with OS2007 there is a problem.  Instead of offer save or run
> > > that file it shows its content. Any ideas how to fix that?
> > 
> > IIRC you need to make your web server serve those files with the correct
> > Content-Type, instead of the generic application/octet-stream.
> > 
> > Unfortunately I don't remember the correct one, couldn't find it on
> > maemo.org after searching for 5 minutes, and experiment shows
> > maemo.org's application catalog itself serves .install files as
> > "text/html".  Does that mean maemo.org's catalog is broken for OS2007
> > users, or that I'm wrong about my content-type assumptions?

	I don't know about that but I am getting a lot of errors trying to
install the 2008 apps via the one click.

> 
> Duh, I'd forgotten I'm serving .install files from my website
> (http://mg.pov.lt/770) since they were first introduced as an
> unsupported feature.  Here's my .htaccess file:
> 
>   AddType application/x-install-instructions .install
> 

	And it works with what you have for 2008.

Thanks!!
-- 
Peter Bart <peter at petertheplumber.net>
http://petertheplumber.net


More information about the maemo-users mailing list