RunRev Installer Program - Anyone Interested?
janschenkel at yahoo.com
Wed Sep 11 08:38:01 EDT 2002
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
- filename of stack
- answer folder
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
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,
"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
> Cheers... Bill Lynn
> Simtech Publications
> use-revolution mailing list
> use-revolution at lists.runrev.com
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
More information about the Use-livecode