Difference between revisions of "Microsoft .NET Framework"
From WPKG | Open Source Software Deployment and Distribution
m (→Microsoft .NET Framework 2.0 language pack) |
m |
||
Line 3: | Line 3: | ||
This is a silent installer for Microsoft .NET Framework. Download [http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=262D25E3-F589-4842-8157-034D1E7CF3A3 here] | This is a silent installer for Microsoft .NET Framework. Download [http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=262D25E3-F589-4842-8157-034D1E7CF3A3 here] | ||
− | + | <source lang="xml"> | |
+ | <package id="dotnet112k" name="Microsoft .NET Framework 1.1"> | ||
<!-- Microsoft .NET Framework Version 1.1 Redistributable Package --> | <!-- Microsoft .NET Framework Version 1.1 Redistributable Package --> | ||
<check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" /> | <check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" /> | ||
Line 11: | Line 12: | ||
<exit code="3010" reboot="true" /> | <exit code="3010" reboot="true" /> | ||
</install> | </install> | ||
− | + | </package> | |
+ | </source> | ||
Another way to run the .NET installer: | Another way to run the .NET installer: | ||
Line 17: | Line 19: | ||
Extract the contents of dotnetfx.exe, and then invoke the install directly (this also saves a bit of time for the clients) | Extract the contents of dotnetfx.exe, and then invoke the install directly (this also saves a bit of time for the clients) | ||
− | + | <source lang="xml"> | |
+ | <package id="dotnet112k" name="Microsoft .NET Framework 1.1"> | ||
<!-- Microsoft .NET Framework Version 1.1 Redistributable Package --> | <!-- Microsoft .NET Framework Version 1.1 Redistributable Package --> | ||
<check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" /> | <check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" /> | ||
Line 25: | Line 28: | ||
<exit code="3010" reboot="true" /> | <exit code="3010" reboot="true" /> | ||
</install> | </install> | ||
− | + | </package> | |
− | + | </source> | |
And Microsoft .NET Framework 1.1 Service Pack 1 (download [http://www.microsoft.com/downloads/details.aspx?familyid=A8F5654F-088E-40B2-BBDB-A83353618B38&displaylang=en here]): | And Microsoft .NET Framework 1.1 Service Pack 1 (download [http://www.microsoft.com/downloads/details.aspx?familyid=A8F5654F-088E-40B2-BBDB-A83353618B38&displaylang=en here]): | ||
− | + | <source lang="xml"> | |
+ | <package id="dotnet11sp12k" name="Microsoft .NET Framework 1.1 Service Pack 1"> | ||
<!-- Microsoft .NET Framework 1.1 Service Pack 1 --> | <!-- Microsoft .NET Framework 1.1 Service Pack 1 --> | ||
<check type="registry" condition="exists" path="HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\SP" /> | <check type="registry" condition="exists" path="HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\SP" /> | ||
Line 38: | Line 42: | ||
<exit code="3010" reboot="true" /> | <exit code="3010" reboot="true" /> | ||
</install> | </install> | ||
− | + | </package> | |
+ | </source> | ||
=Microsoft .NET Framework 2.0= | =Microsoft .NET Framework 2.0= | ||
− | + | <source lang="xml"> | |
+ | <package id="dotnet20" name="Microsoft .NET Framework 2.0"> | ||
<check type="uninstall" condition="exists" path="Microsoft .NET Framework 2.0" /> | <check type="uninstall" condition="exists" path="Microsoft .NET Framework 2.0" /> | ||
<install cmd='%SOFTWARE%\updates\common\enu\dotnetfx2.exe /q /c:"install /q"' > | <install cmd='%SOFTWARE%\updates\common\enu\dotnetfx2.exe /q /c:"install /q"' > | ||
Line 50: | Line 56: | ||
<exit code="3010" reboot="true" /> | <exit code="3010" reboot="true" /> | ||
</install> | </install> | ||
− | + | </package> | |
+ | </source> | ||
+ | |||
=Microsoft .NET Framework 2.0 language pack= | =Microsoft .NET Framework 2.0 language pack= | ||
Line 56: | Line 64: | ||
Replace DEU with whatever language pack you will be installing: | Replace DEU with whatever language pack you will be installing: | ||
− | + | <source lang="xml"> | |
+ | <package id="dotnet20lp" name="Microsoft .NET Framework 2.0 Language Pack"> | ||
<check type="uninstall" condition="exists" path="Microsoft .NET Framework 2.0 Language Pack - DEU" /> | <check type="uninstall" condition="exists" path="Microsoft .NET Framework 2.0 Language Pack - DEU" /> | ||
<install cmd='%SOFTWARE%\updates\common\enu\langpackfx2.exe /q /c:"install /q"' /> | <install cmd='%SOFTWARE%\updates\common\enu\langpackfx2.exe /q /c:"install /q"' /> | ||
− | + | </package> | |
+ | </source> | ||
[[Category:Silent Installers]] | [[Category:Silent Installers]] |
Revision as of 19:10, 19 February 2008
Microsoft .NET Framework 1.1
This is a silent installer for Microsoft .NET Framework. Download here
<package id="dotnet112k" name="Microsoft .NET Framework 1.1">
<!-- Microsoft .NET Framework Version 1.1 Redistributable Package -->
<check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" />
<install cmd='%SOFTWARE%\updates\common\enu\dotnetfx.exe /q /c:"install /q"' >
<exit code="194" reboot="true" />
<exit code="1603" />
<exit code="3010" reboot="true" />
</install>
</package>
Another way to run the .NET installer:
Extract the contents of dotnetfx.exe, and then invoke the install directly (this also saves a bit of time for the clients)
<package id="dotnet112k" name="Microsoft .NET Framework 1.1">
<!-- Microsoft .NET Framework Version 1.1 Redistributable Package -->
<check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" />
<install cmd='%SOFTWARE%\updates\common\enu\install /q' >
<exit code="194" reboot="true" />
<exit code="1603" />
<exit code="3010" reboot="true" />
</install>
</package>
And Microsoft .NET Framework 1.1 Service Pack 1 (download here):
<package id="dotnet11sp12k" name="Microsoft .NET Framework 1.1 Service Pack 1">
<!-- Microsoft .NET Framework 1.1 Service Pack 1 -->
<check type="registry" condition="exists" path="HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v1.1.4322\SP" />
<install cmd='%SOFTWARE%\updates\common\NDP1.1sp1-KB867460-X86.exe /q /i' >
<exit code="194" reboot="true" />
<exit code="1603" />
<exit code="3010" reboot="true" />
</install>
</package>
Microsoft .NET Framework 2.0
<package id="dotnet20" name="Microsoft .NET Framework 2.0">
<check type="uninstall" condition="exists" path="Microsoft .NET Framework 2.0" />
<install cmd='%SOFTWARE%\updates\common\enu\dotnetfx2.exe /q /c:"install /q"' >
<exit code="194" reboot="true" />
<exit code="1603" />
<exit code="3010" reboot="true" />
</install>
</package>
Microsoft .NET Framework 2.0 language pack
Replace DEU with whatever language pack you will be installing:
<package id="dotnet20lp" name="Microsoft .NET Framework 2.0 Language Pack">
<check type="uninstall" condition="exists" path="Microsoft .NET Framework 2.0 Language Pack - DEU" />
<install cmd='%SOFTWARE%\updates\common\enu\langpackfx2.exe /q /c:"install /q"' />
</package>