Code

source: openvpn.manager/CLIENT_DATA/uninstall32.ins @ 822551

Revision 822551, 1.6 KB checked in by geos_one, 7 years ago (diff)

Intial Commit

  • Property mode set to 100644
Line 
1; Copyright (c) uib gmbh (www.uib.de)
2; This sourcecode is owned by uib gmbh
3; and published under the Terms of the General Public License.
4; credits: http://www.opsi.org/en/credits/
5
6[Actions]
7requiredWinstVersion >= "4.11.2.6"
8
9DefVar $UninstallProgram$
10DefVar $UninstallProgramOld$
11DefVar $IniFile$
12DefVar $IniCfgFile$
13DefVar $LogDir$
14DefVar $ExitCode$
15DefVar $ProductId$
16DefVar $InstallDir$
17DefVar $OLD_VERSION$
18DefVar $OLD_CREATOR_TAG$
19DefVar $OLD_RELEASE$
20
21Set $LogDir$ = "%SystemDrive%\tmp"
22
23; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
24; and adds the following variables:
25;   from builder-product.cfg :  all variables definded by attribute WINST[index]
26;   from builder-product.cfg :  VENDOR PN VERSION RELEASE PRIORITY ADVICE TYPE   
27;   from opsi-builder.cfg    :  CREATOR_TAG CREATOR_NAME CREATOR_EMAIL           
28;   auto generated winst-variables
29;         $IconFile$: path to product picture
30;
31@@BUILDER_VARIABLES@@
32
33; ----------------------------------------------------------------
34; - Please edit the following values                             -
35; ----------------------------------------------------------------
36Set $InstallDir$      = "%ProgramFiles32Dir%\OpenVPN Manager"
37; ----------------------------------------------------------------
38
39Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
40
41comment "Show product picture"
42ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
43
44Message "Uninstalling " + $ProductId$ + " ..."
45
46if FileExists("%ScriptPath%\delsub32.ins")
47        comment "Start uninstall sub section"
48        Sub "%ScriptPath%\delsub32.ins"
49endif
50
Note: See TracBrowser for help on using the repository browser.