Difference between revisions of "Microsoft .NET Framework"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(Added second method for .net installer)
Line 5: Line 5:
 
  <check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" />
 
  <check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" />
 
  <install cmd='\\server\share\updates\common\enu\dotnetfx.exe /q /c:\"install /q\"' >
 
  <install cmd='\\server\share\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 (I was getting the error "command failed: \"install /q\"" with the above):
 +
 +
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='\\server\share\updates\common\enu\install /q' >
 
  <exit code="194" reboot="true" />
 
  <exit code="194" reboot="true" />
 
  <exit code="1603" />
 
  <exit code="1603" />

Revision as of 16:53, 3 February 2006

This is a silent installer for Microsoft .NET Framework.

<package id="dotnet112k" name="Microsoft .NET Framework 1.1">
<check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" />
<install cmd='\\server\share\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 (I was getting the error "command failed: \"install /q\"" with the above):

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">
<check type="file" condition="exists" path="%Windir%\Microsoft.NET\Framework\sbscmp10.dll" />
<install cmd='\\server\share\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:

<package id="dotnet11sp12k" name="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='\\server\share\updates\common\NDP1.1sp1-KB867460-X86.exe /q /i' >
<exit code="194" reboot="true" />
<exit code="1603" />
<exit code="3010" reboot="true" />
</install>
</package>