atlas95 Posted October 8, 2004 Posted October 8, 2004 Hello,I've problem with inf file, when I add in one *.cmd file the command for example :rundll32 setupapi,InstallHinfSection DefaultInstall 128 "%SystemRoot%\LSD\maxthon\maxthon.inf"I excecute this in a cmd file when windows is installed, not at t-13 etc because I don't understand how to do.Is it a t-13 command only this?My computer say me in french :---------------------------Erreur---------------------------L'installation a échoué.---------------------------OK ---------------------------I think in english---------------------------Error---------------------------Install failed---------------------------OK ---------------------------I don't know why and so I can install some apps....How to repair this or someone have an other solution to install them?Regards
atlas95 Posted October 8, 2004 Author Posted October 8, 2004 I understand how runonceex work but I want to do if this is correct:(in my runonceex.cmd)REG ADD %KEY%\060 /VE /D "Install of Maxthon" /fREG ADD %KEY%\060 /VE 1 "rundll32 setupapi,InstallHinfSection DefaultInstall 128 "%ProgramFiles%\Maxthon\maxthon.inf""or REG ADD %KEY%\060 /VE /D "Installation de Maxthon" /fREG ADD %KEY%\060 /VE 1 "cmd.exe /c rundll32 setupapi,InstallHinfSection DefaultInstall 128 "%ProgramFiles%\Maxthon\maxthon.inf""Thx
Rodent Posted November 9, 2004 Posted November 9, 2004 hi there,you need to call up the cmd file from cmdlines.txt,like described here:http://www.msfn.org/board/index.php?showto...9302&hl=maxthonrgdsalex
phaeton Posted November 9, 2004 Posted November 9, 2004 You are using more then one set of quotation marks and it is comfusing the rundll command. Try thisREG ADD %KEY%\060 /VE /D "Install of Maxthon" /fREG ADD %KEY%\060 /VE 1 "rundll32 setupapi,InstallHinfSection DefaultInstall 128 /"%ProgramFiles%\Maxthon\maxthon.inf/"" /f
Tsunami Posted November 9, 2004 Posted November 9, 2004 You are using more then one set of quotation marks and it is comfusing the rundll command. Try thisREG ADD %KEY%\060 /VE /D "Install of Maxthon" /fREG ADD %KEY%\060 /VE 1 "rundll32 setupapi,InstallHinfSection DefaultInstall 128 /"%ProgramFiles%\Maxthon\maxthon.inf/"" /fTry it the other way around :REG ADD %KEY%\060 /VE /D "Install of Maxthon" /FREG ADD %KEY%\060 /VE 1 "rundll32 setupapi,InstallHinfSection DefaultInstall 128 \"%ProgramFiles%\Maxthon\maxthon.inf\"" /F
Stinger12348 Posted November 9, 2004 Posted November 9, 2004 if your looking for the Windows Dir, then maybe try %windir% if your looking for the root drive, isn't it %Systemdrive% ? could be wrong, but maybe that helps
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