Numinous Posted October 22, 2003 Share Posted October 22, 2003 edit :: updated final versionafter a wee bit of jiggery pokery, i've made a batch that'll hijak dxwebsetup.exe and create a directx9.0b install that you can squeeze down to just under 7mb's in size..create a folder and call it hijakgo here and download dxwebsetup.exe and place it in your hijak folderdownload the cabsdk from here, extract it, open the bin folder and copy cabarc.exe to your hijak foldersave this script as hijak.cmd and place it in your hijak folderedit :: this is the updated script@echo offtitle Hijaking DX ... Please Waitmd .\directxmd .\dxtmpcopy %systemroot%\system32\DirectX\websetup\*.* .\dxtmp >NULmd .\bdaxpcabarc x .\dxtmp\bda_wxp.cab .\bdaxp\ >NULcabarc -m LZX:21 n .\directx\bdaxp.cab .\bdaxp\*.* >NULdel .\dxtmp\bda_wxp.cab >NULrd /s /q .\bdaxpmove .\dxtmp\dsetup32.dll .\directx >NULmove .\dxtmp\dsetup.dll .\directx >NULmd .\dxntfor %%i in (.\dxtmp\*.cab) do cabarc x %%i .\dxnt\ >NULcabarc -m LZX:21 n .\directx\dxnt.cab .\dxnt\*.* >NULrd /s /q .\dxntrd /s /q .\dxtmpread all of the next paragraph and make sure you understand it before you do anythingexecute dxwebsetup.exe and follow the prompts so that setup starts to download the components.. this is where you gotta be quick.. when its finished downloading and a split second after it starts to copy files, double click hijak.cmd and wait for it to finishwhen hijak.cmd has finished you should be left with a directx folder containing these filesbdaxp.cabdsetup32.dlldsetup.dlldxnt.cabdowload the hexed dxsetup.exe here and place it in your newly created directx foldercompress the files with winrar as a sfx package that runs silently with no switch's.. thanks RyanVM ..heres how..select the five files in your directx folder, right click on one and select 'add to archive...', give your archive a name, change compression method to best, tick 'Create SFX archive', select the Advanced tab at the top and click the SFX options button, in the 'Run after extraction' text box type 'dxsetup.exe /opk', select the modes tab at the top, tick 'Unpack to temporary folder', Silent mode set to Hide all, Overwrite mode set to Overwrite all files, click ok, click ok ..job donei must say that RyanVM has added a link to a pre built exe for anyonce not wanting to try the method.. but ..for anyone using a different language your better off building your own.. this works for all language versions of dxwebsetup.exeas an extra bonus heres a link to the pretty little directx icon.. right click and save target as.. cant believe i downloaded a 200+mb sdk for a little icon lol Link to comment Share on other sites More sharing options...
flyakite Posted October 22, 2003 Share Posted October 22, 2003 Umm... the DirectX 9.0b OPK .exe file that was posted here before is only 11.2 MB in size, and installs with no switches, so I'm not quite sure what the point of this method is. Link to comment Share on other sites More sharing options...
Numinous Posted October 22, 2003 Author Share Posted October 22, 2003 true but this should work with every directx websetup.. if a new version ever is released.. up to you if you use it Link to comment Share on other sites More sharing options...
XtremeMaC Posted October 22, 2003 Share Posted October 22, 2003 why not just put the hexed .exe in to the archive we already have which is non opk? this is what the guide tellswww.MSFN.org\unattended\xp\index.htm Link to comment Share on other sites More sharing options...
Numinous Posted October 22, 2003 Author Share Posted October 22, 2003 theres quite a difference in size.. its no different apart from that.. totally up to you which you use.. could crunch it down more by changing the compression type with the cabarc command.. it works out at 10.9mb's and can go lower.. obviously its easier downloading DaveXP's opk ..i wanted to see if i could do it cause i knew dxwebsetup downloaded around 8mb's for a setup, the only problem was the download doesnt contain the dll's and exe.. thats where the other mb's comes from.. maybe someone knowledgable in other areas could crunch this up some more.. i havent finished with it yet ..i only came up with it today and gonna try lzx compression on the cabs, as it stands though it worksthe main feature of this is the only other way to create an install like this is to download a 200+ mb directx sdk and even then its a headache creating the install ..this'll save you 200+ mb's worth of download time and its easy to do edit :: changed the linecabarc n .\directx\dxnt.cab .\cabtmp\*.* >NULtocabarc -m LZX:21 n .\directx\dxnt.cab .\cabtmp\*.* >NULinstall is now 9.2mb's and guessing i can still go lower Link to comment Share on other sites More sharing options...
Numinous Posted October 22, 2003 Author Share Posted October 22, 2003 im as far as i can go with it now.. the installs down to 9mb's.. heres the new hijak.cmd@echo offtitle Hijaking DX ... Please Waitmd .\directxmd .\dxtmpcopy %systemroot%\system32\DirectX\websetup\*.* .\dxtmp >NULmd .\bdaxpcabarc x .\dxtmp\bda_wxp.cab .\bdaxp\ >NULcabarc -m LZX:21 n .\directx\bdaxp.cab .\bdaxp\*.* >NULdel .\dxtmp\bda_wxp.cab >NULrd /s /q .\bdaxpmove .\dxtmp\dsetup32.dll .\directx >NULmove .\dxtmp\dsetup.dll .\directx >NULmd .\dxntfor %%i in (.\dxtmp\*.cab) do cabarc x %%i .\dxnt\ >NULcabarc -m LZX:21 n .\directx\dxnt.cab .\dxnt\*.* >NULrd /s /q .\dxntrd /s /q .\dxtmpim guessing this can be compressed a bit more by a packager of some kind Link to comment Share on other sites More sharing options...
RyanVM Posted October 22, 2003 Share Posted October 22, 2003 Neato And for those who don't like using switches, you could pack it with WinRAR to run silently. Link to comment Share on other sites More sharing options...
Numinous Posted October 22, 2003 Author Share Posted October 22, 2003 superb thanks RyanVM its now 7mb's and silent even gave it a nice directx icon no switches .. i like it .. i like it a lotedit :: main post is updated Link to comment Share on other sites More sharing options...
RyanVM Posted October 23, 2003 Share Posted October 23, 2003 Double neato now!EDIT: Actually, I like the idea so much that I'm willing to host the file if someone wants to send it to me already finished (*ahem*Numinous*ahem*). AIM: RyanVM Link to comment Share on other sites More sharing options...
RyanVM Posted October 23, 2003 Share Posted October 23, 2003 Well, I got impatient with waiting, so I went and did it myself . I'm happy to say it works perfectly (I already tested it with VPC) and it weighs in at only 6.86MB . No switches required, just call the exe and watch it go!I'm hosting it on my FTP just for the MSFN crowd. I respectfully ask that you not distribute this link outside of these forums, as I only have so much bandwidth to go around.dead linkPS - Sorry Numinous, no pretty icon on mine Link to comment Share on other sites More sharing options...
Numinous Posted October 23, 2003 Author Share Posted October 23, 2003 good job RyanVM.. sorry bout the delay i was sleeping ..but i see you took matters into your own hands good job you may get a few hits this is unique to MSFN but i know theres quite a few people on the net that wouldnt mind a method like this would you mind if i added your link to the original post??heres a link to the pretty little iconright click and save target as Link to comment Share on other sites More sharing options...
Numinous Posted October 23, 2003 Author Share Posted October 23, 2003 i had to bump this as i think this is worth knowing..if you make a setup.iss silent install script for an installshield setup you only need the command line setup.exe -s as long as the setup.iss file is in with the setup.exe..very handy to know if your repackaging your applications up with winrar.. superb tip btw RyanVM im repackaging everything Link to comment Share on other sites More sharing options...
DaveXP Posted October 23, 2003 Share Posted October 23, 2003 (edited) Here is a swithless MSN Messenger 6.0You can download it from myftpREMOVED CHECK NEXT PAGE you will need to copy and paste in to the brower.Username: MSFNPassword: MSFNthe file is MsnMsga.EXEto go with your sliped down DirectX9bbtw, the password is case sentive. in should be small letter but it wont let me put it as small letters. Edited October 23, 2003 by DaveXP Link to comment Share on other sites More sharing options...
GreenMachine Posted October 23, 2003 Share Posted October 23, 2003 ftp:\\192.168.0.242:21Good one DaveXP! I know I've seen that number before ... Don't forget WMP9MM2, and I have a MDAC 2.8 silent ... Link to comment Share on other sites More sharing options...
Numinous Posted October 23, 2003 Author Share Posted October 23, 2003 cheers Dave your a diamond Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now