sereby.aio/CLIENT_DATA/cleanup3264.ins

578 lines
13 KiB
Plaintext
Raw Normal View History

DefVar $reboot$
Set $reboot$ = "false"
2014-05-11 13:39:38 +02:00
if ($sereby_dotnet4.5$ = "reinstall")
Winbatch_dotnet4.5_uninstall
opsiservicecall_dotnet4.5_reinstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet4.5$ = "uninstall")
2014-05-11 13:39:38 +02:00
Winbatch_dotnet4.5_uninstall
opsiservicecall_dotnet4.5_uninstall
Set $reboot$ = "true"
endif
2015-07-24 13:57:53 +02:00
if ($sereby_dotnet4.6$ = "reinstall")
Winbatch_dotnet4.6_uninstall
opsiservicecall_dotnet4.6_reinstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet4.6$ = "uninstall")
Winbatch_dotnet4.6_uninstall
opsiservicecall_dotnet4.6_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
2013-04-04 07:15:53 +02:00
if ($sereby_msjsharp$ = "reinstall")
Dosbatch_msjsharp_uninstall
opsiservicecall_msjsharp_reinstall
Set $reboot$ = "true"
endif
if ($sereby_msjsharp$ = "uninstall")
2013-09-14 15:40:44 +02:00
Dosbatch_msjsharp_uninstall
opsiservicecall_msjsharp_uninstall
Set $reboot$ = "true"
endif
if ($sereby_msfsharp$ = "reinstall")
Dosbatch_msfsharp_uninstall
opsiservicecall_msfsharp_reinstall
Set $reboot$ = "true"
endif
if ($sereby_msfsharp$ = "uninstall")
2013-09-14 15:40:44 +02:00
Dosbatch_msfsharp_uninstall
opsiservicecall_msfsharp_uninstall
Set $reboot$ = "true"
endif
2013-04-04 07:15:53 +02:00
if ($sereby_silver$ = "reinstall")
Dosbatch_silver_uninstall
opsiservicecall_silver_reinstall
Set $reboot$ = "true"
endif
if ($sereby_silver$ = "uninstall")
2013-09-14 15:40:44 +02:00
Dosbatch_silver_uninstall
opsiservicecall_silver_uninstall
Set $reboot$ = "true"
endif
2014-04-12 17:20:06 +02:00
if ($sereby_jre7$ = "reinstall")
Dosbatch_jre7_uninstall
opsiservicecall_jre7_reinstall
Set $reboot$ = "true"
endif
if ($sereby_jre7$ = "uninstall")
2014-04-12 17:21:51 +02:00
Dosbatch_jre7_uninstall
2014-04-12 17:20:06 +02:00
opsiservicecall_jre7_uninstall
Set $reboot$ = "true"
endif
if ($sereby_jre8$ = "reinstall")
Dosbatch_jre8_uninstall
opsiservicecall_jre8_reinstall
Set $reboot$ = "true"
endif
if ($sereby_jre8$ = "uninstall")
2014-04-12 17:21:51 +02:00
Dosbatch_jre8_uninstall
2014-04-12 17:20:06 +02:00
opsiservicecall_jre8_uninstall
Set $reboot$ = "true"
endif
2013-04-04 07:15:53 +02:00
if ($sereby_AdobeShock$ = "reinstall")
Dosbatch_AdobeShock_uninstall
opsiservicecall_AdobeShock_reinstall
Set $reboot$ = "true"
endif
if ($sereby_AdobeShock$ = "uninstall")
2013-09-14 15:40:44 +02:00
Dosbatch_AdobeShock_uninstall
opsiservicecall_AdobeShock_uninstall
Set $reboot$ = "true"
endif
2013-04-04 07:15:53 +02:00
if ($sereby_basicruntimes$ = "reinstall")
Dosbatch_basicruntimes_uninstall
opsiservicecall_basicruntimes_reinstall
Set $reboot$ = "true"
endif
if ($sereby_basicruntimes$ = "uninstall")
2013-09-14 15:40:44 +02:00
Dosbatch_basicruntimes_uninstall
opsiservicecall_basicruntimes_uninstall
Set $reboot$ = "true"
endif
2013-04-04 07:15:53 +02:00
if ($sereby_msdx9$ = "reinstall")
Dosbatch_msdx9_uninstall
opsiservicecall_msdx9_reinstall
Set $reboot$ = "true"
endif
if ($sereby_msdx9$ = "uninstall")
2013-09-14 15:40:44 +02:00
Dosbatch_msdx9_uninstall
opsiservicecall_msdx9_uninstall
Set $reboot$ = "true"
endif
2013-04-04 07:15:53 +02:00
if ($sereby_msvc$ = "reinstall")
Dosbatch_msvc_uninstall
opsiservicecall_msvc_reinstall
Set $reboot$ = "true"
endif
if ($sereby_msvc$ = "uninstall")
2013-09-14 15:40:44 +02:00
Dosbatch_msvc_uninstall
opsiservicecall_msvc_uninstall
Set $reboot$ = "true"
endif
2013-04-04 07:15:53 +02:00
if ($sereby_AdobeFlash$ = "reinstall")
Dosbatch_AdobeFlash_uninstall
opsiservicecall_AdobeFlash_reinstall
Set $reboot$ = "true"
endif
if ($sereby_AdobeFlash$ = "uninstall")
2013-09-14 15:40:44 +02:00
Dosbatch_AdobeFlash_uninstall
opsiservicecall_AdobeFlash_uninstall
Set $reboot$ = "true"
endif
2013-04-08 22:12:02 +02:00
if ($sereby_AdobeAir$ = "reinstall")
Dosbatch_AdobeAir_uninstall
opsiservicecall_AdobeAir_reinstall
Set $reboot$ = "true"
endif
if ($sereby_AdobeAir$ = "uninstall")
2013-09-14 15:40:44 +02:00
Dosbatch_AdobeAir_uninstall
2013-04-08 22:12:02 +02:00
opsiservicecall_AdobeAir_uninstall
Set $reboot$ = "true"
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]
2013-10-20 17:06:44 +02:00
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 1.0 /u"
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 1.1 /u"
[opsiservicecall_dotnet1.1_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet1.1",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_dotnet1.1_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet1.1",
"none",
"%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_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet2.0",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_dotnet2.0_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet2.0",
"none",
"%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_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet3.0",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_dotnet3.0_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet3.0",
"none",
"%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_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet3.5",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_dotnet3.5_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet3.5",
"none",
"%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_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet4.0",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_dotnet4.0_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet4.0",
"none",
"%opsiserviceUser%"
]
2014-05-11 13:39:38 +02:00
[Winbatch_dotnet4.5_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.5 /u"
2015-07-14 17:05:01 +02:00
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.5.1 /u"
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.5.2 /u"
[opsiservicecall_dotnet4.5_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
2014-05-11 13:39:38 +02:00
"sereby_dotnet4.5",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_dotnet4.5_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet4.5",
"none",
"%opsiserviceUser%"
]
2015-07-24 13:57:53 +02:00
[Winbatch_dotnet4.6_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.6 /u"
[opsiservicecall_dotnet4.6_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet4.6",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_dotnet4.6_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet4.6",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_msjsharp_uninstall]
[opsiservicecall_msjsharp_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msjsharp",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_msjsharp_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msjsharp",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_msfsharp_uninstall]
[opsiservicecall_msfsharp_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msfsharp",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_msfsharp_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msfsharp",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_silver_uninstall]
2013-04-08 23:10:10 +02:00
; wmic product where caption='Microsoft Silverlight' call uninstall
2013-09-14 15:40:44 +02:00
;"%ScriptPath%\UnInstall\Package\Silverlight\CleanSilverlight.cmd"
wmic /INTERACTIVE:OFF product where name="Microsoft Silverlight" call uninstall
[opsiservicecall_silver_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_silver",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_silver_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_silver",
"none",
"%opsiserviceUser%"
]
2014-04-12 17:20:06 +02:00
[DosBatch_jre7_uninstall]
@echo off
rem copy "%ScriptPath%\UnInstall\Packages\JRE\JavaRa.*" "$LogDir$\"
rem $LogDir$\JavaRa.exe /SILENT /PURGE /UPDATEDEFS
cscript /nologo "%ScriptPath%\UnInstall\Packages\JRE\JavaUninstallScript.vbs" /keeponly
[DosBatch_jre8_uninstall]
@echo off
2013-04-06 19:10:35 +02:00
rem copy "%ScriptPath%\UnInstall\Packages\JRE\JavaRa.*" "$LogDir$\"
rem $LogDir$\JavaRa.exe /SILENT /PURGE /UPDATEDEFS
cscript /nologo "%ScriptPath%\UnInstall\Packages\JRE\JavaUninstallScript.vbs" /keeponly
[opsiservicecall_jre7_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_jre7",
"install",
"%opsiserviceUser%"
]
2014-06-25 20:07:10 +02:00
[opsiservicecall_jre7_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
2014-06-25 20:07:10 +02:00
"sereby_jre7",
"none",
"%opsiserviceUser%"
]
[opsiservicecall_jre8_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_jre8",
2014-06-25 20:07:10 +02:00
"install",
"%opsiserviceUser%"
]
[opsiservicecall_jre8_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_jre8",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_AdobeShock_uninstall]
2013-07-16 14:49:26 +02:00
"%ScriptPath%\UnInstall\Packages\Shockwave\uninstall_shock_player.exe" /s
2015-07-22 21:50:06 +02:00
wmic /INTERACTIVE:OFF product where name="Adobe Shockwave Player 12.1" call uninstall
[opsiservicecall_AdobeShock_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
2013-07-25 21:59:51 +02:00
"sereby_adobeshock",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_AdobeShock_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_adobeshock",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_basicruntimes_uninstall]
wmic /INTERACTIVE:OFF product where name="Allgemeine Runtime Files (x86)" call uninstall
[opsiservicecall_basicruntimes_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_basicruntimes",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_basicruntimes_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_basicruntimes",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_msdx9_uninstall]
[opsiservicecall_msdx9_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msdx9",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_msdx9_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msdx9",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_msdxm_uninstall]
[opsiservicecall_msdxm_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msdxm",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_msdxm_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msdxm",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_msvc_uninstall]
[opsiservicecall_msvc_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msvc",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_msvc_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_msvc",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_AdobeFlash_uninstall]
2015-08-19 10:05:32 +02:00
"%ScriptPath%\UnInstall\Packages\Flash\uninstall_flash_player.exe -uninstall
;"%ScriptPath%\UnInstall\Packages\Flash\uninstall_flash_player.exe -uninstall activex
;"%ScriptPath%\UnInstall\Packages\Flash\uninstall_flash_player.exe -uninstall plugin
[opsiservicecall_AdobeFlash_reinstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
2013-07-25 21:59:51 +02:00
"sereby_adobeflash",
"install",
"%opsiserviceUser%"
]
[opsiservicecall_AdobeFlash_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_adobeflash",
"none",
"%opsiserviceUser%"
]
2013-09-14 15:40:44 +02:00
[Dosbatch_AdobeAir_uninstall]
wmic /INTERACTIVE:OFF product where name="Adobe AIR" call uninstall
2013-04-08 22:12:02 +02:00
[opsiservicecall_AdobeAir_reinstall]
2013-04-08 22:12:02 +02:00
"method": "setProductProperty"
"params": [
"$ProductId$",
2013-07-25 21:59:51 +02:00
"sereby_adobeair",
2013-04-08 22:12:02 +02:00
"install",
"%opsiserviceUser%"
]
[opsiservicecall_AdobeAir_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_adobeair",
"none",
"%opsiserviceUser%"
]
; windows xp dotnet bug uninstall
; uninstall all languages and then remove .net
[Winbatch_uninstall_msi_net35_deu_32]
msiexec /x {052FDD78-A6EA-3187-8386-C82F4CA3A929} /qb! REBOOT=ReallySuppress
[Winbatch_uninstall_msi_net30_deu_32]
msiexec /x {C2C284D2-6BD7-3B34-B0C5-B2CAED168DF7} /qb! REBOOT=ReallySuppress
[Winbatch_uninstall_msi_net20_deu_32]
msiexec /x {C314CE45-3392-3B73-B4E1-139CD41CA933} /qb! REBOOT=ReallySuppress
[Winbatch_uninstall_msi_net11_deu_32]
msiexec /x {E78BFA60-5393-4C38-82AB-E8019E464EB4} /qb! REBOOT=ReallySuppress
[Winbatch_uninstall_msi_net40_extended_deu_32]
msiexec /x {C911A0C2-2236-3164-AA47-F2566C01AE5E} /qb! REBOOT=ReallySuppress
[Winbatch_uninstall_msi_net40_client_deu_32]
msiexec /x {F750C986-5310-3A5A-95F8-4EC71C8AC01C} /qb! REBOOT=ReallySuppress