Contents Index Previous Chapter Next Chapter


Setup Program

This allows you to create an install package for quick delivery to your second machine

Setup



To Top Source Drive

The Source Drive Is Where The Files Are Located For The Installation.
This could be a series of diskettes, a network drive or a CD Rom


To Top Target Drive

This Is The Directory On Your Personal Computer Where The Software Is To Be Installed.
Should You Change The Target Drive Please Name It In Accordance With Proper Convertions.
The Target Drive Is The Working Directory Of The Application.
We would prefer that you use the default as it makes future support consistant


To Top Folder Title

This Is The Name Given To The Start Menu Selection.
See Start and Programs On Your Workstation.


To Top DeskTop Title

The Setup program places an icon on your desktop.
This is the name of that icon.


To Top Install Button

In This Version Of Setup once the Install Button Has Been Pressed The Installation Cannot Be Cancelled.


To Top Setup.ini

[Settings] Two Basic Rules Of Installation
PackSize Allows The Completed Indicator To Calculate Percentage
Target User Selectable Install Directory
[Desktop] Short Cut Details
File Program
Title Identification Of File
[Folder] Details Of Programs Entry
Title What Is It Called
File1 Proper Name Of File In Folder
FileN As Many Files As You Want
Title1 Description Of File
TitleN As Many Descriptions As You Want
[Registry] HKEY_LOCAL_MACHINE/SOFTWARE
Title Key Name Under Software
Title1 Name To Appear In Registry
Value1 A Number Or String (without quotes)
Type1 Must be REG_SZ or REG_DWORD
TitleN As Many As You Want
ValueN As Many As You Want
TypeN As Many As You Want

[Settings]
; The PackSize Can Be Calculated By dir *.*_
PackSize=4242000
Target=C:\Program Files\Nymex\Access
[Desktop]
File=ETS.EXE
Title=Nymex Energy Trading
[Folder]
Title=Energy Trading System
File1=ETS.EXE
File2=ETS.HLP
Title1=Nymex Energy Trading
Title2=Nymex Energy Trading Help
[Registry]
Title=NYMEX\ACCESS\2.0
Title1=TimeZone
Value1=EST
Type1=REG_SZ
Title2=HostName
Value2=unix_server
Type2=REG_SZ
Title3=PortNumber
Value3=5775
Type3=REG_DWORD
Title4=DirectConnection
Value4=0
Type4=REG_DWORD
Title5=SpreadReportingOn
Value5=1
Type5=REG_DWORD


To Top Press Log Files

This Is The File PRESS001.LOG
ets.ex_ ets.exe 1
terminate.ex_ terminate.exe 1
prsinterface.ex_ prsinterface.exe 1
bointerface.ex_ bointerface.exe 1
msggen.ex_ msggen.exe 1
c21.ex_ c21.exe 1
og61as.dl_ og61as.dll 1
Tools.dl_ Tools.dll 1
rbclient.dl_ rbclient.dll 1
etsapi.dl_ etsapi.dll 1
ets.hl_ ets.hlp 1
ets.cn_ ets.cnt 1
tips.tx_ tips.txt 1
rbclient.liv_ rbclient.live 1
TestHarness.ex_ TestHarness.exe 1
data_des_ data_desc 1
_PRESS002.LOG
This Is The File PRESS002.LOG
chimeup.wa_ chimeup.wav 1
cowbell.wa_ cowbell.wav 1
_PRESS003.LOG
This Is The File PRESS003.LOG
MSVCRT40.DL_ MSVCRT40.DLL 3
MFC42.DL_ MFC42.DLL 3
MSVCRT.DL_ MSVCRT.DLL 3
MSVCIRT.DL_ MSVCIRT.DLL 3
_FINISH
These Are Created By The Batch File Builder.

