TheTechGuide Forum

General Category => Software => Topic started by: Anonymous on January 08, 2003, 11:23:33 PM

Title: Install DirectX 9 Unattended
Post by: Anonymous on January 08, 2003, 11:23:33 PM
Microsoft for some reason did not want us to install this silently. Atleast not without downloading the 223MB SDK (Software Development Kit) along with it. (Atleast that is what the DX folks at microsoft tell me) The SDK is way to bulky and to much of a pain to deal with. I Dont understand why they wanted to do this but they did. There is a way to get around it.

Go to http://www.hiddensoft.com/AutoIt (http://\"http://www.hiddensoft.com/AutoIt\") and download AutoIt - Zipped Version (includes Aut2Exe & Exe2Aut).

Go ahead and extarct the contents of the DX9 package this package to a folder named dx9. Since Microsoft did not include the silent install feature we can use an AutoIt script to do it.

Here is the AutoIt Script I made to do this:

; DirectX AutoIt Installation Scrpit
; OS:     Windows XP
; Author: Jeramie Lorson

HideAutoItWin, On
Run, path_todxsetup.exe
WinWaitActive, Installing Microsoft® DirectX®
Send, {TAB}
Send, {ENTER}
WinWaitActive, Installing Microsoft® DirectX®
Send, {ENTER}
Sleep, 60000
Send, {ENTER}
Exit

DirectX 9 Installation Command:

path_toAutoIt.exe /path_todx9.aut

It\'s not really a silent install because you can see whats going on but it is unattended. I also think AutoIt will be a big help in installing all kinds of stuff that has these same problems.
Title: Install DirectX 9 Unattended
Post by: Anonymous on January 10, 2003, 05:48:17 AM
it\'s great but can we integrated in an unattened.txt for install with win xp in an $OEM$$1 folder like with dx8.1?
Title: Install DirectX 9 Unattended
Post by: Anonymous on January 11, 2003, 12:24:30 AM
I beleive if you simply put it in the $OEM$ folder it will put it in %SYSTEMDRIVE% during setup. If you create a batch file to run it from GUIRunOnce or Commandlines.txt it should work just fine. Can anyone verify this?
Title: Install DirectX 9 Unattended
Post by: mee on January 17, 2003, 11:40:55 AM
Hi
  I already try this way it \'s very good. i put DirectX 9 files in to $OEM$S1 and put command in GUIRunonce \"%HOMEDRIVE%DirectX9dx9setup.exe It\'s work very well for me and my friend.
  dx9setup.exe is create by auto2exe use the script up there.
Title: Install DirectX 9 Unattended
Post by: Bipsen on January 19, 2003, 02:37:22 PM
Simply put this file in the same dir as where you have extracted the directx 9 files (use winrar or similar to uncompress the dx9-exe-file - you should end up wit 2 directories named DirectX9 and License). Plase the DxInst.exe file in the direct9x folder - in a bat-file cd into the directory where the dxsetup.exe and DxInst.exe files are located - and just start DxInst.exe
Title: Install DirectX 9 Unattended
Post by: Jazkal on January 27, 2003, 12:46:13 PM
I created a silent install for DirectX 9.0 that works on both Win2k and WinXP. It is a stand alone EXE 33mb in size.

I used SMS Installer to create it.

If someone can spare the space, I could upload it. I just don\'t have anywhere to put it so everyone can download it.
Title: Install DirectX 9 Unattended
Post by: Jazkal on January 30, 2003, 11:28:58 AM
Ok, I\'ve uploaded it to The TechGuide. It should be in the downloads section soon.

Jazkal
Title: Install DirectX 9 Unattended
Post by: Josetann on January 31, 2003, 10:36:11 AM
You can get the files at:

