RunRev Installer Program - Anyone Interested?

Jan Schenkel janschenkel at yahoo.com
Wed Sep 11 08:38:01 CDT 2002


Hi Bill,

Let's see what we can drag out of the vast realms of
Transcript functions, even though I'm all in favour of
the good old drag'n'drop method for application
installation -- ah, those wonderful days when a
program still fit on a single floppy...

Check the following entries in the Transcript
dictionary:
- filename of stack
- answer folder
- revCopyFile
- revCopyFolder

Getting "the effective filename of this stack" gives
you the path to the (installer) stack.
Use "answer folder" to let the user select a folder to
install the files at.
Then use revCopyFile and/or revCopyFolder to copy the
files from the cd location to the user-selected
location.

If you have to install files into places like the
desktop or the system folder, best check out the
'specialFolderPath' function as well.

If you really wanted to have some fun, you could even
use the 'compress' and 'uncompress' commands to save
space on the CD ; though you might have to watch out
with resource forks.

Hope this helped,

Jan Schenkel.

"As we grow older, we grow both wiser and more foolish
at the same time."  (De Rochefoucald)

--- Simtech Publications <switchedon at hsj.com> wrote:
> Since no one responded to my question about the
> existence of an installer
> program written in RunRev would anyone be interested
> in coming up with a
> simple example for the Mac? If I could get a script
> sample for copying a
> file from a CD to a specified path on the Mac that
> would be sufficient I
> think.
> 
> Cheers... Bill Lynn
> Simtech Publications
> http://www.hsj.com
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
>
http://lists.runrev.com/mailman/listinfo/use-revolution


__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute



More information about the use-livecode mailing list