;Installer script for HTML Editor version 1.31
;Author: Adam 'Sherwood' Zaparcinski


(message "Welcome to the instalation of HTML Editor v 1.31"
)

;choose the directory

(set destpath (askdir (prompt "Please choose the directory where HTML Editor will be installed"
                              "A new directory called 'HTMLEdit' will be created"
			)
			(default @Default-dest)
			(help @askdir-help)
			)
)
(set destpath (tackon destpath "HTMLEdit"))

(makedir destpath (safe))

(set @Default-dest destpath)

;Kopiujė pliki

(copyfiles
	(prompt "Copying files")
	(help @copyfiles-help)
	(source "")
	(dest @Default-dest)
	(all)
	(infos)
)

(message "HTML Editor is installed in Your directory:"
	@Default-Dest
	"\nHave a good fun!"
)
