remove windows xp support

This commit is contained in:
Mario Fetka
2014-07-11 14:41:23 +02:00
parent c23023a5b8
commit 6524baf808
26 changed files with 57 additions and 308 deletions

View File

@@ -1,15 +0,0 @@
<package id="net4.0" name=".NET Framework 4.0 + Hotfixes" group="Microsoft .NET Framework" priority="43">
<check type="os" condition="<" value="6.0.6002.0" />
<check type="file" condition="notexist" path="%Windir%\Microsoft.NET\Framework\v4.0.30319\System.dll" />
<install>
<cmd arch="x86" name=".NET Framework 4.0 - Core" path="netfx_core_x86.msi" param="/norestart /qb-!" />
<cmd arch="x86" name=".NET Framework 4.0 - Extended" path="netfx_extended_x86.msi" param="/norestart /qb-!" />
<cmd arch="x86" name=".NET Framework 4.0 - Core LP" path="netfx_corelp_x86.msi" param="/norestart /qb-!" />
<cmd arch="x86" name=".NET Framework 4.0 - Extended LP" path="netfx_extendedlp_x86.msi" param="/norestart /qb-!" />
<cmd arch="x64" name=".NET Framework 4.0 x64 - Core" path="netfx_core_x64.msi" param="/norestart /qb-!" />
<cmd arch="x64" name=".NET Framework 4.0 x64 - Extended" path="netfx_extended_x64.msi" param="/norestart /qb-!" />
<cmd arch="x64" name=".NET Framework 4.0 x64 - Core LP" path="netfx_corelp_x64.msi" param="/norestart /qb-!" />
<cmd arch="x64" name=".NET Framework 4.0 x64 - Extended LP" path="netfx_extendedlp_x64.msi" param="/norestart /qb-!" />
</install>
</package>

View File

@@ -1,19 +0,0 @@
<package id="net4.5" name=".NET Framework 4.5.2" group="Microsoft .NET Framework" priority="44">
<check type="file" condition="<" value="4.0.30319.34209" path="%Windir%\Microsoft.NET\Framework\v4.0.30319\System.dll" />
<install>
<cmd arch="x86" path="netfx_Full_GDR_x86.msi" param="/norestart /qb-!">
<check type="os" condition=">" value="6.0.6002.0" />
<check type="os" condition="<" value="6.2.9200.0" />
</cmd>
<cmd arch="x64" path="netfx_Full_GDR_x64.msi" param="/norestart /qb-!">
<check type="os" condition=">" value="6.0.6002.0" />
<check type="os" condition="<" value="6.2.9200.0" />
</cmd>
<cmd arch="x86" path="%windir%\system32\wusa.exe" param="%package%\Windows8.1-KB2934520-x86.msu /norestart /q">
<check type="os" condition=">" value="6.2.9200.0" />
</cmd>
<cmd arch="x64" path="%windir%\system32\wusa.exe" param="%package%\Windows8.1-KB2934520-x64.msu /norestart /q">
<check type="os" condition=">" value="6.2.9200.0" />
</cmd>
</install>
</package>

13
CLIENT_DATA/WinPKG.xml Normal file
View File

@@ -0,0 +1,13 @@
<settings maximized="1">
<timer value="40" enabled="1" />
<set component="net4.5" checked="1" />
<set component="msjsharp" checked="1" />
<set component="silver" checked="1" />
<set component="jre8" checked="1" />
<set component="AdobeShock" checked="1" />
<set component="basicruntimes" checked="1" />
<set component="msdx9" checked="1" />
<set component="msvc" checked="1" />
<set component="AdobeFlash" checked="1" />
<set component="NetWin8" checked="1" />
</settings>

View File

