Welcome, Guest. Please login or register.

Author Topic: Installer script help? Amiga BBS package, DLG BB/OS  (Read 3222 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline chiark

  • Sr. Member
  • ****
  • Join Date: Jul 2004
  • Posts: 308
    • Show all replies
    • http://www.chiark.com
Re: Installer script help? Amiga BBS package, DLG BB/OS
« on: March 03, 2010, 04:09:30 PM »
Duce, have you tried an updated version of the installer executable?

I have written installer scripts, but the last one was in 1995 so I might be a little rusty ;)
Celebrating 21... no, make that 27... years of Amiga use
 

Offline chiark

  • Sr. Member
  • ****
  • Join Date: Jul 2004
  • Posts: 308
    • Show all replies
    • http://www.chiark.com
Re: Installer script help? Amiga BBS package, DLG BB/OS
« Reply #1 on: March 04, 2010, 06:08:27 PM »
Where, exactly, does it lock?  Does it display "the installer has detected a ... CPU" and allow you to enter a response and then crash, or crash before the response, or crash after, or...?

I've checked the script and it looks fine: I guess the test would be for me to try it? ;)
Celebrating 21... no, make that 27... years of Amiga use
 

Offline chiark

  • Sr. Member
  • ****
  • Join Date: Jul 2004
  • Posts: 308
    • Show all replies
    • http://www.chiark.com
Re: Installer script help? Amiga BBS package, DLG BB/OS
« Reply #2 on: March 04, 2010, 06:37:18 PM »
Hang on, there *is* something odd in the script.

Some variables that are being set are prefixed with @
Quote
These are variables which are created by the installer
      before the script actually starts to run, and are used to tell the script
      certain things about the environment. These symbols always begin with an
      '@' sign.


You can set @variables, (and should, if @default-dest is changed) but I'm not sure you should create them like is being done in this script?  That might be completely wrong though :)

First port of call: change all non-system-defined @variables to remove the @...

system-defined variables:
@abort-button
@app-name
@icon
@execute-dir
@default-dest
@language
@pretend
@user-level
@error-msg
@special-msg
@ioerr
@each-name
@each-type
@askoptions-help
@askchoice-help
@asknumber-help
@askstring-help
@askdisk-help
@askfile-help
@askdir-help
@copylib-help
@copyfiles-help
@makedir-help
@startup-help
Celebrating 21... no, make that 27... years of Amiga use