They Take The Form Compressed Expanded Rule
  • Where Rule 1 Means Installation Directory
  • Where Rule 3 Means Windows System Directory

  • Note That The Last Line Of Each File Names The Next File
    It is the leading underscore that tells Setup.Exe that there is no more to read.
    Comments could effectively follow this line


    To Top Compress Binary

    This File Compress.Exe Must Be Available To Perform The Compression Of The Files.
    It Has Actually Been Put Into Microsoft Visual Source Safe So Remember To Check The File Out.


    To Top Batch File Builder

    This File is stored in Razor but you must have your machine set up to match the entries in the file.
    As a developer you should run the file C:\ETS\SETUP\FETCHNR.BAT
    See the file BUILD.BAT that you should change to reflect your personal settings
    With the arguments drive [n:] and subdirectory [myname]
    Which Will Create The Shippable Files In the directory of \\asoa0004\access\etsship\myname
    Note that the LOG Files must be called PRESSnnn.LOG
    Setup.Exe Does Not Understand PRESS1.LOG

    mkdir %1\etsship\%2%
    copy c:\ets\setup\release\setup.exe %1\etsship\%2%
    copy c:\ets\setup\setup.ini %1\etsship\%2%
    c:\ets\setup\compress c:\ets\gui\release\ets.exe %1\etsship\%2\ets.ex_
    echo ets.ex_ ets.exe 1 >%1\etsship\%2\PRESS001.LOG
    c:\ets\setup\compress c:\ets\data\data_desc. %1\etsship\%2\data_des_
    echo data_des_ data_desc 1 >>%1\etsship\%2\PRESS001.LOG
    c:\ets\setup\compress c:\ets\data\terminate.exe %1\etsship\%2\terminate.ex_
    echo terminate.ex_ terminate.exe 1 >>%1\etsship\%2\PRESS001.LOG

    c:
    cd\program files
    cd devstudio
    cd visual c
    cd og601
    cd lib
    c:\ets\setup\compress og61as.dll %1\etsship\%2\og61as.dl_
    cd\ets
    s:
    cd\etscode\%1%
    echo og61as.dl_ og61as.dll 1 >>%1\etsship\%2\PRESS001.LOG
    c:\ets\setup\compress c:\ets\data\Tools.dll %1\etsship\%2\Tools.dl_
    echo Tools.dl_ Tools.dll 1 >>%1\etsship\%2\PRESS001.LOG
    c:\ets\setup\compress c:\ets\data\rbclient.dll %1\etsship\%2\rbclient.dl_
    echo rbclient.dl_ rbclient.dll 1 >>%1\etsship\%2\PRESS001.LOG
    c:\ets\setup\compress c:\ets\data\etsapi.dll %1\etsship\%2\etsapi.dl_
    echo etsapi.dl_ etsapi.dll 1 >>%1\etsship\%2\PRESS001.LOG
    c:\ets\setup\compress c:\ets\gui\release\ets.HLP %1\etsship\%2\ets.HL_
    echo ets.hl_ ets.hlp 1 >>%1\etsship\%2\PRESS001.LOG
    c:\ets\setup\compress c:\ets\gui\release\ets.cnt %1\etsship\%2\ets.cn_
    echo ets.cn_ ets.cnt 1 >>%1\etsship\%2\PRESS001.LOG
    c:\ets\setup\compress c:\ets\data\TIPS.TXT %1\etsship\%2\TIPS.TX_
    echo tips.tx_ tips.txt 1 >>%1\etsship\%2\PRESS001.LOG
    c:\ets\setup\compress c:\ets\data\rbclient.live %1\etsship\%2\rbclient.liv_
    echo rbclient.liv_ rbclient.live 1 >>%1\etsship\%2\PRESS001.LOG

    echo _PRESS002.LOG>>%1\etsship\%2\PRESS001.LOG

    c:\ets\setup\compress c:\ets\data\chimeup.wav %1\etsship\%2\chimeup.wa_
    echo chimeup.wa_ chimeup.wav 1 >%1\etsship\%2\PRESS002.LOG
    c:\ets\setup\compress c:\ets\data\cowbell.wav %1\etsship\%2\cowbell.wa_
    echo cowbell.wa_ cowbell.wav 1 >>%1\etsship\%2\PRESS002.LOG

    echo _PRESS003.LOG>>%1\etsship\%2\PRESS002.LOG

    c:\ets\setup\compress C:\WINNT\system32\MFC42.DLL %1\etsship\%2\MFC42.DL_
    echo MFC42.DL_ MFC42.DLL 3 >>%1\etsship\%2\PRESS003.LOG

    echo _FINISH>>%1\etsship\%2\PRESS003.LOG

    Notice that the compress file creates the packed file
    and that the batch file via echo writes information into the log file(s).

    Future Releases will probably just involve copying the files in an uncompressed format
    to a shipping directory for SMS. The file list can be found in
    C:\ETS\SETUP\FETCHNR.BAT


    To Top Features

    The Application can be run from a command line prompt with Setup.Exe -a
    This will install the application according to the rules in Setup.ini without any user iteraction
    To install the program via diskette

  • you must place on the first diskette

  • Setup.Exe
    Setup.Ini
    PRESS001.LOG
    And The Contents of PRESS001.LOG
  • you must place on the second diskette

  • PRESS002.LOG
    And The Contents of PRESS002.LOG
  • you must place on the third diskette

  • PRESS003.LOG
    And The Contents of PRESS003.LOG

    And So On.

    Contents Index Previous Chapter Next Chapter To Top


    © 2001 by Montego Data Limited® All rights reserved.