[Identification]
OptionType = TAPE
[SystemVariables]
STF_WINDOWSSYSPATH = "" ? $(!LIBHANDLE) GetWindowsNtSysDir
STF_NTPATH = "" ? $(!LIBHANDLE) GetWindowsNtSysDir
STF_WINDOWSPATH = "" ? $(!LIBHANDLE) GetWindowsNtDir
[ExternalInstallOption]
Debug-Output "Entering ExternalInstallOption"
Set !G:DebugOutputControl = 1
set Exit_Code = $(!SETUP_ERROR_GENERAL)
install LoadSetupLibrary
LoadLibrary "x" $(!STF_CWDDIR)setupdll.dll !LIBHANDLE
set STF_CONTROLSET = CurrentControlSet
read-syms SystemVariables
Detect SystemVariables
ifstr(i) $(INF_SECTION) == ""
Debug-Output "INF_SECTION is empty"
goto end
else-ifstr(i) $(STF_LANGUAGE) == ""
Debug-Output "STF_LANGUAGE is empty"
goto end
else-ifstr(i) $(INFFILE) == ""
Debug-Output "INIFILE is empty"
goto end
endif
ifstr(i) $(INF_SECTION) == "InstallOption"
Debug-Output "InstallOption section"
ifstr(i) $(OPTION) == ""
Debug-Output "OPTION is empty"
goto end
else-ifstr(i) $(INITSRC) == ""
Debug-Output "INITSRC is empty"
goto end
else-ifstr(i) $(ADDCOPY) == ""
Debug-Output "ADDCOPY is empty"
goto end
else-ifstr(i) $(DOCOPY) == ""
Debug-Output "DOCOPY is empty"
goto end
else-ifstr(i) $(DOCONFIG) == ""
Debug-Output "DOCONFIG is empty"
goto end
endif
Debug-Output "Before Shel command"
shell $(INFFILE) $(INF_SECTION) $(STF_LANGUAGE) $(OPTION) $(INITSRC) $(ADDCOPY) $(DOCOPY) $(DOCONFIG)
Debug-Output "After Shel command"
else-ifstr(i) $(INF_SECTION) == "NetInstallOption"
Debug-Output "Entering NetInstallOption"
Set !STF_CWDIR = $(!STF_WINDOWSSYSPATH)
Shell NCPARAM.INF Param_SetGlobals
LoadLibrary "x" $(!STF_CWDIR)\ncpa.cpl !NCPA_HANDLE
LoadLibrary "x" $(!STF_CWDIR)\setupdll.dll !LIBHANDLE
Shell "NCPARAM.INF" Param_ControlDetection DTSTART
set !NTN_RegBase = $(INF_NET_REG_BASE)
set !NTN_SoftwareBase = "Software"
set !NTN_ServiceBase = "System\CurrentControlSet\Services"
set !STF_HWND = $(MY_APP_WHND)
Debug-Output "Setting default net option"
set !NTN_InstallMode = install
SET !STF_INSTALL_MODE = install
ifstr(i) $(INF_SECTION_OP) == "R"
Debug-Output "Removing net option"
set !NTN_InstallMode = deinstall
else-ifstr(i) $(INF_SECTION_OP) == "C"
Debug-Output "Config net option"
set !NTN_InstallMode = configure
endif
Debug-Output "Before Shel command"
set !STF_BUSTYPELIST = {PCMCIA}
Shell $(INFFILE) InstallOption $(STF_LANGUAGE) $(OPTION) $(!STF_CWDIR) "YES" "YES" "NO"
ifstr(i) $($R0) == STATUS_SUCCESSFUL
set Exit_Code = $(!SETUP_ERROR_SUCCESS)
else-ifstr(i) $($R0) == STATUS_USERCANCEL
set Exit_Code = $(!SETUP_ERROR_USERCANCEL)
goto end
endif
Set NCPA_CMD_LINE = " /t STF_INSTALL_MODE = EXPRESS"
Set NCPA_FUNC = NCPA
LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE),CPlSetup $(!STF_HWND), $(NCPA_FUNC), $(NCPA_CMD_LINE)
Debug-Output "Before end"
Debug-Output "After Shel command"
else-ifstr(i) $(INF_SECTION) == "DeInstallOption"
Debug-Output "DeInstallOption"
ifstr(i) $(OPTION) == ""
Debug-Output "OPTION"
goto end
endif
shell $(INFFILE) $(INF_SECTION) $(STF_LANGUAGE) $(OPTION)
else-ifstr(i) $(INF_SECTION) == "GetInstalledOptions"
shell $(INFFILE) GetInstalledOptions $(STF_LANGUAGE)
endif
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "Execing Configuring hardware fail"
goto finish_InstallOption
endif
Debug-Output "Before end"
ifstr(i) $($R0) == STATUS_SUCCESSFUL
set Exit_Code = $(!SETUP_ERROR_SUCCESS)
else-ifstr(i) $($R0) == STATUS_USERCANCEL
set Exit_Code = $(!SETUP_ERROR_USERCANCEL)
endif
end =+
Debug-Output "IN END"
install FreeSetupLibrary
FreeLibrary $(!LIBHANDLE)
exit
[Source Media Descriptions]
1 = "Windows NT Workstation Setup Disk #1" , TAGFILE = disk1
2 = "Windows NT Workstation Setup CD-ROM" , TAGFILE = disk2
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.