OEMSETUP.INF Driver File Contents (Archos_xs4424.zip)

[Identification]
    OptionType = SCSI

[LanguagesSupported]
    ENG

[Options]
    "ARCTPI"     = ARCTPI

[OptionsTextENG]
    "ARCTPI"     = "ARCTPI"

[MiniportDrivers]
    ARCTPI   = !SERVICE_KERNEL_DRIVER, "SCSI Miniport", !SERVICE_ERROR_NORMAL,  17, %SystemRoot%\System32\IoLogMsg.dll , 7

[Identify]
    read-syms Identification

    set Status     = STATUS_SUCCESSFUL
    set Identifier = $(OptionType)
    set Media      = #("Source Media Descriptions", 1, 1)

    Return $(Status) $(Identifier) $(Media)

[ReturnOptions]
    set Status        = STATUS_FAILED
    set OptionList     = {}
    set OptionTextList = {}
    set LanguageList = ^(LanguagesSupported, 1)
    Ifcontains(i) $($0) in $(LanguageList)
        goto returnoptions
    else
        set Status = STATUS_NOLANGUAGE
        goto finish_ReturnOptions
    endif
returnoptions = +
    set OptionList     = ^(Options, 0)
    set OptionTextList = ^(OptionsText$($0), 1)
    set Status         = STATUS_SUCCESSFUL

finish_ReturnOptions = +
    Return $(Status) $(OptionList) $(OptionTextList)

