Ultimate Amiga

Network Boards => AMOS Language Discussion => AMOS Factory => AMOS Forum => Topic started by: Amiten on February 13, 2015, 09:38:57 PM

Title: Write a Installer for our Program in Amos
Post by: Amiten on February 13, 2015, 09:38:57 PM
Hi there! , Every thing ok? I hope So...

Well the Cuestion is simply , How to code a Installer for our project in Amos?

Any help will be many apreciated.


Ok we have A game for example ready to share right.. and we want to create a EXE where all the stuff copy automatically to DH0:

we have for example

<Folder>(game container)
<GFX>
<SND>
root folder
EXE, readme etc...

is posible or any one knows how to call the amiga os Copy command also the mkdir (or create drawer) in Amos?

I think this also can do with Arexx but in Amos wil be great...

Wait for feedbacks..

Al the best
Amiten

Title: Re: Write a Installer for our Program in Amos
Post by: SamuraiCrow on February 14, 2015, 03:27:27 PM
What's wrong with writing a shell script?
Title: Re: Write a Installer for our Program in Amos
Post by: bruceuncle on February 15, 2015, 02:02:29 AM
If you really must do it in AMOS, have a look at Install.AMOS on disk 1 of the AMOS Pro distribution.  That uses its own file copy code using a 64Kb bank as a buffer.  It may have a few other ideas you can use too.  Ignore the bank of machine code in the program.  It's only used for reading tracks on the install floppy to get the user name and registration number.  Nothing to do with the file copy routine.  :)
Title: Re: Write a Installer for our Program in Amos
Post by: BooBoo on February 15, 2015, 03:32:23 AM
I think its something like exec copy