[BM]Crusher Posted April 8, 2004 Posted April 8, 2004 Is it possible to do the following:in the GuiRunOnce application installer section of windows, is it possible to add a section:REG ADD %KEY%\001 /VE /D "Advanced Driver Initialisation" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\drivers.cmd" /fand then have the drivers.cmd look something like this:cmdow @ /HID@echo offREM Checking for NForce Audio Driver and installing Audio Utility as requiredif not exist "%windir%\system32\nvmcp.sys" goto skipnforce"%systemdrive%\install\Applications\NVAudio\setup.exe":skipnforceREM Checking for Sound Blaster driversif not exist "%windir%\system32\emu10k.sys" goto skipsb"%systemdrive%\install\Applications\SB\Mixer\setup.exe":skipsbI'm just guessing the file names / paths for this example... I just want to find out if this is possible before I spend hours writing batch files and working out file names etc...also, if someone can correct my syntax, i know for sure that the "if not exist blah goto somewhere" doesn't work at all
XtremeMaC Posted April 8, 2004 Posted April 8, 2004 yes very possible..seems correctand as a matter of fact u can test it just by changing the paths or putting the install folder in the system drive ©
[BM]Crusher Posted April 8, 2004 Author Posted April 8, 2004 sweet... I use my disk a lot to re-install computers here on the test bench (always better to start with a fresh install no bulls*** drivers left over) and I have always wondered how I can make it install the audio utility for the nforce boards (without it installing on every machine)...this seems like a good way to do it? or am i better off getting it to check the registry for hardware keys?
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