Jump to content

Directx Redist silent extract and install command line?


Recommended Posts

Posted

Hi,

Please could someone guide me in the right direction. I am trying to perform a silent install of directx_mar2008_redist.exe via the command line. I can make it extract into a temp directory but not start the install after it has been extracted?

This is my command line to extract:

directx_mar2008_redist.exe /Q /C /T:C:\TempFiles\directx

I do not know how to start the install.

I don't want to do this using two commands, I would prefer the single command to extract AND install silent.

I don't want to extract the contents of directx_mar2008_redist.exe because I want to just supply a single file to use as part of a silent install for a application.

Thanks in advanced

Paul


Posted

Hi. Extract the setup files using WinRAR or the command line switches. Then use the extracted files and run dxsetup.exe /silent.

I use this to install it and it works without any issue. Hint: i ran them from a hard disk, not CD/DVD just to make sure it works, some MS installer can't run from read-only media because they try to write a log file.

Posted

Hi,

Thanks for your reply.

This is what I have been doing however I was trying to acheive this in one command on the command line. It is part of an install using Inno Setup and I want to extract and install at the same time! I have halve solved this by extracting and installing as per your reply but I was trying to clean it up a little!

Paul

Posted

Well, then you can use the extract command and specify a location. When you are ready to install it in you AutoIt scritp called the extracted files using my instructions. That should do it.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...