| 1530 |
dpurdie |
1 |
///////////////////////////////////////////////////////////////////////////////
|
|
|
2 |
//
|
|
|
3 |
// ###### ##### ####
|
|
|
4 |
// # # # # #
|
|
|
5 |
// ##### # # #
|
|
|
6 |
// # ##### # ###
|
|
|
7 |
// # # # # #
|
|
|
8 |
// ###### # # ####
|
|
|
9 |
//
|
|
|
10 |
//
|
|
|
11 |
// File Name : preinstall.rul
|
|
|
12 |
// Description : InstallShield script
|
|
|
13 |
// Comments : The functions involved with modification to system files.
|
|
|
14 |
//
|
|
|
15 |
////////////////////////////////////////////////////////////////////////////////
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
///////////////////////////////////////////////////////////////////////////////
|
|
|
19 |
//
|
|
|
20 |
// Function: preinstall.rul
|
|
|
21 |
//
|
|
|
22 |
// Purpose: Add all configuration data to the properties files supplied.
|
|
|
23 |
// General purpose function, calls specific functions to reduce code.
|
|
|
24 |
//
|
|
|
25 |
///////////////////////////////////////////////////////////////////////////////
|
|
|
26 |
export prototype preinstall();
|
|
|
27 |
|
|
|
28 |
function preinstall()
|
|
|
29 |
begin
|
|
|
30 |
|
|
|
31 |
//MessageBox("preinstall() executing.", INFORMATION);
|
|
|
32 |
|
|
|
33 |
// lets install our patch.
|
|
|
34 |
//
|
|
|
35 |
if ( islib_patchPreInstall() < 0 )
|
|
|
36 |
then
|
|
|
37 |
|
|
|
38 |
MessageBox("Patch preinstall encountered severe errors." +
|
|
|
39 |
"\n\nInstallation will abort.", SEVERE);
|
|
|
40 |
abort;
|
|
|
41 |
|
|
|
42 |
endif;
|
|
|
43 |
|
|
|
44 |
end;
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|