Jump to content

install *.inf problem


Recommended Posts

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 :)

Link to comment
Share on other sites


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" /f
REG ADD %KEY%\060 /VE 1 "rundll32 setupapi,InstallHinfSection DefaultInstall 128 "%ProgramFiles%\Maxthon\maxthon.inf""

or

REG ADD %KEY%\060 /VE /D "Installation de Maxthon" /f
REG ADD %KEY%\060 /VE 1 "cmd.exe /c rundll32 setupapi,InstallHinfSection DefaultInstall 128 "%ProgramFiles%\Maxthon\maxthon.inf""

Thx :}

Link to comment
Share on other sites

  • 1 month later...

You are using more then one set of quotation marks and it is comfusing the rundll command. Try this

REG ADD %KEY%\060 /VE /D "Install of Maxthon" /f

REG ADD %KEY%\060 /VE 1 "rundll32 setupapi,InstallHinfSection DefaultInstall 128 /"%ProgramFiles%\Maxthon\maxthon.inf/"" /f

Link to comment
Share on other sites

You are using more then one set of quotation marks and it is comfusing the rundll command.  Try this

REG ADD %KEY%\060 /VE /D "Install of Maxthon" /f

REG ADD %KEY%\060 /VE 1 "rundll32 setupapi,InstallHinfSection DefaultInstall 128 /"%ProgramFiles%\Maxthon\maxthon.inf/"" /f

Try it the other way around ;):

REG ADD %KEY%\060 /VE /D "Install of Maxthon" /F
REG ADD %KEY%\060 /VE 1 "rundll32 setupapi,InstallHinfSection DefaultInstall 128 \"%ProgramFiles%\Maxthon\maxthon.inf\"" /F

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...