Hi,
Here is another suggestion:
Create a registry search in the "Search" page and browse for this key:
HKLM\Software\Microsoft\DirectX\Version
Create a new dialog in the "First Time Install" section of the "Dialogs" page. Under the "Next" button of the dialog scheduled in front of this new dialog add following published event:
Event: NewDialog
Argument: select the new added dialog
Condition: SEARCH_PROPERTY <> "9.0" (the requeried version of DirectX is not installed)
In this new added dialog you can explain to the user that the DirectX was not found and give him the option to install it or not (with a radio button for example).
Regarding the DirectX package you can add him as "New Attached Custom Action" under "InstallFinalize" standard action. Condition this custom action with:
Replace the "..." with a condition reflecting what option the user selected in the new dialog.
Hope this helps. Please let me know if is something that you don't understand.
Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FOLLOW US
Get the latest news in Application Packaging