[InstallOption]
    set KeyName = "System\CurrentControlSet\Services\Pcmcia\DataBase"
    OpenRegKey $(!REG_H_LOCAL) "" $(KeyName) $(!REG_KEY_ALL_ACCESS) PcmciaKeyHandle
    ifstr(i) $(PcmciaKeyHandle) != ""
        OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"\ARC" $(!REG_KEY_ALL_ACCESS) TestKeyHandle
        ifstr(i) $(TestKeyHandle) == ""
            CreateRegKey $(PcmciaKeyHandle) {"ARC",0,GenericClass} "" $(!REG_KEY_ALL_ACCESS) "" MfgKeyHandle
        endif
        OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"\ARC\ATAPI" $(!REG_KEY_ALL_ACCESS) CDROMKeyHandle
        ifstr(i) $(CDROMKeyHandle) != ""
            DeleteRegTree $(MfgKeyHandle) "ATAPI"
        endif
        OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"\ARC\SLIMZIP" $(!REG_KEY_ALL_ACCESS) SZIPKeyHandle
        ifstr(i) $(SZIPKeyHandle) != ""
            DeleteRegTree $(MfgKeyHandle) "SLIMZIP"
        endif
        CreateRegKey $(MfgKeyHandle) {"ATAPI",0,GenericClass} "" $(!REG_KEY_ALL_ACCESS) "" CDROMKeyHandle
        SetRegValue $(CDROMKeyHandle) {Driver,0,$(!REG_VT_SZ),"ARCTPI"}
        SetRegValue $(CDROMKeyHandle) {DeviceType,0,$(!REG_VT_SZ),"SCSI"}
        CloseRegKey $(CDROMKeyHandle)
        CreateRegKey $(MfgKeyHandle) {"SLIMZIP",0,GenericClass} "" $(!REG_KEY_ALL_ACCESS) "" SZIPKeyHandle
        SetRegValue $(SZIPKeyHandle) {Driver,0,$(!REG_VT_SZ),"ARCTPI"}
        SetRegValue $(SZIPKeyHandle) {DeviceType,0,$(!REG_VT_SZ),"SCSI"}
        CloseRegKey $(SZIPKeyHandle)
        CloseRegKey $(MfgKeyHandle)
        CloseRegKey $(TestKeyHandle)
    endif
    CloseRegKey $(PcmciaKeyHandle)

    set KeyName = "System\CurrentControlSet\Services\Resman\DataBase"
    OpenRegKey $(!REG_H_LOCAL) "" $(KeyName) $(!REG_KEY_ALL_ACCESS) ResmanKeyHandle
    ifstr(i) $(ResmanKeyHandle) != ""
        OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"\ARC" $(!REG_KEY_ALL_ACCESS) TestKeyHandle
        ifstr(i) $(TestKeyHandle) == ""
            CreateRegKey $(ResmanKeyHandle) {"ARC",0,GenericClass} "" $(!REG_KEY_ALL_ACCESS) "" MfgKeyHandle
        endif
        OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"\ARC\ATAPI" $(!REG_KEY_ALL_ACCESS) CDROMKeyHandle
        ifstr(i) $(CDROMKeyHandle) != ""
            DeleteRegTree $(MfgKeyHandle) "ATAPI"
        endif
        OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"\ARC\SLIMZIP" $(!REG_KEY_ALL_ACCESS) SZIPKeyHandle
        ifstr(i) $(SZIPKeyHandle) != ""
            DeleteRegTree $(MfgKeyHandle) "SLIMZIP"
        endif
        CreateRegKey $(MfgKeyHandle) {"ATAPI",0,GenericClass} "" $(!REG_KEY_ALL_ACCESS) "" CDROMKeyHandle
        SetRegValue $(CDROMKeyHandle) {Driver,0,$(!REG_VT_SZ),"ARCTPI"}
        SetRegValue $(CDROMKeyHandle) {DeviceType,0,$(!REG_VT_SZ),"SCSI"}
        CloseRegKey $(CDROMKeyHandle)
        CreateRegKey $(MfgKeyHandle) {"SLIMZIP",0,GenericClass} "" $(!REG_KEY_ALL_ACCESS) "" SZIPKeyHandle
        SetRegValue $(SZIPKeyHandle) {Driver,0,$(!REG_VT_SZ),"ARCTPI"}
        SetRegValue $(SZIPKeyHandle) {DeviceType,0,$(!REG_VT_SZ),"SCSI"}
        CloseRegKey $(SZIPKeyHandle)
        CloseRegKey $(MfgKeyHandle)
        CloseRegKey $(TestKeyHandle)
    endif
    CloseRegKey $(ResmanKeyHandle)

    set KeyName = "SYSTEM\CurrentControlSet\Services\resman\System\I/O Port Exclusions\1"
    OpenRegKey $(!REG_H_LOCAL) "" $(KeyName) $(!REG_KEY_ALL_ACCESS) ResmanKeyHandle
    ifstr(i) $(ResmanKeyHandle) != ""
        SetRegValue $(ResmanKeyHandle) {End,0,$(!REG_VT_DWORD),512}
        SetRegValue $(ResmanKeyHandle) {Start,0,$(!REG_VT_DWORD),0}
    endif
    CloseRegKey $(ResmanKeyHandle)

    set Status = STATUS_FAILED
    set DrivesToFree = {}

    set Option   = $($1)
    set SrcDir   = $($2)
    set AddCopy  = $($3)
    set DoCopy   = $($4)
    set DoConfig = $($5)

    set LanguageList = ^(LanguagesSupported, 1)
    Ifcontains(i) $($0) in $(LanguageList)
    else
        set Status = STATUS_NOLANGUAGE
        goto finish_InstallOption
    endif
    read-syms Strings$($0)

    set OptionList = ^(Options, 0)
    ifcontains $(Option) in $(OptionList)
    else
        Debug-Output "SCSI.INF: SCSI option is not supported."
        goto finish_InstallOption
    endif
    set OptionList = ""

    set MiniportDriver   =   #(Options,         $(Option),         1)
    set Type             = $(#(MiniportDrivers, $(MiniportDriver), 1))
    set Group            =   #(MiniportDrivers, $(MiniportDriver), 2)
    set ErrorControl     = $(#(MiniportDrivers, $(MiniportDriver), 3))
    set Tag              =   #(MiniportDrivers, $(MiniportDriver), 4)
    set EventMessageFile =   #(MiniportDrivers, $(MiniportDriver), 5)
    set TypesSupported   =   #(MiniportDrivers, $(MiniportDriver), 6)

    set Start            =   $(!SERVICE_BOOT_START)

installtheoption = +
    ifstr(i) $(AddCopy) == "YES"
        set DoActualCopy = NO
        set FileToCheck = #(Files-ScsiMiniportDrivers, $(MiniportDriver), 2)
        LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(!STF_WINDOWSSYSPATH)"\drivers\"$(FileToCheck)
        ifstr(i) $(STATUS) == NO
            set DoActualCopy = YES
        endif

        ifstr(i) $(DoActualCopy) == NO
            shell "subroutn.inf" DriversExist $($0) $(String1)
            ifint $($ShellCode) != $(!SHELL_CODE_OK)
                Debug-Output "SCSI.INF: shelling DriversExist failed"
                goto finish_InstallOption
            endif

            ifstr(i) $($R0) == STATUS_CURRENT
            else-ifstr(i) $($R0) == STATUS_NEW
                set DoActualCopy = YES
            else-ifstr(i) $($R0) == STATUS_USERCANCEL
                Debug-Output "SCSI.INF: User cancelled SCSI installation"
                goto finish_InstallOption
            else
                Debug-Output "SCSI.INF: Error reported in DriversExist routine in SUBROUTN.INF"
                goto finish_InstallOption
            endif
        endif

        ifstr(i) $(DoActualCopy) == YES

            shell "subroutn.inf" DoAskSourceEx $(SrcDir) $(String2)
            ifint $($ShellCode) != $(!SHELL_CODE_OK)
                Debug-Output "SCSI.INF: shelling DoAskSourceEx failed"
                goto finish_InstallOption
            endif

            ifstr(i) $($R0) == STATUS_SUCCESSFUL
                set SrcDir = $($R1)
                ifstr(i) $($R2) != ""
                    set DrivesToFree = >($(DrivesToFree), $($R2))
                endif
            else
                Debug-Output "SCSI.INF: User cancelled asking source."
                goto finish_InstallOption
            endif

            install Install-AddCopyOption
            ifstr(i) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
                Debug-Output "Adding SCSI files to copy list failed"
                goto finish_InstallOption
            endif
        else
            set DoCopy = NO
        endif

    endif

    ifstr(i) $(DoCopy) == "YES"
        read-syms ProgressCopy$($0)
        install Install-DoCopyOption
        ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
            Debug-Output "Copying files failed"
            goto finish_InstallOption
        else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
            set Status = STATUS_USERCANCEL
            goto finish_InstallOption
        endif
    endif

    ifstr(i) $(DoConfig) == "YES"
        shell "registry.inf" CheckSetupModify
        ifint $($ShellCode) != $(!SHELL_CODE_OK)
            goto finish_InstallOption
        endif

        ifstr(i) $($R0) != STATUS_SUCCESSFUL
            goto finish_InstallOption
        endif

        set ServiceNode   = $(MiniportDriver)
        set ServiceBinary = System32\drivers\#(Files-ScsiMiniportDrivers, $(MiniportDriver), 2)

        set ServicesValues   = { +
                {Type,           0, $(!REG_VT_DWORD),     $(Type)                  }, +
                {Start,          0, $(!REG_VT_DWORD),     $(Start)                 }, +
                {Group,          0, $(!REG_VT_SZ),        $(Group)                 }, +
                {ErrorControl,   0, $(!REG_VT_DWORD),     $(ErrorControl)          }, +
                {Tag,            0, $(!REG_VT_DWORD),     $(Tag)                   }, +
                {BinaryPathName, 0, $(!REG_VT_EXPAND_SZ), $(ServiceBinary)         }  +
                }
        set ParametersValues = ""
        set DeviceValues     = {}
        set EventLogValues   = { +
                {EventMessageFile, 0, $(!REG_VT_EXPAND_SZ), $(EventMessageFile) }, +
                {TypesSupported,   0, $(!REG_VT_DWORD),     $(TypesSupported)   }  +
                }

        shell "registry.inf"  MakeServicesEntry $(ServiceNode)      +
                                                $(ServicesValues)   +
                                                $(ParametersValues) +
                                                $(DeviceValues)     +
                                                $(EventLogValues)   +
                                                Parameters



        ifint $($ShellCode) != $(!SHELL_CODE_OK)
            Debug-Output "Couldn't execute MakeServicesEntry in registry.inf"
            goto finish_InstallOption
        endif

        ifstr(i) $($R0) != STATUS_SUCCESSFUL
            Debug-Output "MakeServicesEntry failed for SCSI"
            goto finish_InstallOption
        endif

    endif

    set Status = STATUS_SUCCESSFUL
finish_InstallOption = +
    ForListDo $(DrivesToFree)
        LibraryProcedure STATUS,$(!LIBHANDLE), DeleteNetConnection $($) "TRUE"
    EndForListDo

    Return $(Status)


[Install-AddCopyOption]
    AddSectionKeyFileToCopyList   Files-ScsiMiniportDrivers         +
                                  $(MiniportDriver)                 +
                                  $(SrcDir)                      +
                                  $(!STF_WINDOWSSYSPATH)\drivers

    exit


[Install-DoCopyOption]
    CopyFilesInCopyList
    exit

[DeInstallOption]

    set KeyName = "System\CurrentControlSet\Services\Pcmcia\DataBase"
    OpenRegKey $(!REG_H_LOCAL) "" $(KeyName) $(!REG_KEY_ALL_ACCESS) PcmciaKeyHandle
            OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"ARC" $(!REG_KEY_ALL_ACCESS) TestKeyHandle
            ifstr(i) $(TestKeyHandle) != ""
                    DeleteRegTree $(PcmciaKeyHandle) "ARC"
            endif
            OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"ATAPI" $(!REG_KEY_ALL_ACCESS) TestKeyHandle
            ifstr(i) $(TestKeyHandle) != ""
                    DeleteRegTree $(PcmciaKeyHandle) "ATAPI"
            endif
            CloseRegKey $(TestKeyHandle)
            OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"SLIMZIP" $(!REG_KEY_ALL_ACCESS) TestKeyHandle
            ifstr(i) $(TestKeyHandle) != ""
                    DeleteRegTree $(PcmciaKeyHandle) "SLIMZIP"
            endif
            CloseRegKey $(TestKeyHandle)
    CloseRegKey $(PcmciaKeyHandle)

    set KeyName = "System\CurrentControlSet\Services\Resman\DataBase"
    OpenRegKey $(!REG_H_LOCAL) "" $(KeyName) $(!REG_KEY_ALL_ACCESS) ResmanKeyHandle
    ifstr(i) $(ResmanKeyHandle) != ""
            OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"\ARC" $(!REG_KEY_ALL_ACCESS) TestKeyHandle
            ifstr(i) $(TestKeyHandle) != ""
                    DeleteRegTree $(ResmanKeyHandle) "ARC"
            endif
            CloseRegKey $(TestKeyHandle)
            OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"\ATAPI" $(!REG_KEY_ALL_ACCESS) TestKeyHandle
            ifstr(i) $(TestKeyHandle) != ""
                    DeleteRegTree $(ResmanKeyHandle) "ATAPI"
            endif
            CloseRegKey $(TestKeyHandle)
            OpenRegKey $(!REG_H_LOCAL) "" $(KeyName)"\SLIMZIP" $(!REG_KEY_ALL_ACCESS) TestKeyHandle
            ifstr(i) $(TestKeyHandle) != ""
                    DeleteRegTree $(ResmanKeyHandle) "SLIMZIP"
            endif
            CloseRegKey $(TestKeyHandle)
            CloseRegKey $(ResmanKeyHandle)
    endif

    set Status   = STATUS_FAILED
    set Option   = $($1)
    set LanguageList = ^(LanguagesSupported, 1)
    Ifcontains(i) $($0) in $(LanguageList)
    else
        set Status = STATUS_NOLANGUAGE
        goto finish_DeInstallOption
    endif
    read-syms Strings$($0)
    set OptionList = ^(Options, 0)
    ifcontains $(Option) in $(OptionList)
    else
        goto finish_DeInstallOption
    endif
    set OptionList = ""
    set MiniportDriver = #(Options, $(Option), 1)
    set MiniportFile   = #(Files-ScsiMiniportDrivers, $(MiniportDriver), 2)
    set FilePath       = $(!STF_WINDOWSSYSPATH)"\drivers\"$(MiniportFile)
    LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(FilePath)
    ifstr(i) $(STATUS) == "NO"
        set Status = STATUS_SUCCESSFUL
        goto finish_DeInstallOption
    endif

    shell "registry.inf" GetServicesEntryStart $(MiniportDriver)
    ifstr(i) $($R0) != "STATUS_SUCCESSFUL"
        ; this could happen if there is no start value or there is no
        ; key, in which case the option is not installed
        set Status = STATUS_SUCCESSFUL
        goto finish_DeInstallOption
    endif

    ifstr(i) $($R1) == $(!SERVICE_BOOT_START)
        shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "WARNING" $(String3)
        ifstr(i) $($R0) != STATUS_SUCCESSFUL
            goto do_removal
        endif
        ifstr(i) $($R1) == "CANCEL"
            goto finish_DeInstallOption
        endif
    endif

do_removal =+
    shell "registry.inf" RemoveServicesEntry $(MiniportDriver)
    ifint $($ShellCode) != $(!SHELL_CODE_OK)
        Debug-Output "SCSI.INF: Failed to shell RemoveServicesEntry"
        goto finish_DeInstallOption
    endif

    ifstr(i) $($R0) != STATUS_SUCCESSFUL
        Debug-Output "SCSI.INF: Failed to disable services entry"
        goto finish_DeInstallOption
    endif

    set Status = STATUS_SUCCESSFUL

finish_DeInstallOption =+
    return $(Status)

[GetInstalledOptions]
    set Status = STATUS_FAILED
    set InstalledOptions = {}
    set InstalledOptionsText = {}
    set LanguageList = ^(LanguagesSupported, 1)
    Ifcontains(i) $($0) in $(LanguageList)
    else
        set Status = STATUS_NOLANGUAGE
        goto finish_GetInstalledOptions
    endif

    set OptionList = ^(Options, 0)
    ForListDo $(OptionList)
        set MiniportDriver = #(Options, $($), 1)
        set MiniportFile   = #(Files-ScsiMiniportDrivers, $(MiniportDriver), 2)
        set FilePath       = $(!STF_WINDOWSSYSPATH)"\drivers\"$(MiniportFile)
        LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(FilePath)
        ifstr(i) $(STATUS) == "YES"
            shell "registry.inf" GetServicesEntryStart $(MiniportDriver)
            ifint $($ShellCode) == $(!SHELL_CODE_OK)
                ifstr(i) $($R0) == STATUS_SUCCESSFUL
                    ifstr(i) $($R1) != $(!SERVICE_DISABLED)

                        set OptionText = #(OptionsText$($0), $($), 1)
                        set InstalledOptions     = >($(InstalledOptions), $($))
                        set InstalledOptionsText = >($(InstalledOptionsText), $(OptionText))

                    endif
                endif
            endif
        endif
    EndForListDo
    set Status = STATUS_SUCCESSFUL
finish_GetInstalledOptions =+
    Return $(Status) $(InstalledOptions) $(InstalledOptionsText)

[ProgressCopyENG]
    ProCaption   = "Windows NT Setup"
    ProCancel    = "Cancel"
    ProCancelMsg = "Windows NT is not correcly installed.  Are you sure you want "+
                   "to cancel copying files?"
    ProCancelCap = "Setup Message"
    ProText1     = "Copying:"
    ProText2     = "To:"

[StringsENG]
    String1 = "PCCARD ATAPI"
    String2 = "Please enter a:\winnt or b:\winnt to copy the PCCARD ATAPI "+
              "files. Then choose Continue."
    String3 = "The PCCARD ATAPI has been marked as a boot device. Removing "+
              "it may cause the system not to boot."$(!LF)$(!LF)"Are you sure "+
              "you want to remove it."

[Source Media Descriptions]
    1  = "PCCARD ATAPI Drivers Diskette", TAGFILE = disk1

[Files-ScsiMiniportDrivers]
ARCTPI   = 1, ARCTPI.sys
Download Driver Pack

How To Update Drivers Manually

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.

server: ftp, load: 1.76