Internet Explorer Repair command explanation

M

Mike

Can anybody explain what the following command line sequence to "Repair
IE"

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132
%windir%\inf\ie.inf

Just curious as to what exactly each item does....


Thanks
 
R

Ramesh [MVP]

Mike,

InstallHinfSection is an entry-point function exported by Setupapi.dll that you can use to execute a section of an .inf file. And [DefaultInstall] is a section within ie.inf file. Edit the ie.inf file in Notepad and look for [DefaultInstall] section and what it does (optional)

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%\inf\ie.inf

the 132 comes from:

--
128 - Set the default path of the installation to the location of the INF. This is the typical setting.
+4 - If a reboot of the computer is necessary, ask the user for permission before rebooting.
--

For more information, refer to the InstallHinfSection documentation at MSDN:
http://msdn.microsoft.com/library/d...y/en-us/setupapi/setup/installhinfsection.asp

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


Can anybody explain what the following command line sequence to "Repair
IE"

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132
%windir%\inf\ie.inf

Just curious as to what exactly each item does....


Thanks
 
M

Mike

Ramesh,

Thank You for the quick response and details of the command!

Mike,

InstallHinfSection is an entry-point function exported by Setupapi.dll that
you can use to execute a section of an .inf file. And [DefaultInstall] is a
section within ie.inf file. Edit the ie.inf file in Notepad and look for
[DefaultInstall] section and what it does (optional)

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132
%windir%\inf\ie.inf

the 132 comes from:

--
128 - Set the default path of the installation to the location of the INF.
This is the typical setting.
+4 - If a reboot of the computer is necessary, ask the user for permission
before rebooting.
--

For more information, refer to the InstallHinfSection documentation at MSDN:
http://msdn.microsoft.com/library/d...y/en-us/setupapi/setup/installhinfsection.asp

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


Can anybody explain what the following command line sequence to "Repair
IE"

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132
%windir%\inf\ie.inf

Just curious as to what exactly each item does....


Thanks
 
R

Ramesh [MVP]

You're welcome Mike!

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


Ramesh,

Thank You for the quick response and details of the command!

Mike,

InstallHinfSection is an entry-point function exported by Setupapi.dll that
you can use to execute a section of an .inf file. And [DefaultInstall] is a
section within ie.inf file. Edit the ie.inf file in Notepad and look for
[DefaultInstall] section and what it does (optional)

rundll32.exe setupapi,InstallHinfSection DefaultInstall 132
%windir%\inf\ie.inf


<snip>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top