geoil Posted January 9, 2008 Posted January 9, 2008 (edited) Sorry becouse I post first time incomplete, bad internet connection.If you have an nVidia graphic card, like me (NVIDIA GeForce 7300 GT ) and you like to install the Nvidia Forceware Graphics Drivers (93.71 or 169.21 ForceWare) silent, from your RunOnceEx.cmd, then you must do the steps: - run the installer (witch is an InstallShield Web Archive with setup.exe inside) and choose an directory where he will be unpacked; - click Next button and after the files are unpacked, the setup will ask you if you want to install the driver; - click Cancel button becouse is not need to install the driver ( the files from the package will stay in the choosen directory); - in this directory you will find a file named setup.iss - open this file with notepad or any other text editor; - in this file you will see something like this: [installShield Silent] Version=v7.00 File=Response File [File Transfer] OverwrittenReadOnly=NoToAll [{EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-DlgOrder] Dlg0={EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdWelcome-0 Count=2 Dlg1={EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdFinishReboot-0 [{EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdWelcome-0] Result=1 [{EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdFinishReboot-0] Result=6 BootOption=3 - modify the last 2 lines from the file with: Result=1 and BootOption=0 - your file looks like this now: [installShield Silent] Version=v7.00 File=Response File [File Transfer] OverwrittenReadOnly=NoToAll [{EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-DlgOrder] Dlg0={EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdWelcome-0 Count=2 Dlg1={EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdFinishReboot-0 [{EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdWelcome-0] Result=1 [{EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdFinishReboot-0] Result=1 BootOption=0 - save the file. - the directory who keep the file moveit to $OEM$\$1\Drivers for exemple. - now you can add to your RunOnceEx.cmd the following linesREG ADD %KEY%\003 /VE /D "NVidia ForceWare Graphics Drivers" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\Drivers\[Your_Directory_Name]\setup.exe /s /a /s /sms /f1 \"%systemdrive%\Drivers\[Your_Directory_Name]\setup.iss\"" /f - the setup file will read the parameters from the setup.iss fileP.S. excuse my bad english. Edited January 9, 2008 by geoil
zmin Posted January 12, 2008 Posted January 12, 2008 Thanks. I'd rather use older version like 77 with nvidia coolbits regkey because i don't like the new versions' control panel.But i prefer installing it manually. If i check the "delete files after install (plug and play only)" box when integrating nvidia drivers i'm not sure it would work. I also need the extra space.
biatche Posted January 12, 2008 Posted January 12, 2008 /f1 \"%systemdrive%\Drivers\[Your_Directory_Name]\setup.iss\is the above precisely correct?
geoil Posted January 12, 2008 Author Posted January 12, 2008 (edited) Yes, it is corect.In the compressed package of ForceWare exist this file named setup.iss. This file is the file where are the silent install values. When you install manualy the driver, setup.iss is copied in yor windows directory, and he will contain the values of your install. Same mode of silent install of the driver are used by the others producer (Asus for example). Asus have the simillar ways to install the drivers, the difference is setup.iss contain the real silent install value. Comand for new Asus drivers for mainboards is:setup.exe -s -f2c:\audio.logfor installing audio drivers.If can do like this: put in your $OEM$\$1\Drivers\Video the package driver 93.71_forceware_winxp2k_english_whql.exe, then create with notepad or any other text editor a file named setup.iss (or any name you want for her but he must have the extension iss - I name this file 93.71_forceware.iss) and write in this:[installShield Silent]Version=v7.00File=Response File[File Transfer]OverwrittenReadOnly=NoToAll[{EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-DlgOrder]Dlg0={EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdWelcome-0Count=2Dlg1={EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdFinishReboot-0[{EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdWelcome-0]Result=1[{EFB7D050-CAD2-11D4-B34D-00105A1C23DD}-SdFinishReboot-0]Result=1BootOption=0Put this saved file in your $OEM$\$$ and write in your RunOnceEx.cmd:REG ADD %KEY%\003 /VE /D "Nvidia ForceWare Graphic Driver 93.17" /fREG ADD %KEY%\003 /V 1 /D "%cdrom%\$OEM$\$1\Drivers\Graphic\93.71_forceware.exe /s /a /s /sms /f1"c:\windows\93.71_forceware.iss" /f2"c:\93.71_forceware.log"" /fI assume you will install your windows on drive C. Insted the C:\ put your path. When you instll WinXP the file 93.71_forceware.iss is copied in your windows directory. The log file is necessary for viewing your installing errors (if any). If you don't specify the log you will not have one.Another way for installing the driver directly from the CD/DVD is unnpack the driver package and replace the setup.iss with the one modified. In this case you can write in your RunOnceEx.cmd:cmdow @ /HID@Echo OffFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\WIN51IP.SP2 SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Drivers" /fREG ADD %KEY%\003 /VE /D "Nvidia ForceWare Graphic Driver 93.17" /fREG ADD %KEY%\003 /V 1 /D "%cdrom%\$OEM$\$1\Drivers\Graphic\setup /s /a /s /sms /f1"%cdrom%\$OEM$\$1\Drivers\Graphic\93.71_forceware.iss" /f2"c:\93.71_forceware.log"" /f Edited January 12, 2008 by geoil
reuphong Posted January 12, 2008 Posted January 12, 2008 If you put setup.iss in the same folder with setup.exe you don't need to use switch [/f] just run setup.exe /s
biatche Posted January 12, 2008 Posted January 12, 2008 im not too sure why its not working for me, maybe i made some careless mistakes, but care to explain the switches please?/s im sure its silentwhat's/a/s (huh, repetition!?)/sms/sms/f1 or f2 and so on?
radix Posted January 12, 2008 Posted January 12, 2008 but care to explain the switches please?/s im sure its silentwhat's/a/s (huh, repetition!?)/sms/sms/f1 or f2 and so on?http://www.appdeploy.com/tips/detail.asp?id=18
geoil Posted January 13, 2008 Author Posted January 13, 2008 If you put setup.iss in the same folder with setup.exe you don't need to use switch [/f] just run setup.exe /sYes reuphong, you right. I omit to say that. The switch are:/a --> Add following parameters to the archived setup.exe./s --> Silent install *.exe./sms --> Wait command, if second process is spawned./f1 --> Recorded file location./f2 --> Log file location.I am not sure what is the reson for witch you must put the switch /s twice, and I don't want to say something stupid.
biatche Posted January 14, 2008 Posted January 14, 2008 Where did you get all that information from? I googled, can't find the switch parameters for it. I wanna look for all possible commands
reuphong Posted January 14, 2008 Posted January 14, 2008 Where did you get all that information from? I googled, can't find the switch parameters for it. I wanna look for all possible commandsThis site might help http://unattended.sourceforge.net/installers.php
biatche Posted January 15, 2008 Posted January 15, 2008 what does result=6 changed to result=1and boot=1 to boot=0 really do behind the scene?
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