smh_2007
10-16-2008, 09:32 AM
Hi To All,
I could use a little assistance with the command line options for installing directx_mar2008_redist.exe.
In an install script I am using the Run Program function. The File Name is directx_mar2008_redist.exe, the Target Folder is %CURDIR%, the Command Line is /Q /T:%DXREDIST% /C and the Default Directory is %CURDIR%. I have Wait for Program, Use ShellExecuteEx and Hide Window checked. My issue is the value of %DXREDIST%. %DXREDIST% equals %CURDIR%\DX, for example if %CURDIR% = C:\Installs then %DXREDIST% = C:\Installs\DX. If there is no space in the %CURDIR% variable, then the Run Program function for installing the DirectX redistributable is fine. If there is a space for example if %CURDIR% = C:\Program Files\Installs, then the Run Program function fails. I think the command line option for DirectX can't have spaces.
Has anyone run across this issue? Does anyone have a solution?
Thanks,
Sharon
I could use a little assistance with the command line options for installing directx_mar2008_redist.exe.
In an install script I am using the Run Program function. The File Name is directx_mar2008_redist.exe, the Target Folder is %CURDIR%, the Command Line is /Q /T:%DXREDIST% /C and the Default Directory is %CURDIR%. I have Wait for Program, Use ShellExecuteEx and Hide Window checked. My issue is the value of %DXREDIST%. %DXREDIST% equals %CURDIR%\DX, for example if %CURDIR% = C:\Installs then %DXREDIST% = C:\Installs\DX. If there is no space in the %CURDIR% variable, then the Run Program function for installing the DirectX redistributable is fine. If there is a space for example if %CURDIR% = C:\Program Files\Installs, then the Run Program function fails. I think the command line option for DirectX can't have spaces.
Has anyone run across this issue? Does anyone have a solution?
Thanks,
Sharon