sereby.aio/CLIENT_DATA/cleanup3264.ins

279 lines
6.0 KiB
TeX

DefStringList $productProperty$
DefVar $reboot$
Set $reboot$ = "false"
if ($sereby_dotnet1.1$ = "uninstall")
Winbatch_dotnet1.1_uninstall
opsiservicecall_dotnet1.1_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet2.0$ = "uninstall")
Winbatch_dotnet2.0_uninstall
opsiservicecall_dotnet2.0_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet3.0$ = "uninstall")
Winbatch_dotnet3.0_uninstall
opsiservicecall_dotnet3.0_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet3.5$ = "uninstall")
Winbatch_dotnet3.5_uninstall
opsiservicecall_dotnet3.5_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet4.0$ = "uninstall")
Winbatch_dotnet4.0_uninstall
opsiservicecall_dotnet4.0_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet4.5$ = "uninstall")
Winbatch_dotnet4.5_uninstall
opsiservicecall_dotnet4.5_uninstall
Set $reboot$ = "true"
endif
; 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
if ($sereby_msjsharp$ = "uninstall")
Winbatch_msjsharp_uninstall
opsiservicecall_msjsharp_uninstall
Set $reboot$ = "true"
endif
if ($sereby_silver$ = "uninstall")
Winbatch_silver_uninstall
opsiservicecall_silver_uninstall
Set $reboot$ = "true"
endif
if ($sereby_jre$ = "uninstall")
Dosbatch_jre_uninstall
opsiservicecall_jre_uninstall
Set $reboot$ = "true"
endif
if ($sereby_AdobeShock$ = "uninstall")
Winbatch_AdobeShock_uninstall
opsiservicecall_AdobeShock_uninstall
Set $reboot$ = "true"
endif
if ($sereby_basicruntimes$ = "uninstall")
Winbatch_basicruntimes_uninstall
opsiservicecall_basicruntimes_uninstall
Set $reboot$ = "true"
endif
if ($sereby_msdx9$ = "uninstall")
Winbatch_msdx9_uninstall
opsiservicecall_msdx9_uninstall
Set $reboot$ = "true"
endif
if ($sereby_msdxm$ = "uninstall")
Winbatch_msdxm_uninstall
opsiservicecall_msdxm_uninstall
Set $reboot$ = "true"
endif
if ($sereby_msvc$ = "uninstall")
Winbatch_msvc_uninstall
opsiservicecall_msvc_uninstall
Set $reboot$ = "true"
endif
if ($sereby_AdobeFlash$ = "uninstall")
Winbatch_AdobeFlash_uninstall
opsiservicecall_AdobeFlash_uninstall
Set $reboot$ = "true"
endif
if ($sereby_java_reinstall$ = "true")
Dosbatch_java_reinstall
endif
; and the final reboot after the uninstall is done
if ($reboot$ = "true")
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"
[opsiservicecall_dotnet1.1_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet1.1",
"install",
"%opsiserviceUser%"
]
[Winbatch_dotnet2.0_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 2.0 /u"
[opsiservicecall_dotnet2.0_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet2.0",
"install",
"%opsiserviceUser%"
]
[Winbatch_dotnet3.0_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 3.0 /u"
[opsiservicecall_dotnet3.0_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet3.0",
"install",
"%opsiserviceUser%"
]
[Winbatch_dotnet3.5_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 3.5 /u"
[opsiservicecall_dotnet3.5_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet3.5",
"install",
"%opsiserviceUser%"
]
[Winbatch_dotnet4.0_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.0 /u"
[opsiservicecall_dotnet4.0_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet4.0",
"install",
"%opsiserviceUser%"
]
[Winbatch_dotnet4.5_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.5 /u"
[opsiservicecall_dotnet4.5_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet4.5",
"install",
"%opsiserviceUser%"
]
[Winbatch_msjsharp_uninstall]
[opsiservicecall_msjsharp_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msjsharp",
"install",
"%opsiserviceUser%"
]
[Winbatch_silver_uninstall]
[opsiservicecall_silver_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_silver",
"install",
"%opsiserviceUser%"
]
[DosBatch_jre_uninstall]
@echo off
rem copy "%ScriptPath%\UnInstall\Package\JRE\JavaRa.*" "$LogDir$\"
rem $LogDir$\JavaRa.exe /SILENT /PURGE /UPDATEDEFS
cscript /nologo "%ScriptPath%\UnInstall\Package\JRE\JavaUninstallScript.vbs" /keeponly
[opsiservicecall_jre_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_jre",
"install",
"%opsiserviceUser%"
]
[Dosbatch_java_reinstall]
@echo off
cscript /nologo "%ScriptPath%\UnInstall\Packages\JRE\JavaUninstallScript.vbs" /keeponly
[Winbatch_AdobeShock_uninstall]
[opsiservicecall_AdobeShock_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_AdobeShock",
"install",
"%opsiserviceUser%"
]
[Winbatch_basicruntimes_uninstall]
[opsiservicecall_basicruntimes_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_basicruntimes",
"install",
"%opsiserviceUser%"
]
[Winbatch_msdx9_uninstall]
[opsiservicecall_msdx9_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msdx9",
"install",
"%opsiserviceUser%"
]
[Winbatch_msdxm_uninstall]
[opsiservicecall_msdxm_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msdxm",
"install",
"%opsiserviceUser%"
]
[Winbatch_msvc_uninstall]
[opsiservicecall_msvc_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msvc",
"install",
"%opsiserviceUser%"
]
[Winbatch_AdobeFlash_uninstall]
$UninstallFlashExe$ -uninstall
[opsiservicecall_AdobeFlash_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_AdobeFlash",
"install",
"%opsiserviceUser%"
]