.com Solutions Inc. - Logo  
support header buttons
.
FmPro Script Diffbullet 7f FmPro Migrator bullet 7f CGIScripter
.
.
.
. .

 

 


.

. .

 

...
.

support how to title image

hline f image

How to change the file generation process [Enterprise Edition].

Prior to generating output files, the graphical interface application will check for a file named installgen_win_custom.pm or installgen_sol_custom.pm located within the directory where it has been installed. If this file is found, it will be copied to the destination directory and executed along with the other Perl programs which are used to generate output files.

There are two subroutines from the installgen_custom.pm Perl module which are exported for use by the main Perl program.

The before_script_generation() subroutine runs after the configuration parameters have been read from the installgen_conf.pm file, but prior to the 1st output file being generated.
Adding code to this subroutine can affect globally used configuration variables, which will be used throughout the file generation process.

The after_script_generation() subroutine runs after all of the output files have been generated. This subroutine provides a convenient location for DBAs to more fully customize any of the output files which have already been generated. The recommended process to follow is to look at the Perl source code which gets written to the disk during the file generation process. Each output file is created with a corresponding subroutine which is called from the appropriate installgen_windows.pl, installgen_solaris.pl etc Perl program file. Find and copy the subroutine which generates the file you want to change. Past this code into the installgen_custom.pm file, and place a call to this subroutine into the after_script_generation() subroutine. Modify the subroutine as needed to make your custom changes to the output file.

If you allow the subroutine to use the default filename ($filename1, $filename2 etc), then your customized version of the output file will replace the standard version of the file.

If you want to create a brand new output file, just provide a filename which differs from any of the existing output files.

hline f image

hline

. .

.

. .

 

 

 

Home | Products | Services | Downloads | Order | Support | Contact

Legal Notices

.
.   .
.
Home Products Services Downloads Order Support Contact