zetto
Jul 26 2004, 01:20 PM
Hey, now that the final DirectX 9.0c has been released, how do we get it to install silently? Any suggestion? Do we need to hex-mod it again, or some switches would work with it?

thanks!
Aaron
Jul 26 2004, 01:50 PM
It won't really be necessary. SP2 is just around the corner now and it will have DirectX 9.0c included
Alanoll
Jul 26 2004, 01:53 PM
unless you're using 2000 or 2003
Aaron
Jul 26 2004, 01:58 PM
hmm. true...
I'll get a modified dxsetup.exe up in a bit
EDIT: Nope no luck, although the old modified exes works, but I can't say for sure how safe this is as there's a 5KB difference between dx9.0c's exe and dx9.0a's exe
prathapml
Jul 26 2004, 03:07 PM
There's no switch available for the redist, you still have to get the OPK-type installer from the right place. Did you read this while downloading dX9C?
QUOTE
DirectX 9.0c has a silent instal (no UI, and no reboot) which is available to Microsoft Volume License Customers (VLC) on the following Microsoft Volume License Site (MVLS). This is a Multi-lingual package which does not require an internet connection during installation.
More details here :
DirectX 9.0c Redistributable for Software Developers - Multilingual Maybe one of you leet people has access to the VLC site?
To post a public link for us all to download?
Alanoll
Jul 26 2004, 03:10 PM
It's not posted yet
AMDTWraith
Jul 26 2004, 03:10 PM
Did they break the DirectXSetup api or will that method still work?
prathapml
Jul 26 2004, 03:15 PM
Nopes!
The directX setup api method will need to be re-done with the new SDK.
The old compiled exe (may or) may not work - and if it did work, there might be some problems - best thing to do would be to remake your exe.
Pyron
Jul 26 2004, 03:28 PM
I hexedited dxsetup.exe at offset 0x359B and changed 0x74 to 0xEB. Then the /OPK switched worked again.
Note that I have done it with the german version, but the old hacks worked for 9.0b, so you may try this.
EDIT: I took the dxsetup.exe from the 9.0c redistributable
--
Pyron
edmoncu
Jul 26 2004, 08:00 PM
QUOTE (Pyron @ Jul 26 2004, 03:28 PM)
I hexedited dxsetup.exe at offset 0x359B and changed 0x74 to 0xEB. Then the /OPK switched worked again.
Note that I have done it with the german version, but the old hacks worked for 9.0b, so you may try this.
--
Pyron
was the dxsetup.exe you hex edit'ed came from the dx9c redistributable?
killerbee
Jul 26 2004, 08:18 PM
hi,
this works for the 9.0c redist mentioned by prathapml earlier in this thread.
hope this helps a bit
cya
Killer Bee
beppemito
Jul 27 2004, 02:20 AM
QUOTE (killerbee @ Jul 26 2004, 08:18 PM)
hi,
this works for the 9.0c redist mentioned by prathapml earlier in this thread.
hope this helps a bit
cya
Killer Bee
can you post the dxsetup.exe hexedited?
the switch? only /opk?
ZoSTeR
Jul 27 2004, 02:39 AM
As I mentioned in the switches forum:
CODE
dxsetup.exe /silent
works.
beppemito
Jul 27 2004, 06:06 AM
can i exclude some useless file?and....
if i install dx9C, can i delete Q839643 from svcpack?
ZoSTeR
Jul 27 2004, 06:24 AM
From the readme:
QUOTE
1) ManagedDX.cab may be excluded if support for DirectX for Managed
Applications is not required for your applications.
2) DirectX.cab and BDA.cab may be excluded if your application is not
supported on version of Windows 95, 98, 98 Second Edition or Millenium.
Q839643 is included in 9c and can't be applied anyway.
killerbee
Jul 27 2004, 06:36 AM
hi,
i won't post a edited M$-file, but you can download
PSPad(a freeware text editor with a cool hex-edit function) and do it yourself. And the switch will be /OPK.
hope this helps a bit
cya
Killer Bee
Aaron
Jul 27 2004, 06:40 AM
There's no need, /silent works like ZoSTeR says
beppemito
Jul 27 2004, 06:53 AM
then i can delete Q839643,can't I?
prathapml
Jul 27 2004, 07:06 AM
Yes, you can delete that patch - that's required only for dX9b, and you have 9C.
And, Ahhhhh !!!!!
sweet proof of my post above. So the the dx9c setup was already unattend-friendly (without needing to be hex-edited) with its /silent switch, eh?
killerbee
Jul 27 2004, 12:04 PM
but hex-editing is so coooooool
cya
Killer Bee
AMDTWraith
Jul 27 2004, 07:51 PM
Can anyone confirm that /silent and /installmanageddx (from the redist notes) work together? I get no error message but the managed extensions aren't installed, win2K if it matters.
Dare
Jul 29 2004, 08:49 AM
Directx9.0C Redist silent install with svcpack.inf
You need is another dxsetup that run with /install /silent swich.
See attch:
Dxsetup.exe /install /silent 137Kb only setup
==================================================
DX9Cred.EXE no swiches
it is repack with IExpress full directx9Credist-Multilanguage support 34214KB.
Sorry cant send this one
Alanoll
Jul 29 2004, 09:15 AM
why do you need another dxsetup.exe when the one already included works with /silent?
SiMoNsAyS
Jul 29 2004, 09:19 AM
mmm... one of those stupid questions... why do you want to install 9.0c silently?? wait one (or a few) week(s) and slipstream xp sp2 that has directx 9.0c and wmp10 built-in
Alanoll
Jul 29 2004, 09:45 AM
SP2 doesn't have WMP10