@@ -1,61 +1,6 @@
DefVar $reboot$
Set $reboot$ = "false"
if ($sereby_dotnet1.1$ = "reinstall")
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E78BFA60-5393-4C38-82AB-E8019E464EB4}] DisplayName") = "")
comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"
Winbatch_uninstall_msi_net11_deu_32
sub_check_exitcode
endif
Winbatch_dotnet1.1_uninstall
opsiservicecall_dotnet1.1_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet2.0$ = "reinstall")
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C314CE45-3392-3B73-B4E1-139CD41CA933}] DisplayName") = "")
comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"
Winbatch_uninstall_msi_net20_deu_32
sub_check_exitcode
endif
Winbatch_dotnet2.0_uninstall
opsiservicecall_dotnet2.0_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet3.0$ = "reinstall")
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C2C284D2-6BD7-3B34-B0C5-B2CAED168DF7}] DisplayName") = "")
comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"
Winbatch_uninstall_msi_net30_deu_32
sub_check_exitcode
endif
Winbatch_dotnet3.0_uninstall
opsiservicecall_dotnet3.0_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet3.5$ = "reinstall")
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{052FDD78-A6EA-3187-8386-C82F4CA3A929}] DisplayName") = "")
comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"
Winbatch_uninstall_msi_net35_deu_32
sub_check_exitcode
endif
Winbatch_dotnet3.5_uninstall
opsiservicecall_dotnet3.5_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet4.0$ = "reinstall")
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C911A0C2-2236-3164-AA47-F2566C01AE5E}] DisplayName") = "")
comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"
Winbatch_uninstall_msi_net40_extended_deu_32
sub_check_exitcode
endif
if not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F750C986-5310-3A5A-95F8-4EC71C8AC01C}] DisplayName") = "")
comment "MSI id " + $MsiId32$ + " found in registry, starting msiexec to uninstall"
Winbatch_uninstall_msi_net40_client_deu_32
sub_check_exitcode
endif
Winbatch_dotnet4.0_uninstall
opsiservicecall_dotnet4.0_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet4.5$ = "reinstall")
Winbatch_dotnet4.5_uninstall
opsiservicecall_dotnet4.5_uninstall
@@ -108,11 +53,6 @@ if ($sereby_msdx9$ = "reinstall")
opsiservicecall_msdx9_uninstall
Set $reboot$ = "true"
endif
if ($sereby_msdxm$ = "reinstall")
Dosbatch_msdxm_uninstall
opsiservicecall_msdxm_uninstall
Set $reboot$ = "true"
endif
if ($sereby_msvc$ = "reinstall")
Dosbatch_msvc_uninstall
opsiservicecall_msvc_uninstall

View File

@@ -1,21 +1,6 @@
DosInAnIcon_init_config
if ($sereby_dotnet1.1$ = "install")
DosInAnIcon_dotnet1.1_config
endif
if ($sereby_dotnet2.0$ = "install")
DosInAnIcon_dotnet2.0_config
endif
if ($sereby_dotnet3.0$ = "install")
DosInAnIcon_dotnet3.0_config
endif
if ($sereby_dotnet3.5$ = "install")
DosInAnIcon_dotnet3.5_config
endif
if ($sereby_dotnet4.0$ = "install")
DosInAnIcon_dotnet4.0_config
endif
if ($sereby_dotnet4.5$ = "install")
DosInAnIcon_dotnet4.5_config
endif
@@ -70,26 +55,6 @@ xml ed -O -u "/settings/timer[@value=40]/@value" -v $sereby_timer_value$ "$LogDi
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/timer[@enabled=0]/@enabled" -v $sereby_timer_enabled$ "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_dotnet1.1_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net1.1']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_dotnet2.0_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net2.0']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_dotnet3.0_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net3.0']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_dotnet3.5_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net3.5']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_dotnet4.0_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net4.0']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_dotnet4.5_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net4.5']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
@@ -130,10 +95,6 @@ xml ed -O -u "/settings/set[@component='basicruntimes']/@checked" -v 1 "$LogDir$
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='msdx9']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_msdxm_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='msdxm']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_msvc_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='msvc']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"

View File

@@ -4,16 +4,6 @@ DefVar $sereby_timer_value$
Set $sereby_timer_value$ = GetProductProperty("sereby_timer_value", "5")
DefVar $sereby_timer_enabled$
Set $sereby_timer_enabled$ = GetProductProperty("sereby_timer_enabled", "1")
DefVar $sereby_dotnet1.1$
Set $sereby_dotnet1.1$ = GetProductProperty("sereby_dotnet1.1", "install")
DefVar $sereby_dotnet2.0$
Set $sereby_dotnet2.0$ = GetProductProperty("sereby_dotnet2.0", "install")
DefVar $sereby_dotnet3.0$
Set $sereby_dotnet3.0$ = GetProductProperty("sereby_dotnet3.0", "install")
DefVar $sereby_dotnet3.5$
Set $sereby_dotnet3.5$ = GetProductProperty("sereby_dotnet3.5", "install")
DefVar $sereby_dotnet4.0$
Set $sereby_dotnet4.0$ = GetProductProperty("sereby_dotnet4.0", "none")
DefVar $sereby_dotnet4.5$
Set $sereby_dotnet4.5$ = GetProductProperty("sereby_dotnet4.5", "install")
DefVar $sereby_win8xdotnet3x$
@@ -34,8 +24,6 @@ DefVar $sereby_basicruntimes$
Set $sereby_basicruntimes$ = GetProductProperty("sereby_basicruntimes", "install")
DefVar $sereby_msdx9$
Set $sereby_msdx9$ = GetProductProperty("sereby_msdx9", "install")
DefVar $sereby_msdxm$
Set $sereby_msdxm$ = GetProductProperty("sereby_msdxm", "install")
DefVar $sereby_msvc$
Set $sereby_msvc$ = GetProductProperty("sereby_msvc", "install")
DefVar $sereby_AdobeFlash$