Difference between revisions of "DirectX"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 20: Line 20:
 
  </install>
 
  </install>
 
  <install cmd='"%TEMP%\dx9c\dxsetup.exe" /silent'>
 
  <install cmd='"%TEMP%\dx9c\dxsetup.exe" /silent'>
  <exit code="1" reboot="true" />
+
  <exit code="1" />
  <exit code="-18" reboot="true" />
+
  <exit code="-18" />
 
  </install>
 
  </install>
 
  <install cmd='cmd /c rmdir /s /q "%TEMP%\dx9c"' />
 
  <install cmd='cmd /c rmdir /s /q "%TEMP%\dx9c"' />

Revision as of 14:11, 14 September 2007

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 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>