Dreamer2003 Posted June 10, 2004 Share Posted June 10, 2004 Question:I have 2 pc's with difrend boards and videocards.Is it posible to make a menu that gif's you the option to select the card/chipset type you need to install? ----->VIA/INTEL/SIS____NVIDIA/ATI.... and sound<-----So that I can use one cd/dvd for 2 pc'sIt must run after the selection in sillent mode again. Link to comment Share on other sites More sharing options...
GreenMachine Posted June 10, 2004 Share Posted June 10, 2004 You think your users are better at knowing the hardware than XP?Let XP install the drivers, then in your install script, determine which driver has been installed, either by the registry, or a known file.Remember Murphy's Law, and that computers always do as they are told. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted June 10, 2004 Share Posted June 10, 2004 you can simply put your drivers in the XPCD\$OEM$\$1\Drivers folder if they are supported and hardware it's detected will be installed without problems. also i haven't been sucessful in slipstreaming the catalyst drivers and i add to my startup folder a shotcut to the catalyst installation. if you are in the other pc simply cancel installation or install them in the pc with the ati card. Link to comment Share on other sites More sharing options...
Alanoll Posted June 10, 2004 Share Posted June 10, 2004 i have ATI Catylyst from 4/21 or something around there, and they work fine in my unattended setup. I guess I better update soon. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted June 10, 2004 Share Posted June 10, 2004 i have ATI Catylyst from 4/21 or something around there, and they work fine in my unattended setup. I guess I better update soon.@Alanoll did u use the XPCD\$OEM$\$1\Drivers folder?? did u use the standart catalyst version or omega one?? i know that recently have been released a new version (4.6) but i haven't test it yet Link to comment Share on other sites More sharing options...
FrankE9999 Posted June 10, 2004 Share Posted June 10, 2004 (edited) I've done something similar using windows scripting. I created two files installVideo.bat and installVideo.vbs. The batch files calls the vbs file and then uses the return code to determine if a specific hardware device is present. Note that it is cleaner to just call the Run command from the vbs file but Norton AV didn't like this.installVideo.bat@echo offcscript /nologo "%~dp0installVideo.vbs"if errorlevel 1 goto :Skip1rem put your application here in place of notepad.start /wait notepad :Skip1installVideo.vbsOn Error Resume Nextsql="Select * from Win32_VideoController"strPNPSearchFor="PCI\VEN_1002&DEV_5046&SUBSYS_00281002&REV_00"Set WshShell = WScript.CreateObject("WScript.Shell")strComputer = "."Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")Set colItems = objWMIService.ExecQuery(sql,,48)For Each objItem in colItems strPNPDeviceID = CStr(objItem.PNPDeviceID) WScript.Echo InStr(strPNPDeviceID, strPNPSearchFor) if InStr(strPNPDeviceID, strPNPSearchFor) then rem WshShell.Run ("notepad") 'Problem with Norton AV WScript.Quit 0 end ifNextWscript.Quit 1Use the Scriptomatic Utility to build the sql strings for the type of device you are looking for (http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=9ef05cbd-c1c5-41e7-9da8-212c414a7ab0). You can also use it to determine the PNP ID of your devices or use something like Unknown Device Identifier ( http://www.halfdone.com/Development/UnknownDevices/URL fixed! Edited June 11, 2004 by gamehead200 Link to comment Share on other sites More sharing options...
GreenMachine Posted June 11, 2004 Share Posted June 11, 2004 Sorry, I have to butt in here ...As a software developer, I believe THIS article. The software you linked to is ... not good. Please read this link, and if you agree, link to the correct version of the program, and not the ... other.For PCI identification, nearly all available software is based on Craig Hart's PCI work. His site has links that should help you find what you need.EDIT:: Link above has been changed to that of the original software, not the low life stolen version. Shame on you, you software thief. Link to comment Share on other sites More sharing options...
Wraith Posted June 11, 2004 Share Posted June 11, 2004 I agree with GM. A friend of mine got burnt when trying to figure out which one of those programs were the original. He got the version with the nasty batch file bug.Can I suggest a moderator remove the URL to the crappy one? Link to comment Share on other sites More sharing options...
gamehead200 Posted June 11, 2004 Share Posted June 11, 2004 I agree with GM. A friend of mine got burnt when trying to figure out which one of those programs were the original. He got the version with the nasty batch file bug.Can I suggest a moderator remove the URL to the crappy one?Is it fixed now? Did I fix the right one? Link to comment Share on other sites More sharing options...
GreenMachine Posted June 11, 2004 Share Posted June 11, 2004 You da man! Link to comment Share on other sites More sharing options...
sleepnmojo Posted June 11, 2004 Share Posted June 11, 2004 Remember Murphy's Law, and that computers always do as they are told.Until they try to kill you Link to comment Share on other sites More sharing options...
Alanoll Posted June 11, 2004 Share Posted June 11, 2004 Remember Murphy's Law, and that computers always do as they are told.Until they try to kill you like i I, Robot? The new Will Smith movie coming out? (sorry off topic, but couldn't resist) Link to comment Share on other sites More sharing options...
[BM]Crusher Posted June 11, 2004 Share Posted June 11, 2004 if you reaaaally wanted to integrate a menu system where you can choose what drivers to install... why not use WPI to do this?personally i believe in the $OEM$\$1\Drivers install method for all hardware is definitely the best...but... if you desperately wanted a menu, use WPI you could have tick boxes for the driver software... you could make one tick box that does multiple installs too so it would be easy Link to comment Share on other sites More sharing options...
squallgreg Posted June 18, 2004 Share Posted June 18, 2004 what is WPI ? how can i use it ? Link to comment Share on other sites More sharing options...
[BM]Crusher Posted June 18, 2004 Share Posted June 18, 2004 WPI ThreadIt uses HTA and Javascript...all you have to do is edit the files in WPISCRIPTS directory... it's pretty self explanatory (I'd never used java and worked it out)...I run it from cmdlines.txt:wpi.cmdwpi.cmd:@start /wait %systemdrive%\install\wpi\WPI.hta@start %systemdrive%\install\install.cmdPut the WPI folder into $OEM$\$1\installPut the wpi.cmd in your $OEM$ folder where cmdlines.txt isNote: the install.cmd is actually created by WPI.. .you do not need to put an install.cmd in your $1\install directory 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