Help - Search - Members - Calendar
Full Version: Direct9.0c unattended
MSFN Forums > Unattended Windows Discussion & Support > Unattended Windows 2000/XP/2003
Pages: 1, 2

   


Google Internet Forums Unattended CD/DVD Guide
zetto
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? newwink.gif thanks!
Aaron
It won't really be necessary. SP2 is just around the corner now and it will have DirectX 9.0c included smile.gif
Alanoll
unless you're using 2000 or 2003 tongue.gif
Aaron
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
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
It's not posted yet sad.gif
AMDTWraith
Did they break the DirectXSetup api or will that method still work?
prathapml
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
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
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
hi,

this works for the 9.0c redist mentioned by prathapml earlier in this thread.

hope this helps a bit

cya

Killer Bee
beppemito
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? blushing.gif
the switch? only /opk?
ZoSTeR
As I mentioned in the switches forum:

CODE
dxsetup.exe /silent
works.
beppemito
can i exclude some useless file?and....
if i install dx9C, can i delete Q839643 from svcpack?
ZoSTeR
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
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
There's no need, /silent works like ZoSTeR says
beppemito
then i can delete Q839643,can't I?
prathapml
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
but hex-editing is so coooooool thumbup.gif biggrin.gif thumbup.gif

cya

Killer Bee
AMDTWraith
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
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
why do you need another dxsetup.exe when the one already included works with /silent?
SiMoNsAyS
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 whistling.gif
Alanoll
SP2 doesn't have WMP10 tongue.gif

Also, what about those people who still use Win2k or Win2003?
SiMoNsAyS
QUOTE
SP2 doesn't have WMP10 tongue.gif
ohmy.gif sorry i read this somewhere on the forum tongue.gif

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 whistling.gif
sixpack
so were does this go"dxsetup.exe /silent", in svcpack?
and put the unpaked files in update file in I386 blushing.gif
asmodai
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
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
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
All i have to do is to download your attachment? Or do i have to do all the steps like extracting, replaceing,...??
oioldman
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
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
Yes, that's perfect. biggrin.gif
(If you're sure that's where you have the installer stored).
baza23
QUOTE (prathapml @ Aug 12 2004, 06:49 PM)
Yes, that's perfect. biggrin.gif
(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
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
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
Ok thx
baza23
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 sad.gif
r4v3n
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
Yes, DirectX 9.0c is included in the Service Pack 2.
prathapml
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
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?smile.gif
Aaron
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
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
Yep, it should work fine in svcpack.inf (directx 9.0b did, so 9.0c should!) smile.gif
NemoNada
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
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
@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
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)






Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.