Preptool-Based Installation Removes Some Adapters

ID: Q232591


The information in this article applies to:


SYMPTOMS

After you use the Preptool utility to prepare a Windows 98 installation package for distribution and then run Windows 98 Setup with this package, all hardware and network-related components are removed from the installation. However, after your computer restarts, your hardware is enumerated and the network components are installed, with the following exceptions:


CAUSE

This issue occurs because the adapters listed earlier in this article are optional components that cannot be added by the hardware detection process.


RESOLUTION

To work around this issue, use a text editor (such as Notepad) to modify the Msbatch.inf file located in the Windows folder:

  1. If the Msbatch.inf file exists in the Windows folder, skip to step 2. If the Msbatch.inf file does not exist in the Windows folder, use a text editor (such as Notepad) to create a file containing the following information at the top of the file:
    
    [Version]
    Signature=$chicago$ 
    Save this file in the Windows folder, and name it Msbatch.inf.


  2. Open the Msbatch.inf file, place the following sections below the [Version] section, and then save the file:
    
    [Strings]
    KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
    
    [Preptool]
    AddReg=DUN
    
    [DUN]
    HKLM,%KEY_INSTALLEDCOMPS%\^RNA,,,"DUN - RNA"
    HKLM,%KEY_INSTALLEDCOMPS%\^RNA,IsInstalled,1,01,00,00,00
    HKLM,%KEY_INSTALLEDCOMPS%\^RNA,Version,,"3,0,0,0"
    HKLM,%KEY_INSTALLEDCOMPS%\^RNA,StubPath,,"rundll rnasetup.dll,installoptionalcomponent rna"
    HKLM,%KEY_INSTALLEDCOMPS%\^VPN,,,"DUN - VPN"
    HKLM,%KEY_INSTALLEDCOMPS%\^VPN,IsInstalled,1,01,00,00,00
    HKLM,%KEY_INSTALLEDCOMPS%\^VPN,Version,,"3,0,0,0"
    HKLM,%KEY_INSTALLEDCOMPS%\^VPN,StubPath,,"rundll rnasetup.dll,installoptionalcomponent vpn"
    HKLM,%KEY_INSTALLEDCOMPS%\TV,,,"Web-TV"
    HKLM,%KEY_INSTALLEDCOMPS%\TV,IsInstalled,1,01,00,00,00
    HKLM,%KEY_INSTALLEDCOMPS%\TV,Version,,"3,0,0,0"
    HKLM,%KEY_INSTALLEDCOMPS%\TV,StubPath,,"rundll32.exe advpack.dll,LaunchINFSection epg.inf,TVX.Install,,n" 


  3. Restart your computer.



STATUS

This behavior is by design.

Additional query words:


Keywords          : kbsetup kbtool kbui win98 
Version           : WINDOWS:
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: July 28, 1999