OK! So scratch all that again!
Firstly a huge thankyou to mr smarty pants for writing such a wonderful batch file! It's a ripper!
So I've managed to get the driver packs working (wasn't hard once you know how. I was thinking I might make a nice little guide and submit it for smartypants approval that it might stop n00b questions like mine. I really think the SAD2 should be included on the driverpacks.net main site, with some instructions. Would get even more people using it! Which could only be a good thing.
Anyway like I said I can run it no worries from the machine. But now I'm just going to try and get it to work unattended. I was thinking of maybe actually just making an sfx that can install first from fog. Or maybe have the SFX in the image to run on first log on.
Just need to make it unattend..
Ok so right now (9pm at night remoting to my machine via teamviewer ha) I followed the steps outlined to make the batch unattend. Brilliant. And now just compressing to a .7zip archive to make into an SFX!
So this is actually a brilliant way to deploy drivers on large scale using Fog! Because the options out there for sticking drivers into windows 7 are basically non-existent. Most people who use Fog or other imaging software besides MDT just install drivers manually or it's not a problem for them. But for us we have many different models and various ages. I tested this driver packs with a P4 IBM with 512mb ram and win 7 installed beautifully from FOG then I manually did used the batch script from smarty pants and it worked brilliantly for drivers. That said Win 7 pretty much was OK for drivers with that old machine. But I also tested it on a newer dual core Dell, 5400? model. Also worked flawlessly.
So what I was hoping for was to be able to do this unattended! And now I can, I think the best way is what I'm doing now. The install seems to run unattend which is great. I will test the SFX tomorrow. So It will be fairly large (1gb approx) but it will have all win 7 x64 drivers in it for new machines. I will make the SFX delete itself after extraction. So it should be good, will test how long it takes. If it is an old machine I will not bother, but if it is new, I will run the SFX (which I'm calling AbraKaDrivers-SFX (because FOG installs SFX alphabetically), and it will do all drivers first. I think this is better than adding them to the image itself because I can easily update an SFX than the entire image, although realistically it would probably be about the same amount of work..
I was thinking if this works well if anyone else wants the SFX maybe I could upload it somewhere to one of those free hosting sites, I know they are annoying but I can't host this myself.
Anyway will report back if it all goes well.
Hmm well small problem, the SFX extracts OK, everything to the right place, and SFX Maker executes the CMD file, however it seems to close it, I suspect because SFX maker perhaps uses cmd line stuff too, it may cancel the SAD tool before it can run. Maybe I need to tell SFX maker to run a .VBS script to launch the DP_Install_Tool..
I might try running a cmd that will then run the DPinstall cmd.. I'm not too sure about vbs', haven't used them much since high school..
Hmm that didn't work either.. Not sure why it won't let the DPinstall run..? Does anyone know a simple .vbs script that could run a cmd file? In this case the DPInstall.cmd?
Hmm.. No matter what I tried I couldn't get it to run, I thought it was crashing but actually it is failing when launched by SFX maker.. for some reason, it says "Win 7 ultimate 64 bit OS
Install on x86 processor
not currently supported
Please exit the program now!
But I can run this fine from a cmd window. And it runs fine when I double click it.. I wonder what is causing it to fail, because of the way that SFX maker calls it?
Ok So i'm just running this from my "setupcomplete.cmd" file which runs on first boot after the system has been imaged. It works fine, but if anyone has any idea how to get this tool to run as an exe? I looked at converting it to an exe but all of the tools were a bit dodgey.. one reportedly had a trojan..
Last edited by andyroo54 (2012-02-08 12:57:00)