;//***********************************************************************
;// !!!!!!!!!!!!!! Dont change the next 15 lines !!!!!!!!!!!!!
;// ISDN for NT
;//
;// Acotec ISDN Multiprotocol Router trace software setup
;//
;// Copyright (C) Acotec GmbH, Berlin 2kY
;//
;//
;//***********************************************************************
[Version]
1.1 ; 8.8.1999
[Identification]
OptionType = NetService
[PlatformsSupported]
ANY
[LanguagesSupported]
ENG
GER
[PreferredLanguage]
Language = GER
[Options]
AcoMprTrc
[OptionsTextGER]
"Acotec Trace Service"
[OptionsTextENG]
"Acotec Trace Service"
[Source Media Descriptions]
1 = "Disk #1 ACOTRC"
[FileConstantsGER]
SoftwareDescription = ^(OptionsTextGER, 1)
SoftwareTitle = $(SoftwareDescription)
FunctionTitle = $(SoftwareTitle)" Installation"
ShellCodeErrorTitle = "Fehler: "$(FunctionTitle)
ShellCodeErrorText = "Shell-Code Fehler"
;// This constants are relevant for a file copybox
ProCaption = $(SoftwareTitle)" Setup"
ProCancel = "Abbrechen"
ProCancelMsg = "Sind Sie sicher, daß Sie das Kopieren der Dateien abbrechen möchten? "+
"Wenn Sie jetzt abbrechen, wurde der "$(SoftwareTitle)" unvollständig installiert. "+
"Bereits installierte Komponenten werden wieder entfernt."
ProCancelCap = "ISDN MPR Setup"
ProText1 = "Kopiert:"
ProText2 = "Nach:"
[FileConstantsENG]
SoftwareDescription = ^(OptionsTextENG, 1)
SoftwareTitle = $(SoftwareDescription)
FunctionTitle = $(SoftwareTitle)" Setup"
ShellCodeErrorTitle = "Error: "$(FunctionTitle)
ShellCodeErrorText = "Shell-Code Error"
ProCaption = $(SoftwareTitle)" Setup"
ProCancel = "Cancel"
ProCancelMsg = "Are you sure for canceling copy files? "+
"If press button 'Yes' the installed software components removing now."
ProCancelCap = "ISDN MPR setup"
ProText1 = "copied:"
ProText2 = "to:"
[GeneralConstants]
;// Registry access
MAXPERM = 33554432
KeyNull = ""
NoTitle = 0
;// Product Info
Product = "AcoTrc"
Manufacturer = "Acotec"
Logo = $(Product)" software (c) "$(Manufacturer)
;// Services
ServiceStartTypeManual = "kernel"
ServiceStartTypeAutomatic = "kernelautostart"
ServiceStartTypeDisabled = "kerneldisable"
AcotecDriverPathForReg = "\SystemRoot\System32\"$(Manufacturer)"\Drivers"
WinNTSystem32Path = $(!STF_WINDOWSSYSPATH)"\drivers"
ProductDirectoryPath = $(!STF_WINDOWSSYSPATH)"\"$(Manufacturer)
ProductDirectoryPathExpand = "%SystemRoot%\System32\"$(Manufacturer)
TrcServiceName = "AcoMprTrc"
TrcServiceTitle = "Acotec MPR trace driver"
TrcServicePath = $(!NTN_ServiceBase)"\"$(TrcServiceName)
TrcServiceParmPath = $(TrcServicePath)"\Parameters"
TrcServiceImagePath = $(ProductDirectoryPath)"\AcoMprT.sys"
TrcServiceStartType = $(ServiceStartTypeAutomatic)
TrcServiceGroup = "Streams Drivers"
UserlogServiceName = "AcoLogSV"
UserlogServiceTitle = "Acotec MPR userlog service"
UserlogServicePath = $(!NTN_ServiceBase)"\"$(UserlogServiceName)
UserlogServiceParmPath = $(UserlogServicePath)"\Parameters"
UserlogServiceImagePath = $(ProductDirectoryPathExpand)"\AcoLog.exe"
UserlogServiceStartType = "serviceauto"
UserlogServiceGroup = "Network"
[date]
;// Now is a list which contains:
;// Sec from 1-1-1970, Year, Month, Day, Hour, Minute, Second
Now = {} ? $(!LIBHANDLE) GetSystemDate
[NT version]
version = {} ? $(!LIBHANDLE) GetWindowsNtVersion
[FreeHarddiskSpace]
Free = {} ? $(!LIBHANDLE) GetHardDriveFreeSpace
Drives = {} ? $(!LIBHANDLE) GetHardDriveLetters
;//---------------------------------------------------------------------------
;// 1. Identify
;//
;// DESCRIPTION: To verify that this INF deals with the same type of options
;// as we are choosing currently.
;//
;// INPUT: None
;//
;// OUTPUT: $($R0): STATUS: STATUS_SUCCESSFUL
;// $($R1): Option Type (COMPUTER ...)
;// $($R2): Diskette description
;//---------------------------------------------------------------------------
[Identify]
read-syms Identification
set Identifier = $(OptionType)
set Media = #("Source Media Descriptions", 1, 1)
return STATUS_SUCCESSFUL $(Identifier) $(Media)
[ReturnOptions]
Shell "" GetLanguage
set OptionList = ^(Options, 1)
set OptionTextList = ^(OptionsText$(!Language), 1)
return STATUS_SUCCESSFUL $(OptionList) $(OptionTextList)
// Parameters: ProductName (e.g. AcoRas)
[AcoMprTraceRemoveRequest]
set ProductTag = $($0)
Shell "" GetLanguage
read-syms GeneralConstants
read-syms FileConstants$(!Language)
;// Check for an installed other acotec product
set Name = $(!NTN_SoftwareBase)"\Acotec"
OpenRegKey $(!REG_H_LOCAL) "" $(TrcServiceParmPath) $(MAXPERM) Key
ifstr $(Key) != $(KeyNull)
GetRegValue $(Key) "Modules" L
ifstr $(L) != ""
set List = *($(L),4)
set NewList = {}
forlistdo $(List)
ifstr(i) $(ProductTag) != $($)
set NewList = >($(NewList), $($))
endif
endforlistdo
set L = {"Modules",0,$(!REG_VT_MULTI_SZ),$(NewList)}
SetRegValue $(Key) $(L)
CloseRegKey $(Key)
QueryListSize ListSize $(NewList)
ifint $(ListSize) > 0
goto mustnotremove
endif
endif
CloseRegKey $(Key)
endif
OpenRegKey $(!REG_H_LOCAL) "" $(Name) $(MAXPERM) Keyname
ifstr $(Keyname) != $(KeyNull)
EnumRegKey $(Keyname) KeyList
set ListOfProducts = {"AcoMpr","AcoRas","AcoEid","AcoWim","AcoMan"}
set NewListOfProducts = {}
forlistdo $(ListOfProducts)
ifstr(i) $($) != $(ProductTag)
set NewListOfProducts = >($(NewListOfProducts), $($))
endif
endforlistdo
Debug-Output "AcoMprTraceRemoveRequest: Check "$(KeyList)" in "$(NewListOfProducts)
forlistdo $(KeyList)
set d = *($($),1)
ifcontains(i) $(d) in $(NewListOfProducts)
goto mustnotremove
endif
endforlistdo
endif
Shell "UTILITY.INF" RemoveService $(TrcServiceName) YES
Shell "UTILITY.INF" RemoveService $(UserlogServiceName) YES
Shell "" RemoveFiles
return STATUS_NO_EFFECT
mustnotremove =+
set param = "The software can not remove, because there are another components allready installed."
Debug-Output "AcoMprTrc: "$(param)
return STATUS_NO_EFFECT
[BindRequest]
return STATUS_FAILED
[ConfigureRequest]
return STATUS_NO_EFFECT
// Parameters: SrcDir , ProductName (e.g. AcoRas), DoCopy (YES|NO)
[AcoMprTraceInstallRequest]
set SrcDir = $($0)
set ProductTag = $($1)
set DoCopy = $($2)
Debug-Output "AcoMprTraceInstallRequest: "$(SrcDir)" "$(Producttag)" "$(DoCopy)
Shell "" GetLanguage
read-syms GeneralConstants
read-syms FileConstants$(!Language)
Shell "" InstallTraceService
ifstr(i) $($R0) == ERROR
Shell "SUBROUTN.INF" SetupMessage,ENG,"STATUS","ERROR: "$($R1)" "$($R2)
return STATUS_FAILED
endif
Shell "" InstallUserLogService
ifstr(i) $($R0) == ERROR
Shell "SUBROUTN.INF" SetupMessage,ENG,"STATUS","ERROR: "$($R1)" "$($R2)
return STATUS_FAILED
endif
;//copy the files
install "Install-Install"
ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
Shell "" RemoveRequest
return STATUS_USERCANCEL
endif
OpenRegKey $(!REG_H_LOCAL) "" $(TrcServiceParmPath) $(MAXPERM) Key
ifstr $(Key) != $(KeyNull)
GetRegValue $(Key) "Modules" L
ifstr $(L) != ""
set List = *($(L),4)
ifcontains(i) $(ProductTag) not-in $(List)
set List = >($(List), $(ProductTag))
endif
else
set List = {$(ProductTag)}
endif
set L = {"Modules",0,$(!REG_VT_MULTI_SZ),$(List)}
SetRegValue $(Key) $(L)
CloseRegKey $(Key)
endif
return STATUS_SUCCESSFUL
[InstallTraceService]
;// don't care if installed
read-syms GeneralConstants
Shell "UTILITY.INF" , CreateService, +
$(TrcServiceName), +
$(TrcServiceTitle), +
$(TrcServiceImagePath), +
$(TrcServiceStartType), +
$(TrcServiceGroup), +
"", "", "", "", "", "", "", "", ""
set KeyService = $($R1)
set KeyServiceParameters = $($R2)
CloseRegKey $($R3)
ifstr(i) $($R0) == SERVICE_ALREADY_EXISTS
return $($R0)
endif
ifstr(i) $($R0) != NO_ERROR
return "ERROR" "Registry error Create Traceservice" $($R0)
endif
set ValueList = { +
{Flags,$(NoTitle),$(!REG_VT_DWORD),0},+
{Buffer,$(NoTitle),$(!REG_VT_DWORD),16384},+
{Repair,$(NoTitle),$(!REG_VT_DWORD),0},+
{LogBuffer,$(NoTitle),$(!REG_VT_DWORD),16384},+
{Trace,$(NoTitle),$(!REG_VT_DWORD),0} +
}
Shell UTILITY.INF, AddValueList, $(KeyServiceParameters), $(ValueList)
CloseRegKey $(KeyService)
CloseRegKey $(KeyServiceParameters)
return STATUS_SUCCESSFUL
[InstallUserLogService]
;// don't care if installed
read-syms GeneralConstants
Shell "UTILITY.INF" , CreateService, +
$(UserlogServiceName), +
$(UserlogServiceTitle), +
$(UserlogServiceImagePath), +
$(UserlogServiceStartType), +
$(UserlogServiceGroup), +
"", "", "", "", "", "", "", "", ""
set KeyService = $($R1)
set KeyServiceParameters = $($R2)
CloseRegKey $($R3)
ifstr(i) $($R0) == SERVICE_ALREADY_EXISTS
return $($R0)
endif
ifstr(i) $($R0) != NO_ERROR
return "ERROR" "Registry error Create Userlogservice" $($R0)
endif
set ValueList = { +
{DbgFileCount,$(NoTitle),$(!REG_VT_DWORD),9},+
{DbgFileLimit,$(NoTitle),$(!REG_VT_DWORD),1024},+
{DbgPath,$(NoTitle),$(!REG_VT_EXPAND_SZ),$(ProductDirectoryPathExpand)},+
{LogFileCount,$(NoTitle),$(!REG_VT_DWORD),9},+
{LogFileLimit,$(NoTitle),$(!REG_VT_DWORD),1024},+
{LogPath,$(NoTitle),$(!REG_VT_EXPAND_SZ),$(ProductDirectoryPathExpand)},+
{WatchTriggerSize,$(NoTitle),$(!REG_VT_DWORD),1024},+
{WatchTriggerTime,$(NoTitle),$(!REG_VT_DWORD),3}+
}
Shell UTILITY.INF, AddValueList, $(KeyServiceParameters), $(ValueList)
CloseRegKey $(KeyService)
CloseRegKey $(KeyServiceParameters)
return STATUS_SUCCESSFUL
[GetLanguage]
read-syms GeneralConstants
set MAXPERM = 33554432
set KeyNull = ""
set !Language = ENG
OpenRegKey $(!REG_H_LOCAL) "" $(SetupRegKeyName) $(MAXPERM) Key
ifstr $(Key) != $(KeyNull)
set L = {}
GetRegValue $(Key) "SetupLanguage" L
CloseRegKey $(Key)
ifstr(i) $(L) != {}
set L = *($(L),4)
ifstr(i) $(L) == ENG
set !Language = ENG
endif
ifstr(i) $(L) == ENGLISH
set !Language = ENG
endif
ifstr(i) $(L) == GER
set !Language = GER
endif
ifstr(i) $(L) == GERMAN
set !Language = GER
endif
return $(!Language)
endif
endif
OpenRegKey $(!REG_H_CUSER) "" "Control Panel\International" $(MAXPERM) LangKey
ifstr $(LangKey) != $(KeyNull)
GetRegValue $(LangKey) "Locale" LocaleInfo
ifint $(RegLastError) == $(!REG_ERROR_SUCCESS)
ifcontains *($(LocaleInfo),4) in {00000407}
set !Language = GER
endif
endif
CloseRegKey $(LangKey)
endif
return $(!Language)
[Files-Inf]
1, AcoMprTrc.INF, SIZE=1, RENAME=AcoMprTrc.INF, DESTINATION=$(ProductDirectoryPath)
[FileCopyList]
1, AcoMprT.sys, SIZE=1, RENAME=AcoMprT.sys, DESTINATION=$(ProductDirectoryPath)
1, ACOLOG.EXE, SIZE=1, RENAME=ACOLOG.EXE, DESTINATION=$(ProductDirectoryPath)
; 1, TrcTool.EXE, SIZE=1, RENAME=TrcTool.EXE, DESTINATION=$(ProductDirectoryPath)
1, ReadPipe.EXE, SIZE=1, RENAME=ReadPipe.EXE,DESTINATION=$(ProductDirectoryPath)
[Install-Install]
set !STF_VITAL = ""
set !STF_DECOMPRESS = 1
CreateDir $(ProductDirectoryPath)
AddSectionFilesToCopyList FileCopyList $(SrcDir) ""
AddSectionFilesToCopyList Files-Inf $(SrcDir) ""
ifstr(i) $(DoCopy) == YES
set !STF_NCPA_FLUSH_COPYLIST = TRUE
CopyFilesInCopyList
endif
exit
[RemoveFiles]
read-syms GeneralConstants
set SectionList = {"Files-Inf","FileCopyList"}
forlistdo $(SectionList)
set Section = $($)
forlistdo ^($(Section),2)
LibraryProcedure Status, $(!LIBHANDLE), DelFile, $(ProductDirectoryPath)"\"$($)
endforlistdo
endforlistdo
return
[StfVariableSyms]
!ProcessorID_I386 = I386
!ProcessorID_I486 = I486
!ProcessorID_I586 = I586
!ProcessorID_R4000 = R4000
!ProcessorID_Alpha = Alpha_AXP
!ProcessorID_PPC601 = PPC601
!ProcessorID_PPC603 = PPC603
!ProcessorID_PPC604 = PPC604
!ProcessorID_PPC620 = PPC620
!PlatformID_I386 = I386
!PlatformID_Mips = Mips
!PlatformID_Alpha = Alpha
!PlatformID_PPC = ppc
!STF_PRODUCT = SERVERNT
!STF_USERNAME = ""
!STF_INSTALL_MODE = "CUSTOM"
!STF_UPDGRADE = NO
!STF_NCDETECT = NO
!STF_NCOPTION = ""
!STF_NCDETCARD = 99999
!STF_NCDETINFO = {}
!STF_NC_PARAMS = {}
!STF_NC_PNAMES = {}
!STF_SRCDIR_KEYED = ""
!STF_SRCDIR_USED = ""
!STF_SRCDIR_OVERRIDE = ""
!STF_SRCDIR_WINNT = ""
!STF_TEMPLATE_CRITERR = "CRITERR2"
!STF_TEMPLATE_NONCRITERR = "NONCRITERR2"
!STF_INSTALLED_OS = {} ? $(!LIBHANDLE) GetInstalledOSNames
FatalErrorIndex = 1
Exit_Code = 0
[StfVariableDetect]
!STF_PROCESSOR = "" ? $(!LIBHANDLE) GetProcessor
!STF_PLATFORM = "I386"
!STF_LANGUAGE = "" ? $(!LIBHANDLE) GetLanguage
LanguageList = ^(LanguageID, 1)
!STF_WINDOWSPATH = "" ? $(!LIBHANDLE) GetWindowsNtDir
!STF_WINDOWSSYSPATH = "" ? $(!LIBHANDLE) GetWindowsNtSysDir
!STF_NTPATH = $(!STF_WINDOWSPATH)
!STF_COMPUTERNAME = "" ? $(!LIBHANDLE) GetMyComputerName
!STF_BUSTYPE = "" ? $(!LIBHANDLE) GetMyBusType
!STF_BUSTYPELIST = "" ? $(!LIBHANDLE) GetMyBusTypeList
[Shell Commands]
;//test environment
LoadLibrary "y" $(!STF_CWDDIR)"ncpa.cpl" !NCPA_HANDLE
LoadLibrary "x" $(!STF_CWDDIR)"setupdll.dll" !LIBHANDLE
Shell "" GetLanguage
read-syms StfVariableSyms
read-syms StfVariableDetect
detect StfVariableDetect
set !NTN_SoftwareBase = "SOFTWARE"
set !NTN_ServiceBase = "SYSTEM\CurrentControlSet\SERVICES"
set !NTN_InstallMode = $(InstallMode)
read-syms GeneralConstants
read-syms FileConstantsGER
set !NTN_InstallMode = install
set SrcDir = "d:\users\MPRTrace\Inf"
set DoCopy = YES
; Install Install-Install
; Shell "" AcoMprTraceInstallRequest $(SrcDir) "AcoRas" NO
; Shell "" AcoMprTraceRemoveRequest "AcoRas"
Shell "" RemoveFiles
; Shell "SUBROUTN.INF" SetupMessage,ENG,"STATUS",$($R0)
exitpoint =+
exit
;// *** End File ***
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.