www.thetechguide.com/downloads/dx9setup.exe (http://\"http://www.thetechguide.com/downloads/dx9setup.exe\")
www.thetechguide.com/downloads/dx9setup.ipf (http://\"http://www.thetechguide.com/downloads/dx9setup.ipf\")
www.thetechguide.com/downloads/info.txt (http://\"http://www.thetechguide.com/downloads/info.txt\")

Later I will zip these up both with and without the dx9setup.exe (dx9setup.ipf looks to be the file needed), so the above links may not work later.
Title: Install DirectX 9 Unattended
Post by: Jazkal on January 31, 2003, 04:51:53 PM
The EXE file is what you will need to do the install of DirectX 9.

I included the IPF file because it is the source code for creating the EXE file. But to mess around with the IPF you must have Microsoft SMS Installer or Wise Installer.

So if you just want to do the install, just download the EXE and TXT file.

Jazkal
Title: Install DirectX 9 Unattended
Post by: clcont on February 01, 2003, 11:45:55 PM
Unattended install of DirectX 9 OPK:

http://oem.microsoft.com/worldwide/script/517830.asp (http://\"http://oem.microsoft.com/worldwide/script/517830.asp\")
Title: Install DirectX 9 Unattended
Post by: Anonymous on February 05, 2003, 10:37:45 AM
Thanks for the link above.... but I think most of us (like me) just cannot access the microsoft OEM web site.... Need a login and password for that...
Can anybody go and watch there what the solution is to install DirectX 9.0 silently, and then come back to tell us the whole story ?

Thanks a lot,
 Dave.
Title: Install DirectX 9 Unattended
Post by: Burner on February 07, 2003, 02:49:53 PM
The DirectX 9.0 OPK is a silent install, however I added the /q switch to mine.
Anyone have a location I could upload the file to??
Title: Install DirectX 9 Unattended
Post by: Anonymous on February 07, 2003, 08:23:08 PM
The DX9 SDK is simply a silent installer. You have nothing special to do at all. No silent switches or anything that could possibly be complicated. If you wanted to you could just double click the DX9 SDK Exicutable. No window, or anything pops up and DX9 is installed.
Title: Install DirectX 9 Unattended
Post by: Anonymous on February 08, 2003, 10:26:05 PM
how?  I have downloaded DirectX9 but how do i install it
Title: Install DirectX 9 Unattended
Post by: edmon_cu on February 12, 2003, 01:36:31 PM
I think you can still make DX9 install in unattended mode if you use the old DX8\'s DXSETUP.EXE.

I did it using that and it unattended\'ly installed from my slipstreamed win2ksp3 installer.
Title: Install DirectX 9 Unattended
Post by: Jazkal on February 12, 2003, 06:35:48 PM
Download:
www.thetechguide.com/downloads/dx9setup.exe

and run:
dx9setup.exe /s

It installs Silently.
Title: Install DirectX 9 Unattended
Post by: Anonymous on February 16, 2003, 12:36:52 AM
Can you show me how to do this script make me an example where to put this script at and how to run this script I am very appreciated.
Title: Install DirectX 9 Unattended
Post by: Burner on February 18, 2003, 03:47:51 PM
Here is the lines from my batch file (MPlay9.bat)

start /wait %SystemRoot%OptionsCabsMPSetupXPsetup_wm.exe /Q /C:\"SETUP_WM /Q:A /R:N\"

exit

Unattend Setup copys the required files over which are placed at $oem$$$OptionsCabsMPSetupXP


Good Luck!
Title: Install DirectX 9 Unattended
Post by: Anonymous on February 18, 2003, 08:53:35 PM
That looks great for MP9... How about DX9? /smile.gif\' class=\'bbc_emoticon\' alt=\':)\' />
Title: Install DirectX 9 Unattended
Post by: Burner on February 19, 2003, 11:53:13 AM
Doh! Sorry about that.

start /wait %SystemRoot%OptionsCabsOPKToolsDX9XPopk.exe /Q

Unattend Setup copys the required files over which are placed at $oem$$$OptionsCabsOPKTools

Note that OPK may not require the /Q switch however works great for me.
Title: Install DirectX 9 Unattended
Post by: thibouille on February 23, 2003, 07:04:15 AM
Can\'t manage.

After the installation process none of the files present in the $OEM$ folder and subfolders are copied to the drive.

Any clue ?
Title: Install DirectX 9 Unattended
Post by: Burner on February 24, 2003, 02:15:30 PM
If you are creating a CD place $OEM$ at the root of the CD and if this is a network installation place $OEM$ in the I386 Folder. Hope this helps. If not check your answer file (winnt.sif or unattend.txt) for:

[Unattended]
OemPreinstall=Yes

This must be set to yes in order to copy over the files.

Good Luck!
Title: Install DirectX 9 Unattended
Post by: Anonymous on March 24, 2003, 10:52:54 PM
I decompiled the dxsetup.exe file and found a few switches that may be helpful

/opk
/windowsupdate
/packageinstall

I havn\'t tested yet but this may do what you want
Title: Install DirectX 9 Unattended
Post by: Anonymous on March 25, 2003, 12:03:59 AM
I dug a bit more into dxsetup.exe and found that microsoft have locked the functions out, but they are still there

NOTE: You will need a hex editor to do this
if you change offset 0x33e2 to EB from 74 it will re-enable the commands I stated above.

Then you can run it as below for an un-attended install:
dxsetup.exe /opk
or so you can see the install status:
dxsetup.exe /windowsupdate

there is another switch that I don\'t know what it does:
/installmanageddx
it doesn\'t seem to do anything different.

I am da best
I love breaking microsnot software /smile.gif\' class=\'bbc_emoticon\' alt=\':)\' />
Title: Install DirectX 9 Unattended
Post by: Anonymous on March 27, 2003, 01:30:12 PM
That is perfect!  Thanks!
Title: Install DirectX 9 Unattended
Post by: Anonymous on March 30, 2003, 10:35:33 PM
No problem /smile.gif\' class=\'bbc_emoticon\' alt=\':)\' />
Title: Install DirectX 9 Unattended
Post by: Demi9OD on April 06, 2003, 09:17:16 PM
Any luck so far getting the dx9.0a slipstreamed into a CD?  I got 9.0 to work fine with the hex edit, but I don\'t think MS is providing a redist for 9.0a yet.
Title: Install DirectX 9 Unattended
Post by: LuisSanabria6814 on June 18, 2003, 06:46:46 PM
[quote name=\'Jazkal\' date=\'Jan 31 2003, 03:51 PM\']The EXE file is what you will need to do the install of DirectX 9.

I included the IPF file because it is the source code for creating the EXE file. But to mess around with the IPF you must have Microsoft SMS Installer or Wise Installer.

So if you just want to do the install, just download the EXE and TXT file.

Jazkal[/quote]
 [email protected] ([email protected]) /wacko.gif\' class=\'bbc_emoticon\' alt=\':wacko:\' />
Title: Install DirectX 9 Unattended
Post by: LuisSanabria6814 on June 18, 2003, 07:30:13 PM
[quote name=\'LuisSanabria6814\' date=\'Jun 18 2003, 05:46 PM\'][quote name=\'Jazkal\' date=\'Jan 31 2003, 03:51 PM\'] The EXE file is what you will need to do the install of DirectX 9.

I included the IPF file because it is the source code for creating the EXE file. But to mess around with the IPF you must have Microsoft SMS Installer or Wise Installer.

So if you just want to do the install, just download the EXE and TXT file.

Jazkal[/quote]
[email protected] ([email protected]) /wacko.gif\' class=\'bbc_emoticon\' alt=\':wacko:\' /> [/quote]
 [email protected] ([email protected]) /wub.gif\' class=\'bbc_emoticon\' alt=\':wub:\' /> by the way this is the one i've found to install to my system thanks !
Title: Install DirectX 9 Unattended
Post by: yamuma on July 14, 2003, 05:51:31 PM
so can we get a website tutorial of the slipstreaming with sp 1 and dx 9.0a for winxp anyone?
cheers
Title: Install DirectX 9 Unattended
Post by: AaronXP on July 18, 2003, 01:04:10 PM
hmm... I've extracted the Dx9.0a redist from MS (not the hack redist from olcays site), and opened it in Ultraedit 10 (its got a hex editor). "0x33e2" doesn't seem to exist on dxsetup.exe  /sad.gif\' class=\'bbc_emoticon\' alt=\':(\' />

EDIT: Never mind, sorted it! Had to use Goto Line instead to reach the hex offset  /biggrin.gif\' class=\'bbc_emoticon\' alt=\':D\' />
Title: Install DirectX 9 Unattended
Post by: jj03 on July 30, 2003, 08:33:36 AM
from http://www.msfn.org/unattended/xp/directx.htm (http://\"http://www.msfn.org/unattended/xp/directx.htm\") :

* Extract dx90b_redist.exe
* Open in a hex editor dxsetup.exe and go to offset 0x33e2 and change 74 to EB.
* dxsetup.exe /windowsupdate for unattended installation
* dxsetup.exe /opk for unattended+silent installation
Title: Install DirectX 9 Unattended
Post by: shadow71 on August 25, 2003, 04:09:17 AM
hex editing worked great.

Direct X 9.0b (German)

Bit thanks!!
Title: Install DirectX 9 Unattended
Post by: Guest_Lars on September 09, 2003, 09:54:33 AM
Hey, this seems to work great but I have a problem.

It only works for people with admin rights.  All my users are not admins. /ohmy.gif\' class=\'bbc_emoticon\' alt=\':o\' />
Any suggestions or fixes???

Thanks!
Title: Install DirectX 9 Unattended
Post by: marco41 on January 31, 2004, 10:18:27 AM
[quote name=\'clcont\' date=\'Feb 1 2003, 10:45 PM\']Unattended install of DirectX 9 OPK:

http://oem.microsoft.com/worldwide/script/517830.asp (http://\"http://oem.microsoft.com/worldwide/script/517830.asp\")[/quote]
 please help me to install directx 9
 /sad.gif\' class=\'bbc_emoticon\' alt=\':(\' />  /wink.gif\' class=\'bbc_emoticon\' alt=\';)\' />
Title: Install DirectX 9 Unattended
Post by: Guest on March 06, 2004, 02:59:23 AM
what is un attended install

coz i need this dx9
Title: Install DirectX 9 Unattended
Post by: ahmed essmt on March 10, 2004, 10:41:29 AM
[quote name=\'Anonymous\' date=\'Jan 8 2003, 10:23 PM\']Microsoft for some reason did not want us to install this silently. Atleast not without downloading the 223MB SDK (Software Development Kit) along with it. (Atleast that is what the DX folks at microsoft tell me) The SDK is way to bulky and to much of a pain to deal with. I Dont understand why they wanted to do this but they did. There is a way to get around it.

Go to http://www.hiddensoft.com/AutoIt (http://\"http://www.hiddensoft.com/AutoIt\") and download AutoIt - Zipped Version (includes Aut2Exe & Exe2Aut).

Go ahead and extarct the contents of the DX9 package this package to a folder named dx9. Since Microsoft did not include the silent install feature we can use an AutoIt script to do it.

Here is the AutoIt Script I made to do this:

; DirectX AutoIt Installation Scrpit
; OS:     Windows XP
; Author: Jeramie Lorson

HideAutoItWin, On
Run, path_to\dxsetup.exe
WinWaitActive, Installing Microsoft® DirectX®
Send, {TAB}
Send, {ENTER}
WinWaitActive, Installing Microsoft® DirectX®
Send, {ENTER}
Sleep, 60000
Send, {ENTER}
Exit

DirectX 9 Installation Command:

path_toAutoIt.exe /path_todx9.aut

It's not really a silent install because you can see whats going on but it is unattended. I also think AutoIt will be a big help in installing all kinds of stuff that has these same problems.[/quote]
  /laugh.gif\' class=\'bbc_emoticon\' alt=\':lol:\' />
Title: Install DirectX 9 Unattended
Post by: Mick Brown on March 29, 2004, 07:54:58 PM
http://www.microsoft.com/downloads/details...&displaylang=en (http://\"http://www.microsoft.com/downloads/details.aspx?FamilyId=A6DEE0DB-DCCE-43EA-87BB-7C7E1FD1EAA2&displaylang=en\")

Go here download full version and restart when asked to do so by the installer.

This is the software developer version!

Most of these forums are full of idiots just trying to be clever, but havent a clue, what the are talking about! /mad.gif\' class=\'bbc_emoticon\' alt=\':angry:\' />
Title: Install DirectX 9 Unattended
Post by: idiot on December 14, 2004, 03:25:02 PM
Sooo.....
You have a better idea of what you're talking about?

Do you even have the slightest idea that "unattended" the term means that you shouldn't have to use the default install, next, next, and restart 20 times before you have your system properly installed with all you want?
Title: Install DirectX 9 Unattended
Post by: Guest on February 20, 2005, 03:11:40 PM
[quote name=\'Anonymous\' date=\'Mar 24 2003, 09:52 PM\']I decompiled the dxsetup.exe file and found a few switches that may be helpful
/opk
/windowsupdate
/packageinstall
I havn't tested yet but this may do what you want
[post=\"9047\"]<{POST_SNAPBACK}>[/post]
[/quote]


What decompiler are you using to do this, might be interesting to take some other installs apart and find switches.

~SIMON~