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