Computer Services
Stanton/Wilmington Campus
Firetech Program Installation Notes
Table of Contents for This Page
MS/DOS programs. Restrictive permission requirements,
unflexible, usual story.
User Run Instructions
- Open an NT command window, type the command: THE
- If user wants a handy icon on the desktop for the program (which can
be moved anywhere), type the command: THE ICON
- Default data directory is F:\. This can be changed in the set-up menu
- Never ever save files to T:\. This is a temporary directory and removed
nightly
Permission requirements
- Directory must be r/w
- Most program and data files must be r/w
Observations
- Data files end in *.THE
- Under Setup, Config THE, you can set data directory.
Run Logic
We will r/o the main directory with default config files, then copy to
the temp drive (T:) and run from there. Default data directory points to F:
but can be changed by user to whereever. In order to save the settings,
copy files, etc, a launcher will be used (see below). This launcher will
maintain a local the.cfg file in the roving user profile, copy a launch
icon to desktop for user convenience. If user copies or deletes that launch
icon, it will not reappear as long as the.cfg exists in profile. (Logic
being, if the.cfg exists, they ran it once, got the icon, and can decide
to delete it or move it if they want).
The copy operation to T: will be somewhat slow (10 seconds or so) but
only happens if it's not already there. T: is removed nightly so the
delay will happen at max, once per day per user.
Install instructions
Install program to any net directory, make all files R/O. For this install,
it was done to G:\dos\firetech\the directory. Install launcher code below
in g:\bin, and finally create a shortcut to that batch file, place it in
"THE" directory, and name it "The Sprinkler Program.bat"
Launch Program
@echo off
g:
cd \dos\firetech\the
cls
if "%1" == "icon" goto icon
if "%1" == "ICON" goto icon
echo:
echo: Please wait, loading THE Sprinkler Program...
echo:
echo: WARNING: Never save files to T:, save to F:
echo:
if exist t:\the goto loaded
mkdir t:\the
copy *.* t:\the > nul
:loaded
t:
cd \the
if exist "%userprofile%\Application Data\the.cfg" goto goodcfg
goto runit
:goodcfg
copy "%userprofile%\Application Data\the.cfg" > nul
:runit
the13
copy the.cfg "%userprofile%\Application Data\the.cfg" > nul
goto exit
:icon
copy "THE Sprinkler Program.lnk" %userprofile%\desktop > nul
:exit
exit
User Run Instructions
Open a command prompt (aka dos prompt) window and type "NFC" to run the
program. If you would like an icon shortcut to do the above, type
"NFC ICON" and an icon will be installed on the desktop. You can then
run that icon, or move it to a location you prefer."
Observations
- Comes with CD-ROM and a floppy license disk
- Floppy is licensed for 20 copies
- Install from CD has network option, copies to server
- Must run ADDICON for each station. Adds some files to C:\. It does *NOT*
add an icon (must be NT specific). (I'd rather not run ADDICON to each station.
Must be a better way)
- Looks like it'll run with a command like:
bviews -C x:\path\views.ini nfc.nfo
where x:\path is path to views.ini file, current directory is where data
is stashed.
- Install adds vshare.386 and ctlc3v2.dll into systemroot and then plugs
it into win.ini. Isn't that support part of NT by default? Needed? Doesn't
look like it.
- Whoopie doodie, it works with copying main stuff to server *AND* user
stuff to server. Then just use -C arg to point to the views.ini file.
- I added an icon (.lnk file) to the nfcwin dir. It caused the program
to fail. The copy protection (er, license protection) must be sensitive
the the position of the files in the directory.
- License info kept in nfc.ldf file. Must be r/w. Directory can be r/o.
Install Instructions
- Run setup from CD-ROM, point to directory on server, use Network
Administrator install option
- Run setup from license disk, point to same directory as above
- Run ADDICON from directory above, point to DIFFERENT directory than above
- Create batch file to run data. Assuming above is x:\path1 and x:\path2
respectively, it would look like
cd x:\path1
bviews -c x:\path2\views.ini nfc.nfo
- Can make batch file create helpful icon as well. However, don't add
any files to the nfcwin (path1) directory.
- The licensing diskette creates an nfc.ldf file that must be r/w.
Chance for foul play, so create a copy of file as nfc.ldf.bak that can
be restored if needed. This will also be useful in case of power failure
or other action that might cause a license to be consumed and not returned.
Launch program
@echo off
g:
cd \apps\firetech\nfcwin
cls
if "%1" == "icon" goto icon
if "%1" == "ICON" goto icon
echo:
echo: Please wait, loading National Fire Codes...
echo:
start bviews -c g:\apps\firetech\nfcuser\views.ini nfc.nfo
goto exit
:icon
copy "..\nfcuser\National Fire Codes.lnk" %userprofile%\desktop > nul
:exit
exit
Upgrade instructions
When a new rev comes out, do the following:
- go to /dos/nt/apps/firetech and rename nfcwin and nfcuser to something
else (as a backup in case something goes wrong).
- Install CD as above to nfcwin
- Install license diskette as above to nfcwin
- Run addicon in nfcwin and install to nfcuser
- change perms to public
- make backup of nfc.ldf file, then change nfc.ldf to world writable
User Run Instructions
Observations
- Requires a dongle. I should refuse on principal.
- Installs an "NT HASP Device Driver" probably cause of the dongle.
Device is named Haspnt and is installed to set to start "Automatic."
(Driver starts from config.nt file)
- Program won't run. Fails with "FLOW caused an illegal instruction
in module HASPMSW3.DLL at 0001:C36F"
- Even after giving my local account admin rights as a test, it still bombs out with same error as above, but at 0001:C3D9
- Oh boy, I then ran "Install Key Driver" and it says it installed the
HASP driver. But then when I ran the main program, my entire NT session
got a BSOD STOP error, PAGE_FAULT_IN_NONPAGED_AREA.
Install Instructions
Launch Program
Last page update: 07 July 1998
Official
URL for this page:
http://www.stanton.dtcc.edu/stanton/cs/admin/nt/notes/firetech.html
Page Maintained by: Ken
Weaverling