The InstaFox Wizard Table Structures


All of the information gathered by running the InstaFox Wizard is stored in VFP tables. If you really want, you could forgo using the Wizard and enter the installation data directly into the tables. This section describes the tables and their corresponding Wizard form(s).

Table 1. The structure of WZ_SYS

Field Name

Type

Width

Description

Wizard Form

SYS_APPNAME

C

128

Name of the application

Step 1

SYS_EXENAME

C

128

Name of the main EXE for the application

Step 1

SYS_SEARCHFORAPP

L

1

Search for application

Step 1

SYS_DEFAULTAPPPATH

C

128

Default installation path

Step 1

SYS_SCREENCOLOR

N

10

Installer background screen color

Step 1

SYS_SCREENIMAGE

C

128

Name of the installation image file

Step 2

SYS_SCREENTEXTCOLOR

N

10

Installer background screen text color

Step 1

SYS_DATAFOLDERNAME

C

128

Name of the data folder

Step 2

SYS_LICENSEFILE

C

128

Name of the license file

Step 2

SYS_VERSION

C

25

Version number of the application installing

Step 2

SYS_POSTSETUPEXE

C

128

Name of the postinstallation EXE

Step 2

SYS_UPDATENOTIFY

L

1

Notify user if existing application is found

Step 3

SYS_ICONFILE

C

128

Name of the icon file associated with the application

Step 3

SYS_APPNAMEINREGISTRY

C

128

Registry application name

Step 3

SYS_APPPATHINREGISTRY

C

254

Registry value for the path to the application

Step 3

SYS_CONTACTNAME

C

75

Contact name

Step 5

SYS_CONTACTADDRESS1

C

75

Contact address 1

Step 5

SYS_CONTACTADDRESS2

C

75

Contact address 2

Step 5

SYS_CONTACTCITY

C

30

Contact city

Step 5

SYS_CONTACTSTATE

C

2

Contact state

Step 5

SYS_CONTACTZIP

C

10

Contact zip

Step 5

SYS_CONTACTCOUNTRY

C

25

Contact country

Step 5

SYS_CONTACTPHONE

C

20

Contact phone

Step 5

SYS_CONTACTEMAIL

C

75

Contact E-mail address

Step 5

SYS_CONTACTWEB

C

75

Contact web address

Step 5

Table 2. The structure of WZ_REG

Field Name

Type

Width

Description

Wizard Form

REG_REGISTRYKEY

C

128

alltrim(reg_keyname) + " = " +
alltrim(reg_keyvalue)

Step 4

REG_KEYNAME

C

128

Registry Key Name

Step 4

REG_KEYVALUE

C

128

Registry Key Value

Step 4

Table 3. The structure of WZ_UPD

Field Name

Type

Width

Description

Wizard Form

UPD_UPDATE

C

128

Table name to update

Step 6

UPD_OVERWRITE

L

1

Overwrite existing table with new table

Step 6

Table 4. The structure of WZ_REM

Field Name

Type

Width

Description

Wizard Form

REM_REMOVE

C

128

Name of file to remove

Step 7

Table 5. The structure of WZ_INS

Field Name

Type

Width

Description

Wizard Form

INS_INSTALL

C

239

Concatenated ins_directory and ins_file fields

Step 8

INS_REGISTER

L

1

Run Regsrv32.dll on this file

Step 8

INS_VERSIONCONTROL

L

1

Run a version check on this file

Step 8

INS_SORT

C

1

Used internally by the wizard to sort the list of files to install by folder name and file name. The field is not used by the installer, so if you make the table manually, the field can be ignored.

Step 8

INS_DIRECTORY

C

225

File location (blank, {windir}, {winsysdir}

Step 8

INS_FILE

C

225

Name of the file to install

Step 8


Figure 13. Sample of WZ_INS.DBF

After setting up the installation folder structure, copying the required files into the appropriate folders, and running the InstaFox Wizard or entering the data directly into the tables, all that ‚ s left to do is install the application. Of course, if you are creating installation CDs you need to fire up the CD burner and burn baby burn ‚ the installation CDs, that is.




Deploying Visual FoxPro Solutions
Deploying Visual FoxPro Solutions
ISBN: 1930919328
EAN: 2147483647
Year: 2004
Pages: 232

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net