Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Users

Single-click install file for OS2007

 

 

Maemo users RSS feed   Index | Next | Previous | View Threaded


michael at stepanoff

Aug 24, 2008, 12:36 PM

Post #1 of 5 (264 views)
Permalink
Single-click install file for OS2007

Hi,

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?

TIA
--
Cheers,
Michael


marius at pov

Aug 24, 2008, 2:32 PM

Post #2 of 5 (247 views)
Permalink
Re: Single-click install file for OS2007 [In reply to]

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?

Marius Gedminas
--
Only great masters of style can succeed in being obtuse.
-- Oscar Wilde

Most UNIX programmers are great masters of style.
-- The Unnamed Usenetter
Attachments: signature.asc (0.18 KB)


marius at pov

Aug 24, 2008, 2:36 PM

Post #3 of 5 (247 views)
Permalink
Re: Single-click install file for OS2007 [In reply to]

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?

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

Marius Gedminas
--
(define the-question (or (* 2 b) (not (* 2 b))))
Attachments: signature.asc (0.18 KB)


peter at petertheplumber

Aug 24, 2008, 3:03 PM

Post #4 of 5 (247 views)
Permalink
Re: Single-click install file for OS2007 [In reply to]

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

_______________________________________________
maemo-users mailing list
maemo-users[at]maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


michael at stepanoff

Aug 25, 2008, 4:20 AM

Post #5 of 5 (225 views)
Permalink
Re: Single-click install file for OS2007 [In reply to]

Hi Marius,

Thanks for your replay. I added that mime type and it's solved the problem.
Thanks again!

On Mon, Aug 25, 2008 at 12:36 AM, Marius Gedminas <marius[at]pov.lt> 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/<http://diapub.com/%7Emichael/>.
> 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?
>
> 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
>
> Marius Gedminas
> --
> (define the-question (or (* 2 b) (not (* 2 b))))
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIsdREkVdEXeem148RAtiCAJ9g5on+Nd1Z0YoyV+Hm/o+RO7vm4wCcDACp
> 2PRj/4xRWCgCUZjlDlkCAbE=
> =5CmG
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> maemo-users mailing list
> maemo-users[at]maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
>
>


--
Cheers,
Michael

Maemo users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.