There is a known bug in the SETUP.EXE program of ScriptBasic v1.0build30 that prevents the automated installation of the interpreter. The setup program for some reason can not find the system variable PATH during step 8 of the installation process and fails. There is no reason to retry the installation, it will deterministically fail.
A typical installation error output may look like this
SETUP caused an invalid page fault in
module SETUP.EXE at 0167:004020c3.
Registers:
EAX=00000000 CS=0167 EIP=004020c3 EFLGS=00010202
EBX=00000000 SS=016f ESP=0065e3f0 EBP=0065fe38
ECX=00000000 DS=016f ESI=00000000 FS=1847
EDX=bffc9490 ES=016f EDI=00000001 GS=0000
Bytes at CS:EIP:
8a 06 83 c4 10 33 ff 84 c0 74 12 8b ff 3c 3b 75
Stack dump:
0041bbc0 0041bbc0 00413c48 00000000 00000001
00000000 00000000 00000000 18010c00 0d560050
00000c00 1fc60000 00000050 00010d56 00300400
00001fc6
The contents of the LOG file are something like:
---------------------------------------------------
Starting installation-log, hr=6, min=58, sec=19, msec=880.
ScriptBasic installation was started--Commandline=''
--Temppath: 'c:\win98\temp\'
--Currentpath: 'c:\my documents\my zips\unzip2\'
--Installed: ScriptBasic version is 1.0b30
--Install path='c:\scriptbasic\'--Progress: 'Registering uninstall- program'
--Progress: 'Adding defaults to registry.'
--Timestamp: hr=6, min=58, sec=33, msec=780
--Progress: 'Registering version in registry'
--Progress: 'Registering build number in registry'
--Progress: 'Registering file extension.'
--Timestamp: hr=6, min=58, sec=47, msec=20
--Progress: 'Registering application type'
--Progress: 'Registering application name'
--Progress: 'Registering icon'
--Timestamp: hr=6, min=59, sec=0, msec=200
--State: Current PATH=(null)
In such cases the installation of ScriptBasic has to be performed manually. You have to download the precompiled binary package of the program.
There are two binary file versions of ScriptBasic for Windows in the download directory. They contain the same version of the interpreter. The difference is only the packaging. One is the version with the setup.exe This is the one you have already downloaded. The other one from the URL
http://scriptbasic.com/download/scriba-v1.0b30-bin.zip
contains the files that you need to install ScriptBasic by manually.
To install ScriptBasic manually follow the steps:
- Extract the content of the ZIP file into a directory where you want ScriptBasic to be installed. Note that the ZIP file contains the directory names and all files in the ZIP file are in the subdirectory ScriptBasic. Therefore if you want to install ScriptBasic into C:\ScriptBasic you have to extract the ZIP file into C:\, or if you want to install ScriptBasic into C:\Program Files\ScriptBasic then you have to extract the content of the ZIP file into C:\Program Files. Pay attention to have the check box “Use folder names” checked! Also crosscheck that you extract “All files” and not only “Selected files”! At this very point do the ZIP extraction.
- If you do not like the directory name ScriptBasic rename it after the content of the ZIP file was extracted. You can for example rename C:\Program Files\ScriptBasic to C:\Program Files\scriba. From now on I assume that the installation directory is C:\Program Files\ScriptBasic
- Alter your system variable PATH so that it includes C:\Program Files\ScriptBasic\bin. Win98 may need logout/login or reboot to get this change in effect.
- After your system variable PATH is changed start a command prompt.
- Type in scriba without any argument. It should print out the ScriptBasic usage screen.
- Change the current working directory to C:\Program Files\ScriptBasic\
- Start notepad scriba.conf.lsp
- The distributed configuration file is tuned for an installation that was installed in t:\MyProjects\ScriptBasic\. You have to alter all occurrences of the string t:\\MyProjects\\ScriptBasic\\ to your installation location. Note that the path separator back-slash is doubled in the configuration file.
- Save the changes you made to the configuration file and exit NOTEPAD.
- At the command prompt type scriba –k scriba.conf.lsp. This command compiles the configuration file into an internal format.
- Start Explorer and select the directory C:\Program Files\ScriptBasic\doc. Using the right mouse button (or the left if your mouse is set for left-handed people) and drag the file ug.chm to the desktop and select “Create shortcut(s) here” when you release the icon.
- Double click the created short-cut and read the ScriptBasic Users’ Guide.
- Start using ScriptBasic.