Also, what about those people who still use Win2k or Win2003?
SiMoNsAyS
Jul 29 2004, 09:58 AM
QUOTE
SP2 doesn't have WMP10


sorry i read this somewhere on the forum
QUOTE
Also, what about those people who still use Win2k or Win2003?
sure Alanoll, i didn't think of that because i do not use that OS
sixpack
Jul 29 2004, 03:23 PM
so were does this go"dxsetup.exe /silent", in svcpack?
and put the unpaked files in update file in I386
asmodai
Aug 6 2004, 02:11 PM
By the way,
when you extract the directx_9c_redist.exe file, the following files can be removed safely (if on XP and I also think 2000):
BDA.cab, BDANT.cab, DirectX.cab, directx redist.txt, and ManagedDX.CAB.
ManagedDX.CAB is of course needed if you specify the appropriate dxsetup.exe flag.
Removing these files shaves off about 19.8 MB.
bigreddastud
Aug 9 2004, 01:15 PM
QUOTE (asmodai @ Aug 6 2004, 02:11 PM)
By the way,
when you extract the directx_9c_redist.exe file, the following files can be removed safely (if on XP and I also think 2000):
BDA.cab, BDANT.cab, DirectX.cab, directx redist.txt, and ManagedDX.CAB.
ManagedDX.CAB is of course needed if you specify the appropriate dxsetup.exe flag.
Removing these files shaves off about 19.8 MB.
What switches make ManagedDX.cab needed on the disc?
nxskingdom
Aug 10 2004, 02:53 PM
Files information:
- BDANT.cab > Windows NT and 2000
- BDAXP.cab > Windows XP (and 2003?)
- DXNT.cab > Windows NT/2000/XP/2003
- BDA.cab > Windows 98 and ME
- Directx.cab > Windows 98 and ME
/silent with the original dxsetup.exe on Windows 2000 (using SVCPack) doesn't work. There are two errors: GDI32.dll and USER32.dll when running dxdiag
====================================
Guide to make a Silent Directx 9.0C install:
1- download directx 9.0c redist
2- extract
3- replace the dxsetup.exe by the new one here (a user already posted it up there)
4- You can delete Directx.cab and BDA.cab if you are running on Windows NT/2000/XP/2003
5- Start > Run > iexpress.exe
6- select "create new self extraction directive file"
7- select "extract files and run an installation command"
8- title: dx90csilent
9- select "no prompt"
10- "do not display a license"
11- add all the extracted files
12- in the first combobox (install program), select "dxsetup.exe" and add this string at the end: " /install /silent". It now should be "dxsetup.exe /install /silent"
13- select hidden
14- select "no message"
15- choose a path where the EXE install will be saved AND check "hide file extracting progress animation from user"
16- select "no reboot"
17- select "don't save"
18- click next
19- Done!
Now you have a full silent install. You can start it where you want (svcpack included).
wuschel
Aug 12 2004, 06:16 AM
All i have to do is to download your attachment? Or do i have to do all the steps like extracting, replaceing,...??
oioldman
Aug 12 2004, 07:36 AM
All i did was extract and run dxsetup.exe with the appropriate switches, which i think was /silent /noreboot and no issues were encountered.
Why the need to use a modified one when the original works perfectly well?
baza23
Aug 12 2004, 11:36 AM
Would this be the correct command to use to put in my install.cmd file?
CODE
ECHO.
ECHO Installing DirectX 9.0C
ECHO Please wait...
start /wait %systemdrive%\install\Applications\DirectX9c\dxsetup.exe /silent /noreboot
prathapml
Aug 12 2004, 11:49 AM
Yes, that's perfect.

(If you're sure that's where you have the installer stored).
baza23
Aug 12 2004, 12:04 PM
QUOTE (prathapml @ Aug 12 2004, 06:49 PM)
Yes, that's perfect.

