This commit is contained in:
Mario Fetka
2014-01-29 23:07:44 +01:00
parent 53e67d4ccc
commit 489c64edf3
7 changed files with 36 additions and 61 deletions

View File

@@ -0,0 +1,9 @@
<package id="net4.5.1" name=".NET Framework 4.5.1" group="Microsoft .NET Framework" priority="44">
<check type="os" condition=">" value="6.0.6002.0" />
<check type="os" condition="<" value="6.2.9200.0" />
<check type="file" condition="<" value="4.0.30319.18408" path="%Windir%\Microsoft.NET\Framework\v4.0.30319\System.dll" />
<install>
<cmd arch="x86" path="netfx_Full_LDR_x86.msi" param="/norestart /qb-!" />
<cmd arch="x64" path="netfx_Full_LDR_x64.msi" param="/norestart /qb-!" />
</install>
</package>

View File

@@ -1,10 +0,0 @@
<package id="net4.5" name=".NET Framework 4.5.1" group="Microsoft .NET Framework" priority="44">
<check type="os" condition=">" value="6.0.6002.0" />
<check type="os" condition="<" value="6.2.9200.0" />
<check type="file" condition="notexist" path="%Windir%\Microsoft.NET\Framework\v4\System.dll" />
<check type="file" condition="notexist" path="%Windir%\Microsoft.NET\Framework\v4\Config\NetFx45_IIS_schema_update.xml" />
<install>
<cmd arch="x86" path="netfx_Full_LDR_x86.msi" param="/norestart /qb-!" />
<cmd arch="x64" path="netfx_Full_LDR_x64.msi" param="/norestart /qb-!" />
</install>
</package>

View File

@@ -56,9 +56,9 @@ if ($sereby_dotnet4.0$ = "reinstall")
opsiservicecall_dotnet4.0_uninstall
Set $reboot$ = "true"
endif
if ($sereby_dotnet4.5$ = "reinstall")
Winbatch_dotnet4.5_uninstall
opsiservicecall_dotnet4.5_uninstall
if ($sereby_dotnet4.5.1$ = "reinstall")
Winbatch_dotnet4.5.1_uninstall
opsiservicecall_dotnet4.5.1_uninstall
Set $reboot$ = "true"
endif
@@ -191,14 +191,14 @@ endif
"%opsiserviceUser%"
]
[Winbatch_dotnet4.5_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.5 /u"
[Winbatch_dotnet4.5.1_uninstall]
%ScriptPath%\UnInstall\NET\cleanup_tool.exe /q:a /c:"cleanup.exe /p .NET Framework 4.5.1 /u"
[opsiservicecall_dotnet4.5_uninstall]
[opsiservicecall_dotnet4.5.1_uninstall]
"method": "setProductProperty"
"params": [
"$ProductId$",
"sereby_dotnet4.5",
"sereby_dotnet4.5.1",
"install",
"%opsiserviceUser%"
]

View File

@@ -16,8 +16,8 @@ endif
if ($sereby_dotnet4.0$ = "install")
DosInAnIcon_dotnet4.0_config
endif
if ($sereby_dotnet4.5$ = "install")
DosInAnIcon_dotnet4.5_config
if ($sereby_dotnet4.5.1$ = "install")
DosInAnIcon_dotnet4.5.1_config
endif
if ($sereby_msjsharp$ = "install")
DosInAnIcon_msjsharp_config
@@ -84,9 +84,9 @@ xml ed -O -u "/settings/set[@component='net3.5']/@checked" -v 1 "$LogDir$\WinPKG
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]
[DosInAnIcon_dotnet4.5.1_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"
xml ed -O -u "/settings/set[@component='net4.5.1']/@checked" -v 1 "$LogDir$\WinPKG.xml.old" > "$LogDir$\WinPKG.xml"
[DosInAnIcon_msjsharp_config]
copy "$LogDir$\WinPKG.xml" "$LogDir$\WinPKG.xml.old"

View File

@@ -14,8 +14,8 @@ 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_dotnet4.5.1$
Set $sereby_dotnet4.5.1$ = GetProductProperty("sereby_dotnet4.5.1", "install")
DefVar $sereby_msjsharp$
Set $sereby_msjsharp$ = GetProductProperty("sereby_msjsharp", "install")
DefVar $sereby_msfsharp$