add java v8 and .net for win8.x

This commit is contained in:
Mario Fetka
2014-04-12 17:20:06 +02:00
parent 0961a568bd
commit 3f6d50772c
8 changed files with 156 additions and 70 deletions

View File

@@ -83,9 +83,14 @@ if ($sereby_silver$ = "reinstall")
opsiservicecall_silver_uninstall
Set $reboot$ = "true"
endif
if ($sereby_jre$ = "reinstall")
if ($sereby_jre7$ = "reinstall")
Dosbatch_jre_uninstall
opsiservicecall_jre_uninstall
opsiservicecall_jre7_uninstall
Set $reboot$ = "true"
endif
if ($sereby_jre8$ = "reinstall")
Dosbatch_jre_uninstall
opsiservicecall_jre8_uninstall
Set $reboot$ = "true"
endif
if ($sereby_AdobeShock$ = "reinstall")
@@ -240,7 +245,13 @@ wmic /INTERACTIVE:OFF product where name="Microsoft Silverlight" call uninstall
"%opsiserviceUser%"
]
[DosBatch_jre_uninstall]
[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
rem copy "%ScriptPath%\UnInstall\Packages\JRE\JavaRa.*" "$LogDir$\"
rem $LogDir$\JavaRa.exe /SILENT /PURGE /UPDATEDEFS

View File

@@ -19,6 +19,9 @@ endif
if ($sereby_dotnet4.5.1$ = "install")
DosInAnIcon_dotnet4.5.1_config
endif
if ($sereby_win8xdotnet3x$ = "install")
DosInAnIcon_win8xdotnet3x_config
endif
if ($sereby_msjsharp$ = "install")
DosInAnIcon_msjsharp_config
endif
@@ -28,8 +31,11 @@ endif
if ($sereby_silver$ = "install")
DosInAnIcon_silver_config
endif
if ($sereby_jre$ = "install")
DosInAnIcon_jre_config
if ($sereby_jre7$ = "install")
DosInAnIcon_jre7_config
endif
if ($sereby_jre8$ = "install")
DosInAnIcon_jre8_config
endif
if ($sereby_AdobeShock$ = "install")
DosInAnIcon_AdobeShock_config
@@ -88,6 +94,10 @@ xml ed -O -u "/settings/set[@component='net4.0']/@checked" -v 1 "$LogDir$\WinPKG
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='net4.5.1']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_win8xdotnet3x_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='NetWin8']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_msjsharp_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='msjsharp']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
@@ -100,10 +110,14 @@ xml ed -O -u "/settings/set[@component='msfsharp']/@checked" -v 1 "$LogDir$\WinP
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='silver']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_jre_config]
[DosInAnIcon_jre7_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='jre7']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_jre8_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='jre8']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_AdobeShock_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"
xml ed -O -u "/settings/set[@component='AdobeShock']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"

View File

@@ -16,14 +16,18 @@ DefVar $sereby_dotnet4.0$
Set $sereby_dotnet4.0$ = GetProductProperty("sereby_dotnet4.0", "none")
DefVar $sereby_dotnet4.5.1$
Set $sereby_dotnet4.5.1$ = GetProductProperty("sereby_dotnet4.5.1", "install")
DefVar $sereby_win8xdotnet3x$
Set $sereby_win8xdotnet3x$ = GetProductProperty("sereby_win8xdotnet3x", "install")
DefVar $sereby_msjsharp$
Set $sereby_msjsharp$ = GetProductProperty("sereby_msjsharp", "install")
DefVar $sereby_msfsharp$
Set $sereby_msfsharp$ = GetProductProperty("sereby_msfsharp", "install")
DefVar $sereby_silver$
Set $sereby_silver$ = GetProductProperty("sereby_silver", "install")
DefVar $sereby_jre$
Set $sereby_jre$ = GetProductProperty("sereby_jre", "install")
DefVar $sereby_jre7$
Set $sereby_jre7$ = GetProductProperty("sereby_jre7", "install")
DefVar $sereby_jre8$
Set $sereby_jre8$ = GetProductProperty("sereby_jre8", "install")
DefVar $sereby_AdobeShock$
Set $sereby_AdobeShock$ = GetProductProperty("sereby_AdobeShock", "install")
DefVar $sereby_basicruntimes$