Page 1 of 1

Installation on multi-platforms...

Posted: Tue Feb 16, 2010 9:14 am
by shadowslash
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

Re: Installation on multi-platforms...

Posted: Tue Feb 16, 2010 11:20 am
by Klaus
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

Re: Installation on multi-platforms...

Posted: Tue Feb 16, 2010 11:22 am
by shadowslash
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 ^^

Re: Installation on multi-platforms...

Posted: Wed Feb 17, 2010 11:44 am
by Klaus
Don't forget to read the fineprint! :D