Solved

Unattended Installation Batch File Question.

Dear all,

Please provide some tip or guidelines to help me with this script for me to reinstall MDAC.inf unattended.


start/wait rundll32.exe setupapi,InstallHinfSection DefaultInstall 4 c:\Windows\Inf\Mdac.inf


The script runs properly but the only problem is that, it'll prompt for "i386" folder originally in Windows XP cd. I've copied the whole folder to one of our network drive and was wondering is there any commands that could be added to the script above so that it won't prompt for the "i386" folder location so that no user interaction is required? Any advice is very much appreciated. Thank you in advance.
7 answers Last reply Best Answer
More about unattended installation batch file question
  1. Is it asking for the install folder from the source or the destination?
  2. Thanks for the reply lazyperson17.

    Yup, its asking for the source which is the "i386" folder in Windows XP SP2 CD. Can we specify the source location in the script to make the installation invisible to users? Any advice is very much appreciated.
  3. If you dont mind my asking, where is the i386 folder currently located?
  4. I've placed a copy of the i386 folder in our network drive with "G" drive letter. Thank you.
  5. Any feedback is really appreciated. Thank you in advance.
  6. Best answer
    In the registry there is a key you can change.
    HKLM/Microsoft/Windows/CurrentVersion/Setup
    You can change the location of the SP path as well as the original Windows intallation path where Windows will check for any files it may need from those sources.
  7. Best answer selected by gamestx.
Ask a new question

Read More

Configuration Windows XP