Re: [GD-Windows] Silent DirectX Installation
Brought to you by:
vexxed72
From: Mat N. \(BUNGIE\) <Mat...@mi...> - 2006-08-11 04:21:37
|
[Assuming the filters let this through...] =20 You should be able to use ShellExecuteEx with SEE_MASK_NOCLOSEPROCESS = and then call WaitForSingleObject on the returned process handle. =20 MSN ________________________________ From: gam...@li... on behalf of = Research Sent: Thu 8/10/2006 7:15 PM To: Gam...@li... Subject: [GD-Windows] Silent DirectX Installation Hi, According to http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/direct= x9_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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 |