Creating Front End Install Pack


 

Background and requirements

 

This document assumes a higher level of understanding of InstallShield Express 3.0 than the Country Specific Install Packs due to the need to install software to multiple directories. For more background information please consult the InstallShield Express manual.

 

In order to modify the CRIS Front end Install Pack you will require the following:

1.       Windows 98, NT or 2000,

2.       InstallShield Express 3.03 or later installed,

3.       The InstallShield file that describes the install pack: CRIS_Frontend.ism

4.       Access 2000.

 

The CRIS Frontend Install pack installs files in two separate target directories:

1.       The install directory selected by the user – normally something like:

C:\Program Files\CRIS; and

2.       The ArcView extensions directory – normally something like:

C:\ESRI\AV_GIS30\ARCVIEW\EXT32

 

In order to automatically determine the location of the ArcView extension directory the install pack uses a feature of InstallShield Express 3.03 that allows an install directory to be specified by a registry entry. Unfortunately, ESRI install packs do not create a registry entry that directly points to the extension directory. In order to create this registry entry a program is run prior to the main install (Setup.exe) which creates this and then runs the main install pack – the starting point of which is renamed to Setup2.exe.

 

The new registry entry that is created is:

 

HKEY_LOCAL_MACHINE\SOFTWARE\ESRI\ArcView GIS Version 3.0\Current Version\
ExtensionPath

In order to meet the requirements of InstallShield the [INSTALLDIR] is the location to which the extension is copied and [DATABASEDIR] is the location to which the other software components are copied.

 

Components of the Install Image

 

The install image that you finally copy to CD is composed of the following components:

1.       Files created by InstallShield:

2.       Files supplied with the install pack:

 

Organizing your hard drive

 

The sources for various files used by InstallShield are included in the .ISM file with their full path names. This means it is easiest to modify the install pack if you reproduce a standard file structure on your hard drive. This file structure should be as follows for the front end install:

1.       The basic CRIS directory organized as you would normally expect it to be installed on the end user computer. You will get this if you start from a standard front end install and select the default installation directory: C:\Program Files\CRIS

2.       A directory called C:\CRISInstallImage where InstallShield will distribute its results and where you can copy the other components of the image (Setup.exe) prior to burning CDs.

3.       A directory containing the CRIS_Frontend.ism file(s). InstallShield Express will build a set of working sub-directories below this directory.

 

 

Rebuilding Install Packs with updated files

 

In order to rebuild a fresh install pack with updated files (.mdb or .avx files for example) do the following:

1.       Set up your hard drive as described above with the new files in place.

2.       Run InstallShield Express and load the CRIS_Frontend.ism file.

3.       On the main menu select “Build | Build CD-ROM”.

4.       When InstallShield finishes building select “Go | Distribute your release” from the main menu.

5.       Rename the file Setup.exe to Setup2.exe in the c:\CRISInstallimage directory.

6.       Copy the Setup.exe  file to the c:\CRISInstallimage directory as described above.

7.       Copy all the files and directories in c:\CRISInstallImage to a CD or put them into a zip or self extracting zip depending on how you want to deliver them.

8.       Test the install pack on a number of different computers in different configurations to ensure it works.

 


Topics      Steps      System Manual Home      CPACC Home

Questions or problems regarding this web site should be directed to [email protected].
Last modified: July 13, 2001