Changes

Jump to: navigation, search

Microsoft .NET Framework

952 bytes added, 15:08, 6 August 2013
Microsoft .NET Framework 4: Have 2 different versions, 1 that copies it to C: first, one that doesn't. Remove 'or' from 'check'
</source>
=Microsoft .NET Framework 4Full (Microsoft .NET Framework 4 Client Profile + Microsoft .NET Framework 4 Extended)
Download from http://www.microsoft.com/download/en/details.aspx?id=17718
 
There is no 'or' in the 'check' line for .NET 4.0 (as there was with .NET 3.5) as it was never distributed pre-installed with a version of Windows.
 
A version that runs the installer from the server so that it is unpacked from there to C::
 
<source lang="xml">
 
<package id="dotnetfx4" name="Microsoft .NET Framework 4" revision="1" priority="0" >
 <!-- Version 4.0.2 --><check type='logicalfile' condition='orexists' path='%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe' /> <install cmd='%SOFTWARE%\Microsoft\dotNetFramework\dotNetFx40_Full_x86_x64.exe /norestart /passive'> <check typeexit code="uninstall0" condition/> <exit code="exists194" pathreboot="true" /> <exit code="1603" /> <exit code="3010" reboot="true" /></install> <install cmd='rmdir c:\dotNetInstallers /S /Q' /> <upgrade include="install" />  <remove cmd='MsiExec.exe /qn /X{8E34682C-8118-31F1-BC4C-98CD9675E1C2}' /> </package></source> A version that copies the installer to C: first so that it is unpacked locally: <source lang="xml"> <package id="dotnetfx4" name="Microsoft .NET Framework 4 Extended" /revision="1" priority="0" > <!-- Version 4.0.2 --> <check type='file' condition='exists' path='%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe' /></check>
<install cmd='xcopy "%SOFTWARE%\Microsoft\dotNetFramework\dotNetFx40_Full_x86_x64.exe" c:\dotNetInstallers\ /c /r /y /q' />
 
<install cmd='c:\dotNetInstallers\dotNetFx40_Full_x86_x64.exe /norestart /passive' >
<exit code="0" />
<exit code="3010" reboot="true" />
</install>
 
<install cmd='rmdir c:\dotNetInstallers /S /Q' />
577
edits

Navigation menu