Hi,
It is still not working, even though I choose "Silent install (no UI)" it opens the DX window
Please note that the silent install option affects the prerequisite wizard, not the actual prerequisite. If you want to install DirectX silently you can try this:
- go to "Software Prerequisites" tab of the "Prerequisites" page
- remove the prerequisite you added
- use the "Add" -> "DirectX 9" context menu or button to add a DirectX 9 prerequisite
- set the "Command Line" field in the
Properties tab of the "New Prerequisite" dialog to:
- configure the prerequisite the way you need
And after the installation I get 4154 error although the DX installation was succesful.
This happens because the prerequisite detection criteria is incorrect. Try using the predefined prerequisite like I explained above.
Also, I need those DX files packed in the .msi, but not extracted. I was able to include the files as "temporary files", but it seems that the installer is not finding them inside the .msi.
This prerequisite seems awfully complicated, andI would rather just execute "DXSETUP.EXE /silent" command after the installation.
This approach is not recommended because it will copy the DirectX installer on the target machine. However, you can do it like this:
- add the DirectX installer in the "Files and Folders" page as a regular file
- in the
Custom Actions page show the "InstallExecuteSequence" -> "InstallFinalize" standard action
- create a
Launch file or open URL custom action under InstallFinalize and configure it to launch the DirectX installer
- select the "Asynchronous execution, do not wait for return" option in the
Custom Action Properties pane
- set the custom action condition to:
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging