Installation on multi-platforms...

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Installation on multi-platforms...

Post by shadowslash » Tue Feb 16, 2010 9:14 am

I've heard of people use rev to create installers for the applications they write through rev too. What I'm wondering about, is:
If in Windows, the default installation directory for programs is the environment variable $ProgramFiles or commonly C:\Program Files on most systems, what is the equivalent path / folder of that to Linux and Mac OS X systems? Are the installation styles different on each platform? I would just like to know because I don't own a Mac yet and even if I do have Ubuntu installed in my computer, i'm not yet literate about the go-arounds of Linux.

Please shine some light into my topic... Image
Parañaque, Philippines
Image
Image

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Installation on multi-platforms...

Post by Klaus » Tue Feb 16, 2010 11:20 am

Hi shadowslash,

here is a very good resource for "specialfolderpath()" codes (and more!):
http://www.sonsothunder.com/devres/revo ... ile010.htm

On a Mac you can also use:
/Applications = path to the application folder
$HOME = path to the current users home directory = specialfolderpath("home")
I think this does also work on LINUX!

See also "specialfolderpath()" in the docs (Rev dictionary).


Best

Klaus

shadowslash
Posts: 344
Joined: Tue Feb 24, 2009 6:14 pm
Contact:

Re: Installation on multi-platforms...

Post by shadowslash » Tue Feb 16, 2010 11:22 am

thanks for the reply! at first i got overwhelmed by the long list of stuff in that page but i'm gonna start looking at it now ^^
Parañaque, Philippines
Image
Image

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Installation on multi-platforms...

Post by Klaus » Wed Feb 17, 2010 11:44 am

Don't forget to read the fineprint! :D

Post Reply