Could anybody help me with a problem of DirectX installation?

I want to silently install DirectX 90c and handle the return code, I decided to use DirectXSetup API instead of DXSetup.exe because there is no any doc talking about the return value of DXSetup.exe.

I did this, and it seems have a problem when I run my program on a machine with XP sp1,  it pops up a dialog showing the progress bar that I hate to see. I supposed the installing of using API is silent, ...

Thanks in advance.



Answer this question

Could anybody help me with a problem of DirectX installation?

  • Yann

     KindSword wrote:

    I want to silently install DirectX 90c and handle the return code, I decided to use DirectXSetup API instead of DXSetup.exe because there is no any doc talking about the return value of DXSetup.exe.

    I did this, and it seems have a problem when I run my program on a machine with XP sp1,  it pops up a dialog showing the progress bar that I hate to see. I supposed the installing of using API is silent, ...

    Thanks in advance.

    If you are using the DirectSetup API then you can register your own status callback.  The default one displays the progress bar.  See the documentation or the DxInstall sample.



  • RenRen

    You could copy the relevant files to their appropriate directories but from a end-user point of view this is probably not a good idea as the DXSetup and DirectXSetup API gives the user a status bar to provide a way of measure so that if something goes wrong that the end-user knows. Right I have to either quit the installation application or do something else.

    So far I haven't yet implemented a silent installation but someone else might've and might come along and assist you.

    I hope this helps.
    Take care.


  • Could anybody help me with a problem of DirectX installation?