(message "Creation of FontMachine's directory structure")
(makedir (tackon @default-dest "Brush")
(help @makedir-help)
)
(makedir (tackon @default-dest "Fonts")
(help @makedir-help)
)
(makedir (tackon @default-dest "Palette")
(help @makedir-help)
)
(makedir (tackon @default-dest "Project")
(help @makedir-help)
)
(complete 10)
(copyfiles
(source "FontMachine_1:ReadMe.doc")
(dest @default-dest)
(nogauge)
(prompt)
(help)
(infos)
)
(message "Installing FontMachine.\n\n" "The Installer is going to unpack all the files needed by FontMachine.\n" "This procedure will take some seconds.")
(delete "T:tmpcmd")
(textfile
(dest "T:tmpcmd")
(append (cat "CD " destdir))
(append "\n")
(append "FontMachine_1:unlzx >CON: x FontMachine_1:FontMachine.lzx")
(append "\n")
)
(complete 70)
(if (<> 0 (execute "T:tmpcmd" ))
(abort "Installation error during the decompression of the files.\n")
)
(delete "T:tmpcmd")
(copylib
(prompt "The Installer is going to install fontmachine.library")
(help @copylib-help)
(confirm)
(source "FontMachine_1:Libs/fontmachine.library")
(dest "libs:")
)
(complete 80)
(set defdest @default-dest)
(startup "FontMachine"
(prompt (cat "Creating an assignment to FontMachine's drawer.\n"
"This operation allows to easily install future versions of FontMachine as well as other FontMachine's resources.\n"
"It is strongly suggested to let the Installer do it."))