Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Write a Installer for our Program in Amos  (Read 3160 times)

0 Members and 1 Guest are viewing this topic.

Amiten

  • A600
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 128
  • Amos Coder Since 1990
    • Amiten Software
Write a Installer for our Program in Amos
« 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

« Last Edit: February 13, 2015, 09:40:46 PM by Amiten »
Logged
AMIGA is a Style of Life

SamuraiCrow

  • compile-time wierdo
  • Forum Mod
  • A1200
  • *****
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 946
  • Compile-time wierdo
Re: Write a Installer for our Program in Amos
« Reply #1 on: February 14, 2015, 03:27:27 PM »

What's wrong with writing a shell script?
Logged

bruceuncle

  • AMOS Dev
  • A500
  • *****
  • Karma: 6
  • Offline Offline
  • Gender: Male
  • Posts: 425
  • WINUAE Amiga User
Re: Write a Installer for our Program in Amos
« Reply #2 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.  :)
Logged
Repeat after me ...  "The AMOS Pro architecture is complex but it is not complicated."

BooBoo

  • Amiga Guru
  • A600
  • ****
  • Karma: 3
  • Offline Offline
  • Posts: 168
Re: Write a Installer for our Program in Amos
« Reply #3 on: February 15, 2015, 03:32:23 AM »

I think its something like exec copy
Logged
Pages: [1]   Go Up
 

TinyPortal 2.2.2 © 2005-2022