Difference between revisions of "DirectX"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 9: Line 9:
 
  <!-- can't test for this? -->
 
  <!-- can't test for this? -->
  
  <!-- if we have this dir, the installer will ask if it should overwrite files -->
+
  <!-- if we have this dir, the SILENT installer WILL ASK if it should overwrite files -->
 
  <install cmd='cmd /c rmdir /s /q "%TEMP%\dx9c"' >
 
  <install cmd='cmd /c rmdir /s /q "%TEMP%\dx9c"' >
 
     <exit code="2" />
 
     <exit code="2" />

Revision as of 14:12, 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 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>