Difference between revisions of "DirectX"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 1: Line 1:
 +
'''This is a silent installer for DirectX End-User Runtime Web Installer'''
 +
 +
 +
You can download it from: [http://www.microsoft.com/downloads/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3&displaylang=en]
 +
 +
'''Attention''': When starting this Installer with WPKG it downloads the latest DirectX files out of the Internet. That means when you have many Computers in your business you have a lot of traffic. :)
 +
 +
This package is written for Updates till November 2007.
 +
When Microsoft release a new Update you have to change the <check ...> line.'''
 +
 +
<pre>
 +
<package
 +
id="Microsoft - DirectX 9"
 +
name="Microsoft - Directx 9.0"
 +
revision="9211148"
 +
priority="10">
 +
 +
<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\x3daudio1_2.dll" value="9.21.1148.0"/>
 +
 +
<install cmd='"%SOFTWARE%\Microsoft\DirectX\9.0c\DXwebSetup.exe" /c:"DXwSetup.exe /windowsupdate" /q /r:n' >
 +
<exit code="0" />
 +
<exit code="3010" reboot="true" />
 +
</install>
 +
 +
<upgrade cmd='"%SOFTWARE%\Microsoft\DirectX\9.0c\DXwebSetup.exe" /c:"DXwSetup.exe /windowsupdate" /q /r:n' >
 +
<exit code="0" />
 +
<exit code="3010" reboot="true" />
 +
</upgrade>
 +
</package>
 +
</pre>
 +
 +
 +
 +
----
 +
 +
 +
 
 
This is a silent installer for DirectX 9 for Windows 2000.
 
This is a silent installer for DirectX 9 for Windows 2000.
  

Revision as of 16:17, 8 January 2008

This is a silent installer for DirectX End-User Runtime Web Installer


You can download it from: [1]

Attention: When starting this Installer with WPKG it downloads the latest DirectX files out of the Internet. That means when you have many Computers in your business you have a lot of traffic. :)

This package is written for Updates till November 2007. When Microsoft release a new Update you have to change the <check ...> line.

	<package
		id="Microsoft - DirectX 9"
		name="Microsoft - Directx 9.0"
		revision="9211148"
		priority="10">

		<check type="file" condition="versiongreaterorequal" path="%WINDIR%\system32\x3daudio1_2.dll" value="9.21.1148.0"/>

		<install cmd='"%SOFTWARE%\Microsoft\DirectX\9.0c\DXwebSetup.exe" /c:"DXwSetup.exe /windowsupdate" /q /r:n' >
			<exit code="0" />
			<exit code="3010" reboot="true" />
		</install>

		<upgrade cmd='"%SOFTWARE%\Microsoft\DirectX\9.0c\DXwebSetup.exe" /c:"DXwSetup.exe /windowsupdate" /q /r:n' >
			<exit code="0" />
			<exit code="3010" reboot="true" />
		</upgrade>
	</package>




This is a silent installer for DirectX 9 for Windows 2000.

 <package id="directx"
          name="Direct X 9 for Windows 2000"
          execute="once"
          priority="100">
 <!-- DirectX 9.0c Redistributable for Software Developers - Multilingual -->
 <!-- can't test for this? -->

 <!-- if we have this dir, the SILENT installer WILL ASK if it should overwrite files -->
 <install cmd='cmd /c rmdir /s /q "%TEMP%\dx9c"' >
    <exit code="2" />
 </install>

 <install cmd='%SOFTWARE%\directx9\directx_9c_redist.exe /q /c /t:"%TEMP%\dx9c"' >
 <exit code="194" reboot="true" />
 <exit code="1603" />
 <exit code="3010" reboot="true" />
 </install>
 <install cmd='"%TEMP%\dx9c\dxsetup.exe" /silent'>
 <exit code="1" />
 <exit code="-18" />
 </install>
 <install cmd='cmd /c rmdir /s /q "%TEMP%\dx9c"' />
 </package>