Thanks for you answer Bogdan
Bogdan wrote:If you use a prerequisite then you can add the files in the Files tab from the Edit Prerequisite window. This way, DXSetup.exe will execute before the OCX registration.
Yes, but the question is how can I trigger the prerequisite display since there is no simple way to know if the bimonthly update is installed or not. Microsoft didn't recommend to check if dll are installed or the version of the installed DLLs. The only way to proceed properly is to execute DXSetup.exe at each execution of my installer. The other condition is that I need to install the redist package before the OCX registration.
Bogdan wrote:You can try to create your own EXE that verifies whether the bimonthly update is installed or not.
Sorry but this is not an acceptable solution and absolutely not recommended by Microsoft. One of the main role of DXSetup.exe is to do what you describe above.
Here after I will try to summarize what I want to do.
1. I will add the DirectX bimonthly redist package (made of 6 files) to my installer
2. When I execute my installer :
a. I will copy the DX redist files to the HD
b. I want to execute DXSetup.exe (part of the DX Redist package) before the OCX registration process and wait the end of the DXSetup phase before continuing the execution of my installer
c. At the end of the installation process I would like to remove the DX redist files from the HD.
FOLLOW US
Get the latest news in Application Packaging