Code

source: microsoft.securityessentials/CLIENT_DATA/uninstall3264.ins @ 8f4557

Revision 8f4557, 2.0 KB checked in by geos_one, 5 years ago (diff)

Initial 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 $UninstallProg32$
10DefVar $UninstallProgram32$
11DefVar $UninstallProgramOld32$
12DefVar $IniFile32$
13DefVar $UninstallProg64$
14DefVar $UninstallProgram64$
15DefVar $UninstallProgramOld64$
16DefVar $IniFile64$
17DefVar $IniCfgFile$
18DefVar $LogDir$
19DefVar $ExitCode$
20DefVar $ProductId$
21DefVar $InstallDir32$
22DefVar $InstallDir64$
23DefVar $INST_SystemType$
24DefVar $INST_architecture$
25DefVar $OLD_VERSION$
26DefVar $OLD_CREATOR_TAG$
27DefVar $OLD_RELEASE$
28
29Set $INST_SystemType$ = GetSystemType
30set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
31
32Set $LogDir$ = "%SystemDrive%\tmp"
33
34; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
35; and adds the following variables:
36;   from builder-product.cfg :  all variables definded by attribute WINST[index]
37;   from builder-product.cfg :  VENDOR PN VERSION RELEASE PRIORITY ADVICE TYPE   
38;   from opsi-builder.cfg    :  CREATOR_TAG CREATOR_NAME CREATOR_EMAIL           
39;   auto generated winst-variables
40;         $IconFile$: path to product picture
41;
42@@BUILDER_VARIABLES@@
43
44; ----------------------------------------------------------------
45; - Please edit the following values                             -
46; ----------------------------------------------------------------
47Set $InstallDir32$    = "%ProgramFiles32Dir%\Security Essentials"
48Set $InstallDir64$    = "%ProgramFiles64Dir%\Security Essentials"
49; ----------------------------------------------------------------
50
51Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
52
53comment "Show product picture"
54ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
55
56Message "Uninstalling " + $ProductId$ + " ..."
57
58if FileExists("%ScriptPath%\delsub3264.ins")
59        comment "Start uninstall sub section"
60        Sub "%ScriptPath%\delsub3264.ins"
61endif
62
Note: See TracBrowser for help on using the repository browser.