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
Page 1 of 1
Directx Redist silent extract and install command line?
#2
Posted 17 April 2008 - 01:37 PM
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.
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.
#3
Posted 17 April 2008 - 01:55 PM
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
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
#4
Posted 17 April 2008 - 11:49 PM
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.
Share this topic:
Page 1 of 1



Help
Back to top