(If you're sure that's where you have the installer stored).
Yeah I extraced all files into the DirectX9c folder shown in the command i'm going to use.
wuschel
Aug 13 2004, 02:39 AM
My directx9.0c is in the svc-pre folder, but at the installation there ist always a message: "Do you want to install directx 9.0c?" and then i have to reboot, why is this so?
thx
mfg wuschel
oioldman
Aug 13 2004, 02:50 AM
wuschel,
That sounds to me like a mis-spelt switch as one works and the other doesn't. Try using the switches as stated in the post by baza23 which works for eveybody else.
Hope that helps.
wuschel
Aug 13 2004, 02:57 AM
Ok thx
baza23
Aug 13 2004, 04:46 AM
QUOTE (oioldman @ Aug 13 2004, 09:50 AM)
wuschel,
That sounds to me like a mis-spelt switch as one works and the other doesn't. Try using the switches as stated in the post by baza23 which works for eveybody else.
Hope that helps.
I just tried a new disc and it comes up with invalid switch when trying to install directx9c, is there a problem with the command I used.
CODE
ECHO.
ECHO Installing DirectX 9.0C
ECHO Please wait...
start /wait %systemdrive%\install\Applications\DirectX9c\dxsetup.exe /silent /noreboot
I'm pretty sure that the /noreboot switch doesn't work
r4v3n
Aug 13 2004, 07:54 AM
This works for me:
CODE
REG ADD %KEY%\010 /VE /D "DirectX 9.0c" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\DirectX\dxsetup.exe /silent" /f
But it executes very fast in XP SP2 so maybe it is already included in SP2? Anyone knows about this?
ZoSTeR
Aug 13 2004, 08:03 AM
Yes, DirectX 9.0c is included in the Service Pack 2.
prathapml
Aug 14 2004, 12:34 AM
QUOTE (ZoSTeR @ Aug 13 2004, 07:33 PM)
Yes, DirectX 9.0c is included in the Service Pack 2.
LOL, this confirmation is being given for the nth time....
So let me add in my own part - WMP9, and WMM2.1 as well are included in SP2.
shaokahn
Aug 23 2004, 02:34 PM
So, if i put the file directx_9c_redist.exe in the update subfolder of i386 folder of windows xp and add to the file svcpack.inf this line -> directx_9c_redist.exe /silent /noreboot , i'll get this working fine? tks in advance.
PS.: whats the noreboot switch?
Aaron
Aug 23 2004, 02:48 PM
shaokahn, you need to extract it and use the /silent switch on setup.exe. I don't believe /noreboot is a valid switch, not that I've seen it anywhere.
shaokahn
Aug 23 2004, 03:05 PM
Aaron,
ECHO.
ECHO Installing DirectX 9.0C
ECHO Please wait...
start /wait %systemdrive%\install\Applications\DirectX9c\dxsetup.exe /silent /noreboot
this is posted on page4 of this topic, by baza23, thats why i said it.
i've unpacked it and i have several files, should i put them all on /update folder and add the line dxsetup.exe /silent to de svcpack.inf?
tks in advance Aaron.
P.S.: baza23 used a .cmd file, should i use it or svcpack for the directx is enough?
Aaron
Aug 23 2004, 04:39 PM
Yep, it should work fine in svcpack.inf (directx 9.0b did, so 9.0c should!)
NemoNada
Aug 26 2004, 06:01 PM
I tested both methods:
QUOTE
directx_9c_redist.exe /silent /noreboot
and
QUOTE
directx_9c_redist.exe /silent
Using the "/noreboot" switch generates an "invalid command-line switch" message then exits.
Using just the "/silent" switch works great, no screen messages and no reboot. Also running "dxdiag" afterwards shows complete & correct install
Take care,
Jim
"Guam: Where America's Day Begins!"
Alphaz
Sep 26 2004, 05:32 AM
QUOTE (Pyron @ Jul 26 2004, 03:28 PM)
I hexedited dxsetup.exe at offset 0x359B and changed 0x74 to 0xEB. Then the /OPK switched worked again.
Note that I have done it with the german version, but the old hacks worked for 9.0b, so you may try this.
EDIT: I took the dxsetup.exe from the 9.0c redistributable
--
Pyron
can somebody show the file before and after the modification? I don't know about hexediting and can't find that offset 0x359B and 0x74... I have dxsetup.exe opened in PSPad
Thanks for the help in advance
prathapml
Sep 26 2004, 05:51 AM
@Alphaz
No need to hex-edit this version of the dX redist.
As said above, directly use the "/silent" switch to carry out an unattended install of it.
Alphaz
Sep 26 2004, 08:48 AM
QUOTE (prathapml @ Sep 26 2004, 05:51 AM)
@Alphaz
No need to hex-edit this version of the dX redist.
As said above, directly use the "/silent" switch to carry out an unattended install of it.
I know, I read the posts but with [...]\install\Apps\DirectX9\directx9c.exe /silent I get the following screen
Anyway, as the redist is inclluded in XP2, there would be no need to annoy myself doing this, but still I would like to know how to do it... (the little guide posted before does not work either)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.