If you have an nVidia graphic card, like me (NVIDIA GeForce 7300 GT
- 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:
Quote
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:
Quote
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 lines
Quote
REG 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 file
P.S. excuse my bad english.
This post has been edited by geoil: 08 January 2008 - 08:01 PM



Help
Back to top










