2013-04-01 10:30:15 +02:00
|
|
|
DefStringList $productProperty$
|
|
|
|
|
|
|
|
DefVar $reboot$
|
|
|
|
Set $reboot$ = "false"
|
|
|
|
|
|
|
|
if ($sereby_dotnet1.1$ = "uninstall")
|
|
|
|
Winbatch_dotnet1.1_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_dotnet1.1_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_dotnet2.0$ = "uninstall")
|
|
|
|
Winbatch_dotnet2.0_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_dotnet2.0_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_dotnet3.0$ = "uninstall")
|
|
|
|
Winbatch_dotnet3.0_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_dotnet3.0_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_dotnet3.5$ = "uninstall")
|
|
|
|
Winbatch_dotnet3.5_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_dotnet3.5_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_dotnet4.0$ = "uninstall")
|
|
|
|
Winbatch_dotnet4.0_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_dotnet4.0_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_dotnet4.5$ = "uninstall")
|
|
|
|
Winbatch_dotnet4.5_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_dotnet4.5_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
2013-04-01 17:38:49 +02:00
|
|
|
|
|
|
|
; a reboot is requred after the .net cleanup so that further uninstalls can work
|
|
|
|
if ($reboot$ = "true")
|
|
|
|
comment "uninstall done now force Reboot"
|
|
|
|
ExitWindows /ImmediateReboot
|
|
|
|
endif
|
|
|
|
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($sereby_msjsharp$ = "uninstall")
|
|
|
|
Winbatch_msjsharp_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_msjsharp_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_silver$ = "uninstall")
|
|
|
|
Winbatch_silver_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_silver_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_jre$ = "uninstall")
|
|
|
|
Dosbatch_jre_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_jre_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_AdobeShock$ = "uninstall")
|
|
|
|
Winbatch_AdobeShock_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_AdobeShock_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_basicruntimes$ = "uninstall")
|
|
|
|
Winbatch_basicruntimes_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_basicruntimes_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_msdx9$ = "uninstall")
|
|
|
|
Winbatch_msdx9_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_msdx9_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_msdxm$ = "uninstall")
|
|
|
|
Winbatch_msdxm_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_msdxm_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_msvc$ = "uninstall")
|
|
|
|
Winbatch_msvc_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_msvc_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_AdobeFlash$ = "uninstall")
|
|
|
|
Winbatch_AdobeFlash_uninstall
|
2013-04-01 14:49:25 +02:00
|
|
|
opsiservicecall_AdobeFlash_uninstall
|
2013-04-01 10:30:15 +02:00
|
|
|
Set $reboot$ = "true"
|
|
|
|
endif
|
|
|
|
if ($sereby_java_reinstall$ = "true")
|
|
|
|
Dosbatch_java_reinstall
|
|
|
|
endif
|
2013-03-17 21:43:45 +01:00
|
|
|
|
2013-04-01 17:38:49 +02:00
|
|
|
; and the final reboot after the uninstall is done
|
2013-04-01 10:30:15 +02:00
|
|
|
if ($reboot$ = "true")
|
2013-03-17 21:43:45 +01:00
|
|
|
comment "uninstall done now force Reboot"
|
|
|
|
ExitWindows /ImmediateReboot
|
|
|
|
endif
|
|
|
|
|
|
|
|
[Winbatch_dotnet1.1_uninstall]
|
|
|
|
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 1.1 /u"
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_dotnet1.1_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_dotnet1.1",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_dotnet2.0_uninstall]
|
|
|
|
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 2.0 /u"
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_dotnet2.0_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_dotnet2.0",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_dotnet3.0_uninstall]
|
|
|
|
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 3.0 /u"
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_dotnet3.0_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_dotnet3.0",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_dotnet3.5_uninstall]
|
|
|
|
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 3.5 /u"
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_dotnet3.5_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_dotnet3.5",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_dotnet4.0_uninstall]
|
|
|
|
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.0 /u"
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_dotnet4.0_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_dotnet4.0",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_dotnet4.5_uninstall]
|
|
|
|
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.5 /u"
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_dotnet4.5_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_dotnet4.5",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_msjsharp_uninstall]
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_msjsharp_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_msjsharp",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_silver_uninstall]
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_silver_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_silver",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-04-01 10:30:15 +02:00
|
|
|
[DosBatch_jre_uninstall]
|
|
|
|
@echo off
|
2013-04-01 17:38:49 +02:00
|
|
|
rem copy "%ScriptPath%\UnInstall\Package\JRE\JavaRa.*" "$LogDir$\"
|
|
|
|
rem $LogDir$\JavaRa.exe /SILENT /PURGE /UPDATEDEFS
|
2013-03-17 21:43:45 +01:00
|
|
|
cscript /nologo "%ScriptPath%\UnInstall\Package\JRE\JavaUninstallScript.vbs" /keeponly
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_jre_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_jre",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-04-01 10:30:15 +02:00
|
|
|
[Dosbatch_java_reinstall]
|
|
|
|
@echo off
|
|
|
|
cscript /nologo "%ScriptPath%\UnInstall\Packages\JRE\JavaUninstallScript.vbs" /keeponly
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_AdobeShock_uninstall]
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_AdobeShock_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_AdobeShock",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_basicruntimes_uninstall]
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_basicruntimes_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_basicruntimes",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_msdx9_uninstall]
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_msdx9_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_msdx9",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_msdxm_uninstall]
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_msdxm_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_msdxm",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_msvc_uninstall]
|
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_msvc_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_msvc",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
|
|
|
|
2013-03-17 21:43:45 +01:00
|
|
|
[Winbatch_AdobeFlash_uninstall]
|
2013-04-01 17:38:49 +02:00
|
|
|
$UninstallFlashExe$ -uninstall
|
2013-03-17 21:43:45 +01:00
|
|
|
|
2013-04-01 14:49:25 +02:00
|
|
|
[opsiservicecall_AdobeFlash_uninstall]
|
|
|
|
"method": "setProductProperty"
|
|
|
|
"params": [
|
|
|
|
"$ProductId$",
|
|
|
|
"sereby_AdobeFlash",
|
2013-04-01 17:38:49 +02:00
|
|
|
"install",
|
2013-04-01 14:49:25 +02:00
|
|
|
"%opsiserviceUser%"
|
|
|
|
]
|
2013-03-17 21:43:45 +01:00
|
|
|
|
|
|
|
|