you must be detect DirectX version . if its version is 8 of
higher then WMV8 supported
for detecting DirectX versin you can use of this code:
then check the char of it and if it is 8 or higher then
system supported WMV 8 else
u must be install the directX 8 or higher with open statement
open "DirectX installer File Path & /S"
/S use for silent install without any question of user