Silent DirectX Installation
"Research" <[email protected]> Fri, 11 Aug 2006 10:15:22 +0800
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <015201c6bcec$017004a0$4001a8c0@pcbrettwork> |
Hi, According to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/Simplifying_Game_Installation.asp it is recommended to do a silent install of DirectX, but we're having trouble making this work. Our game doesn't need to be installed, so we're running stright from CD. When the CD is inserted, or the application launched, a "launcher" dialog is displayed. If the player clicks "play", then we are calling: ShellExecute(NULL, "open", "DirectX/dxsetup.exe", "/silent", NULL, SW_SHOWNORMAL); But this call doesn't seem to block and returns immediately, so if the player didn't already have the latest DX installed, it would be partway through installation when the game launched and of course this doesn't work. Is there a way or API to run a program and block until it finishes? Thanks, Brett Bibby GameBrains ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555