Code

source: microsoft.securityessentials/CLIENT_DATA/uninstall3264.ins @ 3ae8cc

Revision 3ae8cc, 2.0 KB checked in by geos_one, 5 years ago (diff)

Reboot required

  • Property mode set to 100644
RevLine 
[8f4557]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$
[3ae8cc]28DefVar $Reboot$
[8f4557]29
30Set $INST_SystemType$ = GetSystemType
31set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
32
33Set $LogDir$ = "%SystemDrive%\tmp"
34
35; The token BUILDER_VARIABLES will be replaced by opsi-builder.sh
36; and adds the following variables:
37;   from builder-product.cfg :  all variables definded by attribute WINST[index]
38;   from builder-product.cfg :  VENDOR PN VERSION RELEASE PRIORITY ADVICE TYPE   
39;   from opsi-builder.cfg    :  CREATOR_TAG CREATOR_NAME CREATOR_EMAIL           
40;   auto generated winst-variables
41;         $IconFile$: path to product picture
42;
43@@BUILDER_VARIABLES@@
44
45; ----------------------------------------------------------------
46; - Please edit the following values                             -
47; ----------------------------------------------------------------
[6708cf]48Set $InstallDir32$    = "%ProgramFiles32Dir%\Microsoft Security Client"
49Set $InstallDir64$    = "%ProgramFiles64Dir%\Microsoft Security Client"
[8f4557]50; ----------------------------------------------------------------
51
52Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
53
54comment "Show product picture"
55ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $NAME$
56
57Message "Uninstalling " + $ProductId$ + " ..."
58
59if FileExists("%ScriptPath%\delsub3264.ins")
60        comment "Start uninstall sub section"
61        Sub "%ScriptPath%\delsub3264.ins"
62endif
63
Note: See TracBrowser for help on using the repository browser.