[Identification]
   OptionType = NetTransport
[Options]
   SFM
[FileConstants]
ProductFullInfName      = "oemnxpsm.inf"
Manufacturer            = "Microsoft"
ProductMajorVersion     = 3
ProductMinorVersion     = 1
ProductVersion          = $(ProductMajorVersion)"."$(ProductMinorVersion)
ProductSFMName           = "SFM"
ProductATALKName       	= "AppleTalk"
ProductATALKImagePath   = "%SystemRoot%\system32\drivers\sfmatalk.sys"
ProductATALKSvcType     = "kernel"
ProductATALKType        = "transport"
ProductATALKEventDll    = "%SystemRoot%\system32\sfmatmsg.dll"
NetRuleATALKType        = "appletalk appletalktransport"
NetRuleATALKUse         = transport " yes yes"
NetRuleATALKBindForm    = """appletalk"" yes yes container"
NetRuleATALKClass       = {"appletalktransport basic "}
NetRuleATALKBindList    = {"appletalktransport ndisDriver non non 100", +
                           "appletalktransport ltkndisDriver non exclusive 100" }
ProductAFPSVCName       		= "MacFile"
ProductAFPSVCImagePath  		= "%SystemRoot%\system32\sfmsvc.exe"
ProductAFPSVCType       		= "service"
ProductAFPSVCEventDll   		= "%SystemRoot%\system32\sfmmsg.dll"
NetRuleAFPSVCType               = "MacFile lmNetService"
NetRuleAFPSVCUse                = "service"
ProductAFPSRVRName              = "MacSrv"
ProductAFPSRVRImagePath         = "%SystemRoot%\system32\drivers\sfmsrv.sys"
ProductAFPSRVREventDll          = "%SystemRoot%\system32\sfmmsg.dll"
ProductMACPRINTName             = "MacPrint"
ProductMACPRINTImagePath        = "%SystemRoot%\system32\sfmprint.exe"
ProductMACPRINTEventDll         = "%SystemRoot%\system32\sfmprint.exe"
ProductMonitorDll               = "sfmmon.dll"
ProductMonitorEventDll          = "%SystemRoot%\system32\sfmmon.dll"
UtilDll                  = "sfmutil.dll"
ResDll                   = "sfmres.dll"
IconsInfFile             = "sfmicons.inf"
!UamResSrcFile           = "sfmuam.rsc"
!UamInfoSrcFile          = "sfmuam.ifo"
!UamResDestFile          = "MS UAM:Afp_Resource"
!UamInfoDestFile         = "MS UAM:Afp_AfpInfo"
!UamReadMeSrcFile        = "sfmuam.txt"
NtNetIniFileName         = "ntnet.ini"
WinFileIniFileName       = "winfile.ini"
AfpMgrCplFile            = "sfmmgr.cpl"
SrvMgrIniSection         = "SMAddons"
WinFileIniSection        = "Addons"
TypeCreatorMapFile       = "sfmmap.inf"
AtWinSockDll             = "sfmwshat.dll"
PSprintProcFile          = "sfmpsprt.dll"
PSprintProc              = "SFMPSPRT"
!ProductKeyBase         = $(!NTN_SoftwareBase)"\"$(Manufacturer)
!ProductKeyName         = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSFMName)"\CurrentVersion"
!ProductKeyLinkage      = $(!NTN_ServiceBase)"\"$(ProductATALKName)"\Linkage"
!PrintMonKeyName        = "SYSTEM\CurrentControlSet\Control\Print\Monitors"
!EventLogKey            = $(!NTN_ServiceBase)"\EventLog\Application"
!AtalkMonEventLogName			= "AppleTalk Print Monitor"
[GeneralConstants]
UtilInf                     = "UTILITY.INF"
SubInf                      = "SUBROUTN.INF"
!KeyNull                    = ""
!ACCESS                     = 33554432
RegistryErrorIndex			= NO_ERROR
KeyProduct                  = ""
KeyParameters				= ""
TRUE                        = 1
FALSE                       = 0
NoTitle                     = 0
!UamCopyStatus              = TRUE
!DebugOutputControl         = 0
[date]
Now     = {} ? $(!LIBHANDLE) GetSystemDate
[AvailableSystemMemory]
SystemMemory    = "" ? $(!LIBHANDLE) GetMemorySize
MinSystemMemory = 2048
[FSAndDiskSpace]
VolumeList      = {} ? $(!LIBHANDLE) GetHardDriveLetters
VolumeFreeList  = {} ? $(!LIBHANDLE) GetHardDriveFreeSpace
VolumeFSList    = {} ? $(!LIBHANDLE) GetHardDriveFileSystems
[VolList]
VolumeFSList  = {} ? $(!LIBHANDLE) GetHardDriveFileSystems
VolumeList    = {} ? $(!LIBHANDLE) GetHardDriveLetters
[ExtensionIds]
XCEL1ID = {"ID=1"}
XCEL2ID = {"ID=2"}
XCEL3ID = {"ID=3"}
XCEL4ID = {"ID=4"}
XCEL5ID = {"ID=5"}
XCEL6ID = {"ID=6"}
XCEL7ID = {"ID=7"}
XCEL8ID = {"ID=8"}
XCEL9ID = {"ID=9"}
XCEL10ID = {"ID=10"}
XCEL11ID = {"ID=11"}
XCEL12ID = {"ID=12"}
XCEL13ID = {"ID=13"}
MSWD1ID = {"ID=14"}
MSWD2ID = {"ID=15"}
MSPJ1ID = {"ID=16"}
MSPJ2ID = {"ID=17"}
MSPJ3ID = {"ID=18"}
MSPJ4ID = {"ID=19"}
MSPJ5ID = {"ID=20"}
ALD31ID = {"ID=21"}
ALD32ID = {"ID=22"}
ALD33ID = {"ID=23"}
MOREID = {"ID=24"}
FOX+ID = {"ID=25"}
ALD41ID = {"ID=26"}
ALD42ID = {"ID=27"}
ALD43ID = {"ID=28"}
ARTZID = {"ID=29"}
SIT!ID = {"ID=30"}
PPT2ID = {"ID=31"}
PPT3ID = {"ID=32"}
L123ID = {"ID=33"}
LMANID = {"ID=34"}
TTXTID = {"ID=35"}
[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, 1)
   set OptionTextList = ^(OptionsText$($0), 1)
   set Status         = STATUS_SUCCESSFUL
finish_ReturnOptions = +
   Return $(Status) $(OptionList) $(OptionTextList)
[InstallOption]
   set Status   = STATUS_FAILED
   set Option   = $($1)
   set SrcDir   = $($2)
   Set AddCopy  = $($3)
   Set DoCopy   = $($4)
   Set DoConfig = $($5)
   set LanguageList = ^(LanguagesSupported, 1)
   Ifcontains(i) $($0) NOT-IN $(LanguageList)
	  return STATUS_NOLANGUAGE
   EndIf
   set-subst LF = "\n"
   set-subst CR = "\r"
   read-syms GeneralConstants
   read-syms FileConstants
   read-syms DialogConstants$(!STF_LANGUAGE)
   read-syms FileConstants$(!STF_LANGUAGE)
   detect date
   set-title  $(FunctionTitle)
   set CommonStatus = STATUS_SUCCESSFUL
   Debug-Output "SFMSETUP: Install Mode = "$(!NTN_InstallMode)
   Debug-Output "SFMSETUP: Origin = "$(!NTN_Origination)
   Debug-Output "SFMSETUP: Phase = "$(!NTN_InstallPhase)
   Debug-Output "SFMSETUP: Context INF = "$(!STF_CONTEXTINFNAME)
Begin = +
   Set REMOVE_SOFTWARE = {}
   Set REMOVE_SERVICES = {}
   IfStr(i) $(!NTN_InstallMode)    ==      deinstall
	  Set StartLabel = Removesfm
	  Set REMOVE_SOFTWARE = { $(ProductATALKName),+
							  $(ProductAFPSVCName),+
							  $(ProductMACPRINTName)+
							}
	  Set REMOVE_SERVICES = {$(ProductAFPSRVRName)}
	  LoadLibrary "x" $(!STF_CWDDIR)$(UtilDll) !UTILHANDLE
   else-Ifstr(i) $(!NTN_InstallMode) == Update
	  set StartLabel = Upgradesfm
   else-Ifstr(i) $(!NTN_InstallMode) == configure
	  set StartLabel = Configuresfm
   else-Ifstr(i) $(!NTN_InstallMode) == bind
	  set StartLabel = Bindingssfm
   else-Ifstr(i) $(!NTN_InstallMode) == install
	  set StartLabel = Installsfm
   else
	   Set StartLabel = end
   endif
   goto $(StartLabel)
Installsfm = +
   Set FLibraryErrCtl = 1
   OpenRegKey $(!REG_H_LOCAL) "" $(!ProductKeyName) $(!ACCESS) KeyProduct
   Ifstr $(KeyProduct) != $(!KeyNull)
	  GetRegValue $(KeyProduct) $(MajorVersion) VersionInfo
	  set VersionMajor = *($(VersionInfo), 4)
	  GetRegValue $(KeyProduct) $(MinorVersion) VersionInfo
	  set VersionMinor = *($(VersionInfo), 4)
	  set InstalledVersion = $(VersionMajor)"."$(VersionMinor)
	  ifstr(i) $(ProductVersion) == $(InstalledVersion)
		 read-syms MiscErrorString1$(!STF_LANGUAGE)
		 Set Text = $(Version)$(ProductVersion)
		 Shell $(SubInf), SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(Text)$(ErrorString)
		 goto end
	  EndIf
   EndIf
   ifstr(i) $(!NTN_InstallMode) == "install"
	  Ifstr(i) $(!DoCopy) == "YES"
		 ifstr(i) $(!STF_IDW) != "TRUE"
			Shell $(UtilInf), DoAskSource, $(!STF_CWDDIR), $(SrcDir) YES
		 endif
		 Ifint $($ShellCode) != $(!SHELL_CODE_OK)
			Goto ShellCodeError
		 Else-Ifstr(i) $($R0) == STATUS_FAILED
			Shell $(UtilInf) RegistryErrorString "ASK_SOURCE_FAIL"
			ifint $($ShellCode) != $(!SHELL_CODE_OK)
			   goto ShellCodeError
            endif
            set Error = $($R0)
            Goto end
         Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
			Goto end
		 Endif
         Set SrcDir  = $($R1)
	  Endif
   Endif
   read-syms AvailableSystemMemory
   detect AvailableSystemMemory
   Ifint $(SystemMemory) < $(MinSystemMemory)
	  read-syms MiscErrorString2(!STF_LANGUAGE)
	  shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "FATAL" $(ErrorString)
	  goto end
   EndIf
   read-syms FSAndDiskSpace
   detect FSAndDiskSpace
   GetDriveInPath NtDrive $(!STF_WINDOWSSYSPATH)
   Set NTFSVolExists = FALSE
   Set !NTFSVolumeList = {}
   ForListDo $(VolumeFSList)
	  Ifstr(i) $($) == "NTFS"
		 Set NTFSVolExists = TRUE
		 Set NTFSVolumeList = >($(NTFSVolumeList),*($(VolumeList),$(#)))
	  EndIf
   EndForListDo
   Ifstr(i) $(NTFSVolExists) == FALSE
   	  Debug-Output "OEMNXPSM.INF:Install Phase = "$(!NTN_InstallPhase)
   	  Ifstr(i) $(!NTN_InstallPhase) == primary
		 read-syms NTFSFormatHappening$(!STF_LANGUAGE)
		 Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
	  Else
		 read-syms AFPString1$(!STF_LANGUAGE)
		 Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
	  EndIf
   EndIf
readvollist = +
   ForListDo $(VolumeList)
	  set CurrentVolume = *($(VolumeList), $(#))
	  set CurrentVolumeFree  = *($(VolumeFreeList), $(#))
	  Ifstr(i) $(CurrentVolume) == $(NtDrive)
		 Ifint $(CurrentVolumeFree) < $(RequiredSfmSize)
			read-syms SetupSpaceDlg$(!STF_LANGUAGE)
			ui start "SetupSpaceDlg"
            Ifstr(i) $(DLGEVENT) == "RETRY"
			   read-syms FSAndDiskSpace
               detect FSAndDiskSpace
               goto readvollist
			else
			   goto initialsetupcancel
            EndIf
		 EndIf
	  EndIf
   EndForListDo
CopySfmFiles = +
   ifstr(i) $(!STF_IDW) != TRUE
	  install "Install-Initial"
      ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
		 read-syms StatusRemoveSfm$(!STF_LANGUAGE)
		 Shell $(SubInf) PushBillBoard NETSTATUSDLG $(Status)
		 Shell "" RemoveSfmFiles "INSTALL"
		 Shell $(SubInf) PopBillBoard
		 goto usercancel
	  endif
   EndIf
   LoadLibrary "x" $(!STF_CWDDIR)$(UtilDll) !UTILHANDLE
   Set Result = ""
   Set FLibraryErrCtl = 1
StartInstall = +
   Set REMOVE_FLAG = TRUE
   read-syms StatusInstallSfm$(!STF_LANGUAGE)
   Shell $(SubInf) PushBillBoard NETSTATUSDLG $(Status)
   StartWait
   Set ThisOption = "SFM"
   Shell $(UtilInf), InstallSoftwareProduct, $(Manufacturer),$(Product$(ThisOption)Name), $(ProductFullInfName)
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $($R1)
      CloseRegKey $($R2)
      goto fatalregistry
   Endif
   Set SfmProductKey       = $($R1)
   Set SfmNetRuleKey       = $($R2)
   set NewValueList = +
                   {{Infname,0,$(!REG_VT_SZ),$(ProductFullInfName)},+
                   {Title,0,$(!REG_VT_SZ), $(Product$(ThisOption)Title)},+
                   {Description,$(NoTitle),$(!REG_VT_SZ),$(Product$(ThisOption)Description)},+
                   {MajorVersion,0,$(!REG_VT_DWORD),$(ProductMajorVersion)},+
                   {MinorVersion,0,$(!REG_VT_DWORD),$(ProductMinorVersion)},+
                   {InstalledComponents,$(NoTitle),$(!REG_VT_MULTI_SZ),$(TobeInstalledList)},+
                   {InstallDate,0,$(!REG_VT_DWORD),*($(Now),1)}}
   Shell $(UtilInf), AddValueList, $(SfmProductKey), $(NewValueList)
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(SfmProductKey)
      CloseRegKey $(SfmNetRuleKey)
      goto fatalregistry
   endif
   Set NewValueList = {{InfOption,$(NoTitle),$(!REG_VT_SZ),$(ThisOption)}, +
                      {Infname,$(NoTitle),$(!REG_VT_SZ),$(ProductFullInfName)}}
   Shell   $(UtilInf), AddValueList, $(SfmNetRuleKey), $(NewValueList)
   ifint $(ShellCode) != 0
       goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(SfmProductKey)
      CloseRegKey $(SfmNetRuleKey)
      goto fatalregistry
   Endif
   CloseRegKey $(SfmProductKey)
   CloseRegKey $(SfmNetRuleKey)
   Set ThisOption = ATALK
   Set REMOVE_SOFTWARE = >($(REMOVE_SOFTWARE), $(Product$(ThisOption)Name))
   Set Atalk_DependList = {}
   Set FLibraryErrCtl = 1
   Shell $(UtilInf), AddSoftwareComponent,+
					 $(Manufacturer), +
					 $(Product$(ThisOption)Name),+
					 $(Product$(ThisOption)Name), +
					 $(Product$(ThisOption)DisplayName), +
                     $(ProductFullInfName),+
					 $(Product$(ThisOption)ImagePath),+
                     "kernelautostart", "TDI",+
					 $(Atalk_DependList), "",+
					 $(Product$(ThisOption)EventDll)
   Set FLibraryErrCtl = 0
   Set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) !=  NO_ERROR
	  CloseRegKey $($R1)
      CloseRegKey $($R2)
      CloseRegKey $($R3)
      CloseRegKey $($R4)
      CloseRegKey $($R5)
      goto fatalregistry
   EndIf
   Set AtkVersKey          = $($R1)
   Set AtkNetRuleKey       = $($R2)
   Set AtkSvcKey           = $($R3)
   Set AtalkParameters = $($R4)
   Set AtkLinkageKey       = $($R5)
   set NewValueList = +
		 {{SoftwareType,0,$(!REG_VT_SZ),$(Product$(ThisOption)Type)},+
		 {Title,0,$(!REG_VT_SZ),$(Product$(ThisOption)Title)},+
		 {Description,0,$(!REG_VT_SZ),$(Product$(ThisOption)Description)},+
		 {PathName,0,$(!REG_VT_SZ),$(!STF_WINDOWSSYSPATH)},+
		 {ServiceName,0,$(!REG_VT_SZ),$(Product$(ThisOption)Name)},+
		 {Review,0,$(!REG_VT_DWORD),1},+
		 {Hidden,0,$(!REG_VT_DWORD),1},+
		 {InstallDate,0,$(!REG_VT_DWORD),*($(Now),1)}}
   Shell  $(UtilInf), AddValueList, $(AtkVersKey), $(NewValueList)
   set RegistryErrorIndex = $($R0)
   Ifstr $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(AtkVersKey)
      CloseRegKey $(AtkNetRuleKey)
      CloseRegKey $(AtkSvcKey)
      CloseRegKey $(AtkLinkageKey)
      CloseRegKey $(AtalkParameters)
      goto fatalregistry
   EndIf
   set NewValueList = +
		 {{type,0,$(!REG_VT_SZ),$(NetRule$(ThisOption)Type)}, +
         {use,0,$(!REG_VT_SZ),$(NetRule$(ThisOption)Use)}, +
         {bindform,0,$(!REG_VT_SZ),$(NetRule$(ThisOption)BindForm)}, +
         {class,0, $(!REG_VT_MULTI_SZ),$(NetRule$(ThisOption)Class)}, +
         {bindable,0, $(!REG_VT_MULTI_SZ), $(NetRule$(ThisOption)BindList)},+
         {InfOption,0,$(!REG_VT_SZ),$(ThisOption)}, +
         {Infname,0,$(!REG_VT_SZ),$(ProductFullInfName)} }
   Shell  $(UtilInf), AddValueList, $(AtkNetRuleKey), $(NewValueList)
   set RegistryErrorIndex = $($R0)
   Ifstr $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(AtkVersKey)
      CloseRegKey $(AtkNetRuleKey)
      CloseRegKey $(AtkSvcKey)
      CloseRegKey $(AtkLinkageKey)
      CloseRegKey $(AtalkParameters)
      goto fatalregistry
   EndIf
   set NewValueList = {{OtherDependencies,0,$(!REG_VT_MULTI_SZ),{"+NDIS"}}}
   shell  $(UtilInf), AddValueList, $(AtkLinkageKey), $(NewValueList)
   set RegistryErrorIndex = $($R0)
   Ifstr $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(AtkVersKey)
      CloseRegKey $(AtkNetRuleKey)
      CloseRegKey $(AtkSvcKey)
      CloseRegKey $(AtkLinkageKey)
      CloseRegKey $(AtalkParameters)
      goto fatalregistry
   EndIf
   CreateRegKey $(AtkSvcKey), {"Adapters",0,GenericClass},+
							  "", $(!ACCESS), "" , KeyAdapters
   Set DesiredZone = ""
   set NewValueList = +
		 {{EnableRouter,0,$(!REG_VT_DWORD),0},+
   		 {InitialInstall,0, $(!REG_VT_DWORD),1},+
         {DesiredZone,0,$(!REG_VT_SZ),$(DesiredZone)}}
   Shell  $(UtilInf), AddValueList, $(AtalkParameters), $(NewValueList)
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) !=  NO_ERROR
	  CloseRegKey $(KeyAdapters)
      goto fatalregistry
   EndIf
   Set WinAtalkDll = $(!STF_WINDOWSSYSPATH)"\"$(AtWinSockDll)
   Set MaxSockAddrLen      = 8
   Set MinSockAddrLen      = 6
   Shell $(UtilInf) AddWinsockInfo 	$(Product$(ThisOption)Name), +
									$(WinAtalkDll), +
									$(MaxSockAddrLen),+
									$(MinSockAddrLen)
   ifstr(i) $($R0) != NO_ERROR
	  read-syms AtalkString1$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
   Endif
   CloseRegKey $(AtkVersKey)
   CloseRegKey $(AtkNetRuleKey)
   CloseRegKey $(AtkSvcKey)
   CloseRegKey $(AtkLinkageKey)
   CloseRegKey $(AtalkParameters)
   CloseRegKey $(KeyAdapters)
   Set ThisOption = AFPSVC
   Set REMOVE_SOFTWARE 	= 	>($(REMOVE_SOFTWARE), $(Product$(ThisOption)Name))
   Set REMOVE_SERVICES  = 	>($(REMOVE_SERVICES), $(ProductAFPSRVRName))
   Set FLibraryErrCtl = 1
   Shell $(UtilInf), AddSoftwareComponent, +
						$(Manufacturer), +
						$(Product$(ThisOption)Name),+
						$(Product$(ThisOption)Name), +
						$(Product$(ThisOption)DisplayName), +
						$(ProductFullInfName),+
						$(Product$(ThisOption)ImagePath),+
						"autoserviceshare", "",+
						{"AppleTalk","LanManWorkStation"}, "",+
						$(Product$(ThisOption)EventDll)
   Set FLibraryErrCtl = 0
   Ifint $(ShellCode) != 0
	  goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $($R1)
      CloseRegKey $($R2)
      CloseRegKey $($R3)
      CloseRegKey $($R4)
      CloseRegKey $($R5)
      goto fatalregistry
   endif
   Set McProductKey  = $($R1)
   Set McNetRuleKey  = $($R2)
   Set McServiceKey  = $($R3)
   set McParameters  = $($R4)
   Set McLinkageKey  = $($R5)
   set NewValueList = +
		 {{SoftwareType,0 ,$(!REG_VT_SZ),$(Product$(ThisOption)Type)},+
         {Title,0,$(!REG_VT_SZ),$(Product$(ThisOption)Title)},+
         {Description,0,$(!REG_VT_SZ),$(Product$(ThisOption)Description)},+
         {PathName,0,$(!REG_VT_SZ),$(!STF_CWDDIR)},+
         {ServiceName,0,$(!REG_VT_SZ),$(Product$(ThisOption)Name)},+
         {Hidden,0,$(!REG_VT_DWORD),1},+
         {InstallDate,0,$(!REG_VT_DWORD),*($(Now),1)}}
   Shell   $(UtilInf),AddValueList,$(McProductKey),$(NewValueList)
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(McProductKey)
      CloseRegKey $(McNetRuleKey)
      CloseRegKey $(McServiceKey)
      CloseRegKey $(McParameters)
      CloseRegKey $(McLinkageKey)
      goto fatalregistry
   Endif
   set NewValueList = +
		 {{type,0,$(!REG_VT_SZ),$(NetRule$(ThisOption)Type)},+
         {use,$(NoTitle),$(!REG_VT_SZ),$(NetRule$(ThisOption)Use)},+
         {InfOption,$(NoTitle),$(!REG_VT_SZ),$(ThisOption)}, +
         {Infname ,$(NoTitle),$(!REG_VT_SZ),$(ProductFullInfName)}}
   Shell   $(UtilInf), AddValueList, $(McNetRuleKey), $(NewValueList)
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
      CloseRegKey $(McProductKey)
      CloseRegKey $(McNetRuleKey)
      CloseRegKey $(McServiceKey)
      CloseRegKey $(McParameters)
      CloseRegKey $(McLinkageKey)
      goto fatalregistry
   endif
   CreateRegKey $(McParameters)	{"Type_Creators",0,GenericClass} "" +
								$(!ACCESS) "" KeyTypeCreator
   CreateRegKey $(McParameters)	{"Extensions",0,GenericClass} "" +
								 $(!ACCESS) "" KeyExtensions
   CreateRegKey $(McParameters) {"Icons",0,GenericClass} "" +
								 $(!ACCESS) "" KeyIcons
   CreateRegKey $(McParameters) {"Volumes",$(NoTitle),GenericClass} "" +
								 $(!ACCESS) "" KeyVolumeList
   Shell $(!STF_CWDDIR)$(IconsInfFile) ReadIconVariables
   set NewValueList = +
		 {{LMANDEXE,0,$(!REG_VT_MULTI_SZ),$(!LMANDEXE)},+
         {LMANTEXT,0, $(!REG_VT_MULTI_SZ),$(!LMANTEXT)},+
         {SRVRSRVR,0, $(!REG_VT_MULTI_SZ),$(!SRVRSRVR)}}
   Shell  $(UtilInf),AddValueList,$(KeyIcons),$(NewValueList)
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(McProductKey)
	  CloseRegKey $(McNetRuleKey)
	  CloseRegKey $(McServiceKey)
	  CloseRegKey $(McParameters)
	  CloseRegKey $(McLinkageKey)
	  goto fatalregistry
   endif
   read-syms TCComments$(!STF_LANGUAGE)
   Shell $(!STF_CWDDIR)$(TypeCreatorMapFile) ReadTypeCreatorMappings
   Set NewValueList =  +
		 {{1,0,$(!REG_VT_MULTI_SZ),$(!XCEL1CREATOR)},+
		 {2,0,$(!REG_VT_MULTI_SZ),$(!XCEL2CREATOR)},+
		 {3,0,$(!REG_VT_MULTI_SZ),$(!XCEL3CREATOR)},+
		 {4,0,$(!REG_VT_MULTI_SZ),$(!XCEL4CREATOR)},+
		 {5,0,$(!REG_VT_MULTI_SZ),$(!XCEL5CREATOR)},+
		 {6,0,$(!REG_VT_MULTI_SZ),$(!XCEL6CREATOR)},+
		 {7,0,$(!REG_VT_MULTI_SZ),$(!XCEL7CREATOR)},+
		 {8,0,$(!REG_VT_MULTI_SZ),$(!XCEL8CREATOR)},+
		 {9,0,$(!REG_VT_MULTI_SZ),$(!XCEL9CREATOR)},+
		 {10,0,$(!REG_VT_MULTI_SZ),$(!XCEL10CREATOR)},+
		 {11,0,$(!REG_VT_MULTI_SZ),$(!XCEL11CREATOR)},+
		 {12,0,$(!REG_VT_MULTI_SZ),$(!XCEL12CREATOR)},+
		 {13,0,$(!REG_VT_MULTI_SZ),$(!XCEL13CREATOR)},+
		 {14,0,$(!REG_VT_MULTI_SZ),$(!MSWD1CREATOR)},+
		 {15,0,$(!REG_VT_MULTI_SZ),$(!MSWD2CREATOR)},+
		 {16,0,$(!REG_VT_MULTI_SZ),$(!MSPJ1CREATOR)},+
		 {17,0,$(!REG_VT_MULTI_SZ),$(!MSPJ2CREATOR)},+
		 {18,0,$(!REG_VT_MULTI_SZ),$(!MSPJ3CREATOR)},+
		 {19,0,$(!REG_VT_MULTI_SZ),$(!MSPJ4CREATOR)},+
		 {20,0,$(!REG_VT_MULTI_SZ),$(!MSPJ5CREATOR)},+
		 {21,0,$(!REG_VT_MULTI_SZ),$(!ALD31CREATOR)},+
		 {22,0,$(!REG_VT_MULTI_SZ),$(!ALD32CREATOR)},+
		 {23,0,$(!REG_VT_MULTI_SZ),$(!ALD33CREATOR)},+
		 {24,0,$(!REG_VT_MULTI_SZ),$(!MORECREATOR)},+
		 {25,0,$(!REG_VT_MULTI_SZ),$(!FOX+CREATOR)},+
		 {26,0,$(!REG_VT_MULTI_SZ),$(!ALD41CREATOR)},+
		 {27,0,$(!REG_VT_MULTI_SZ),$(!ALD42CREATOR)},+
		 {28,0,$(!REG_VT_MULTI_SZ),$(!ALD43CREATOR)},+
		 {29,0,$(!REG_VT_MULTI_SZ),$(!ARTZCREATOR)},+
		 {30,0,$(!REG_VT_MULTI_SZ),$(!SIT!CREATOR)},+
		 {31,0,$(!REG_VT_MULTI_SZ),$(!PPT2CREATOR)},+
		 {32,0,$(!REG_VT_MULTI_SZ),$(!PPT3CREATOR)},+
		 {33,0,$(!REG_VT_MULTI_SZ),$(!L123CREATOR)},+
		 {34,0,$(!REG_VT_MULTI_SZ),$(!LMANCREATOR)},+
		 {35,0,$(!REG_VT_MULTI_SZ),$(!TTXTCREATOR)}}
   Shell  $(UtilInf),AddValueList,$(KeyTypeCreator),$(NewValueList)
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(McProductKey)
	  CloseRegKey $(McNetRuleKey)
	  CloseRegKey $(McServiceKey)
	  CloseRegKey $(McParameters)
	  CloseRegKey $(McLinkageKey)
	  goto fatalregistry
   endif
   read-syms ExtensionIds
   Set NewValueList =  +
		 {{XLC,0,$(!REG_VT_MULTI_SZ),$(XCEL1ID)},+
		 {XLS,0,$(!REG_VT_MULTI_SZ),$(XCEL2ID)},+
		 {XLM,0,$(!REG_VT_MULTI_SZ),$(XCEL3ID)},+
		 {XLW,0,$(!REG_VT_MULTI_SZ),$(XCEL4ID)},+
		 {XLA,0,$(!REG_VT_MULTI_SZ),$(XCEL5ID)},+
		 {XLT,0,$(!REG_VT_MULTI_SZ),$(XCEL6ID)},+
		 {SLK,0,$(!REG_VT_MULTI_SZ),$(XCEL7ID)},+
		 {WKS,0,$(!REG_VT_MULTI_SZ),$(XCEL8ID)},+
		 {WK1,0,$(!REG_VT_MULTI_SZ),$(XCEL9ID)},+
		 {CSV,0,$(!REG_VT_MULTI_SZ),$(XCEL10ID)},+
		 {DIF,0,$(!REG_VT_MULTI_SZ),$(XCEL11ID)},+
		 {DOC,0,$(!REG_VT_MULTI_SZ),$(MSWD1ID)},+
		 {WRD,0,$(!REG_VT_MULTI_SZ),$(MSWD2ID)},+
		 {RTF,0,$(!REG_VT_MULTI_SZ),$(MSWD2ID)},+
		 {STY,0,$(!REG_VT_MULTI_SZ),$(MSWD2ID)},+
		 {GLY,0,$(!REG_VT_MULTI_SZ),$(MSWD2ID)},+
		 {TXT,0,$(!REG_VT_MULTI_SZ),$(MSWD2ID)},+
		 {MPP,0,$(!REG_VT_MULTI_SZ),$(MSPJ1ID)},+
		 {MPX,0,$(!REG_VT_MULTI_SZ),$(MSPJ2ID)},+
		 {MPC,0,$(!REG_VT_MULTI_SZ),$(MSPJ3ID)},+
		 {MPV,0,$(!REG_VT_MULTI_SZ),$(MSPJ4ID)},+
		 {MPW,0,$(!REG_VT_MULTI_SZ),$(MSPJ5ID)},+
		 {PM4,0,$(!REG_VT_MULTI_SZ),$(ALD41ID)},+
		 {PT4,0,$(!REG_VT_MULTI_SZ),$(ALD42ID)},+
		 {TEM,0,$(!REG_VT_MULTI_SZ),$(ALD42ID)},+
		 {TPL,0,$(!REG_VT_MULTI_SZ),$(ALD42ID)},+
		 {TIF,0,$(!REG_VT_MULTI_SZ),$(ALD43ID)},+
		 {RDY,0,$(!REG_VT_MULTI_SZ),$(MOREID)},+
		 {DBF,0,$(!REG_VT_MULTI_SZ),$(FOX+ID)},+
		 {PUB,0,$(!REG_VT_MULTI_SZ),$(ALD31ID)},+
		 {EPS,0,$(!REG_VT_MULTI_SZ),$(ARTZID)},+
		 {SIT,0,$(!REG_VT_MULTI_SZ),$(SIT!ID)},+
		 {PPT,0,$(!REG_VT_MULTI_SZ),$(PPT3ID)},+
		 {WK3,0,$(!REG_VT_MULTI_SZ),$(L123ID)},+
		 {UAM,0,$(!REG_VT_MULTI_SZ),$(TTXTID)},+
		 {EXE,0,$(!REG_VT_MULTI_SZ),$(LMANID)},+
		 {DLL,0,$(!REG_VT_MULTI_SZ),$(LMANID)},+
		 {COM,0,$(!REG_VT_MULTI_SZ),$(LMANID)},+
		 {BAT,0,$(!REG_VT_MULTI_SZ),$(LMANID)},+
		 {CMD,0,$(!REG_VT_MULTI_SZ),$(LMANID)},+
		 {SYS,0,$(!REG_VT_MULTI_SZ),$(LMANID)}}
   Shell  $(UtilInf),AddValueList,$(KeyExtensions),$(NewValueList)
   ifint $(ShellCode) != 0
      goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(McProductKey)
      CloseRegKey $(McNetRuleKey)
      CloseRegKey $(McServiceKey)
      CloseRegKey $(McParameters)
      CloseRegKey $(McLinkageKey)
      goto fatalregistry
   endif
   Ifstr(i) $(NTFSVolExists) == TRUE
	  Ifstr(i) $(!UamCopyStatus) == TRUE
		 Shell "" DoUAMInstall "INSTALL"
		 Ifint $($ShellCode) != $(!SHELL_CODE_OK)
			Goto ShellCodeError
		 EndIf
      EndIf
   EndIf
   CloseRegKey $(McProductKey)
   CloseRegKey $(McNetRuleKey)
   CloseRegKey $(McServiceKey)
   CloseRegKey $(McParameters)
   CloseRegKey $(McLinkageKey)
   CloseRegKey $(KeyTypeCreator)
   CloseRegKey $(KeyExtensions)
   CloseRegKey $(KeyIcons)
   CloseRegKey $(KeyVolumeList)
   Set Afp_DependList = {"+TDI"}
   Set FLibraryErrCtl = 1
   Shell $(UtilInf)  CreateService,+
					 $(ProductAFPSRVRName),$(ProductAFPSRVRDisplayName),+
					 $(ProductAFPSRVRImagePath),"system",+
					 "Network", $(Afp_DependList),"",+
					 $(ProductAFPSRVREventDll)
   Set FLibraryErrCtl = 0
   Ifint $($ShellCode) != $(!SHELL_CODE_OK)
	  goto ShellCodeError
   endif
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  goto fatalregistry
   endif
   CloseRegKey $($R1)
   CloseRegKey $($R2)
   CloseRegKey $($R3)
   Set IniFile = $(!STF_NTPATH)"\"$(NtNetIniFileName)
   Set IniString = $(!STF_WINDOWSSYSPATH)"\"$(AfpMgrCplFile)
   Set IniSection = $(SrvMgrIniSection)
   Set FLibraryErrCtl = 1
   LibraryProcedure IniStatus $(!UTILHANDLE) WriteAfpMgrIniStrings, $(IniSection), $(IniString), $(IniFile)
   Set FLibraryErrCtl = 0
   ifstr(i) $(IniStatus) == "FAILED"
	  read-syms AFPString3$(!STF_LANGUAGE)
	  shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
   EndIf
   Set IniFile = $(!STF_NTPATH)"\"$(WinFileIniFileName)
   Set IniString = $(!STF_WINDOWSSYSPATH)"\"$(AfpMgrCplFile)
   Set IniSection = $(WinFileIniSection)
   Set FLibraryErrCtl = 1
   LibraryProcedure IniStatus $(!UTILHANDLE) WriteAfpMgrIniStrings, $(IniSection), $(IniString), $(IniFile)
   Set FLibraryErrCtl = 0
   ifstr(i) $(IniStatus) == "FAILED"
	  read-syms AFPString2$(!STF_LANGUAGE)
      shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
   EndIf
   Set ThisOption = MACPRINT
   Set REMOVE_SOFTWARE = >($(REMOVE_SOFTWARE), $(Product$(ThisOption)Name))
   Set FLibraryErrCtl = 1
   Shell $(UtilInf), AddSoftwareComponent, +
					 $(Manufacturer), +
					 $(Product$(ThisOption)Name), +
					 $(Product$(ThisOption)Name),+
					 $(Product$(ThisOption)DisplayName), +
					 $(ProductFullInfName), +
					 $(Product$(ThisOption)ImagePath),+
					 "serviceauto", "", {"AppleTalk"},"",+
					 $(Product$(ThisOption)EventDll) "", +
					 "Application", ""
   Set FLibraryErrCtl = 0
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   EndIf
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
      CloseRegKey $($R1)
      CloseRegKey $($R2)
      CloseRegKey $($R3)
      CloseRegKey $($R4)
      CloseRegKey $($R5)
      goto fatalregistry
   EndIf
   Set MpProductKey	= $($R1)
   Set MpNetRuleKey	= $($R2)
   Set MpServiceKey	= $($R3)
   Set MpParameters = $($R4)
   Set MpLinkageKey = $($R5)
   set NewValueList = +
		 {{SoftwareType,0,$(!REG_VT_SZ),$(Product$(ThisOption)Type)},+
         {Title,0,$(!REG_VT_SZ),$(Product$(ThisOption)Title)},+
         {Description,0,$(!REG_VT_SZ),$(Product$(ThisOption)Description)},+
         {PathName,$(NoTitle),$(!REG_VT_SZ),$(!STF_CWDDIR)},+
         {ServiceName,$(NoTitle),$(!REG_VT_SZ),$(Product$(ThisOption)Name)},+
         {Hidden,0,$(!REG_VT_DWORD),1},+
         {InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
   Shell $(UtilInf),AddValueList,$(MpProductKey),$(NewValueList)
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   EndIf
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
      CloseRegKey $(MpProductKey)
      CloseRegKey $(MpNetRuleKey)
      CloseRegKey $(MpServiceKey)
      CloseRegKey $(MpParameters)
      CloseRegKey $(MpLinkageKey)
      goto fatalregistry
   EndIf
   set NewValueList = {{InfOption,0,$(!REG_VT_SZ),$(ThisOption)}, +
                      {Infname,0,$(!REG_VT_SZ),$(ProductFullInfName)}}
   Shell $(UtilInf), AddValueList, $(MpNetRuleKey), $(NewValueList)
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   EndIf
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(MpProductKey)
      CloseRegKey $(MpNetRuleKey)
      CloseRegKey $(MpParameters)
      CloseRegKey $(MpLinkageKey)
      CloseRegKey $(MpServiceKey)
      goto fatalregistry
   EndIf
   set NewValueList = {{OtherDependencies,0, $(!REG_VT_MULTI_SZ), {"AppleTalk"}}}
   Shell $(UtilInf), AddValueList $(MpLinkageKey), $(NewValueList)
   ifint $(ShellCode) != 0
	  goto ShellCodeError
   EndIf
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
      CloseRegKey $(MpProductKey)
      CloseRegKey $(MpNetRuleKey)
      CloseRegKey $(MpParameters)
      CloseRegKey $(MpLinkageKey)
      CloseRegKey $(MpServiceKey)
      goto fatalregistry
   EndIf
   CloseRegKey $(MpProductKey)
   CloseRegKey $(MpNetRuleKey)
   CloseRegKey $(MpParameters)
   CloseRegKey $(MpLinkageKey)
   CloseRegKey $(MpServiceKey)
   Set MacPrintEventLogKey = $(!EventLogKey)"\"$(ThisOption)
   OpenRegKey $(!REG_H_LOCAL) "" $(MacPrintEventLogKey) $(!ACCESS) MacEvntLogKey
   ifstr(i) $(MacEvntLogKey) != $(!KeyNull)
	  Set EventFile = $(ProductMACPRINTEventDll)
	  Set NewValueList = +
			{{CategoryMessageFile,0,$(!REG_VT_EXPAND_SZ),$(EventFile)}, +
            {CategoryCount,0,$(!REG_VT_DWORD),5}}
	  Shell $(UtilInf) AddValueList, $(MacEvntLogKey), $(NewValueList)
	  ifint $(ShellCode) != 0
		 goto ShellCodeError
	  EndIf
	  set RegistryErrorIndex = $($R0)
	  CloseRegKey $(MacEvntLogKey)
	  Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
		 goto fatalregistry
	  EndIf
   Else
	  read-syms MacPrintString2$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
   EndIf
   Set AddMonStatus = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure AddMonStatus $(!UTILHANDLE) SfmAddPrintMonitor $(!AtalkMonName)
   Set FLibraryErrCtl = 0
   ifstr(i) $(AddMonStatus) == "FAILED"
	  read-syms MacPrintString4$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
   EndIf
   OpenRegKey $(!REG_H_LOCAL) "" $(!EventLogKey) $(!ACCESS) EvntLogKey
   ifstr(i) $(EvntLogKey) != $(!KeyNull)
	  CreateRegKey $(EvntLogKey) {$(!AtalkMonEventLogName),0,GenericClass} "" +
                   $(!ACCESS) "" AtalkMonKey
	  Set EventFile = "%SystemRoot%\system32\sfmmon.dll"
	  Set NewValueList = +
			{{CategoryMessageFile,0,$(!REG_VT_EXPAND_SZ),$(EventFile)},+
			{EventMessageFile,0,$(!REG_VT_EXPAND_SZ),$(EventFile)},+
			{CategoryCount,0,$(!REG_VT_DWORD),4},+
			{TypesSupported,0,$(!REG_VT_DWORD),7}}
	  Shell $(UtilInf) AddValueList $(AtalkMonKey) $(NewValueList)
	  ifint $(ShellCode) != 0
		 goto ShellCodeError
	  EndIf
	  set RegistryErrorIndex = $($R0)
	  CloseRegKey $(AtalkMonKey)
	  CloseRegKey $(EvntLogKey)
	  Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
		 goto fatalregistry
	  EndIf
   Else
	  read-syms MacPrintString10$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
   EndIf
   Set PrintProcDir = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure PrintProcDir $(!UTILHANDLE) GetPrintProcDir
   Set FLibraryErrCtl = 0
   ifstr(i) $(PrintProcDir) == "FAILED"
	  read-syms MacPrintString6$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      goto pstodibdone
   Endif
   Set !PrintProcDir = $(PrintProcDir)
   ifstr(i) $(!STF_IDW) != TRUE
	  install "Install-PSPrint"
   EndIf
   Set FLibraryErrCtl = 1
   LibraryProcedure Status $(!UTILHANDLE) AddPrintProc $(PSprintProcFile) $(PSprintProc)
   Set FLibraryErrCtl = 0
   ifstr(i) $(Status) != SUCCESS
	  read-syms MacPrintString3$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
   EndIf
pstodibdone = +
    EndWait
    FreeLibrary $(!UTILHANDLE)
    Shell $(SubInf) PopBillBoard
    goto successful
Configuresfm = +
   OpenRegKey $(!REG_H_LOCAL) "" $(!ProductKeyLinkage) $(!ACCESS) LinkageKey
   ifstr(i) $(LinkageKey) != $(!KeyNull)
	  GetRegValue $(LinkageKey) "Bind" BindList
      ifstr(i) $(BindList) == ""
		 read-syms AtalkString3$(!STF_LANGUAGE)
         Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
	     goto endconfigui
      endif
   else
	  Set RegistryErrorIndex = $($R0)
      goto fatalregistry
   EndIf
   LoadLibrary "x" $(!STF_CWDDIR)sfmatcfg.dll ATHANDLE
   Set FLibraryErrCtl = 1
   Set atcfgresult = ""
   LibraryProcedure atcfgresult, $(ATHANDLE),EnterAtalkConfigDLL $(!STF_HWND)
   FreeLibrary $(ATHANDLE)
endconfigui = +
   Set CommonStatus = STATUS_USERCANCEL
   goto usercancel
Bindingssfm = +
   Set DefaultPortRemoved = FALSE
   OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\AppleTalk\Linkage" $(!ACCESS) LinkageKey
   Ifstr(i) $(LinkageKey) == $(!KeyNull)
	  Set RegistryErrorIndex = UNABLE_ACCESS_CONFIGURE_SERVICE
	  Goto fatalregistry
   Endif
   OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\AppleTalk\Parameters" $(!ACCESS) BindParmKey
   Ifstr(i) $(BindParmKey) == $(!KeyNull)
	  Set RegistryErrorIndex = UNABLE_ACCESS_CONFIGURE_SERVICE
	  Goto fatalregistry
   Endif
   Set BindList = {}
   Set ExportList = {}
   Set RouteList  = {}
   GetRegValue $(LinkageKey) "Bind" BindList
   GetRegValue $(LinkageKey) "Export" ExportList
   GetRegValue $(LinkageKey) "Route" RouteList
   GetRegValue $(LinkageKey) "Exclude" ExcludeList
   QueryListSize BindCount $(BindList)
   IfInt $(BindCount) == 0
	  Goto endbinding
   Endif
   set NewBindList = {}
   set NewExportList = {}
   set NewRouteList = {}
   ForListDo *($(BindList),4)
	  Split-String $($), "\", BindInfo
	  set NewBindList = >($(NewBindList), *($(BindInfo),4))
   EndForListDo
   ForListDo *($(ExportList),4)
	  set NewExportList = >($(NewExportList), $($))
   EndForListDo
   ForListDo *($(RouteList),4)
	  set NewRouteList = >($(NewRouteList), $($))
   EndForListDo
   ForListDo *($(ExcludeList),4)
	  set NewExcludeList = >($(NewExcludeList), $($))
   EndForListDo
   OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\AppleTalk\Adapters" $(!ACCESS) AdapterKey
   Ifstr(i) $(AdapterKey) == $(!KeyNull)
	  Set RegistryErrorIndex = UNABLE_ACCESS_CONFIGURE_SERVICE
	  Goto fatalregistry
   Endif
   set AdapterList = ""
   EnumRegKey $(AdapterKey) AdapterList
   Set AtalkAdapterList = {}
   ForListDo $(AdapterList)
	  Set AtalkAdapterList = >($(AtalkAdapterList), *($($),1))
   EndForListDo
   QueryListSize AdapterCount $(AtalkAdapterList)
   Set fAddingFirstAdapter = FALSE
   ifint $(AdapterCount) == 0
   	  Set fAddingFirstAdapter = TRUE
   EndIf
   Set NewBindings = ""
   Set TobeUsedBindList = {}
   Set TobeUsedExportList = {}
   Set TobeUsedRouteList = {}
   ForListDo $(NewBindList)
	  IfContains(i) $($) not-in $(AtalkAdapterList)
		 Set NewBindings = TRUE
         Set TobeUsedBindList = >($(TobeUsedBindList),"\Device\"$($))
         Set TobeUsedExportList = >($(TobeUsedExportList),*($(NewExportList),$(#)))
         Set TobeUsedRouteList = >($(TobeUsedRouteList),*($(NewRouteList),$(#)))
         Shell "" CreateAtalkConfig $($) $(AdapterKey)
         Ifstr(i) $($R0) != STATUS_SUCCESSFUL
			CloseRegKey $(AdapterKey)
            Set RegistryErrorIndex = $($R1)
            goto fatalregistry
         EndIf
	  Else
		 Set TobeUsedBindList = >($(TobeUsedBindList),"\Device\"$($))
		 Set TobeUsedExportList = >($(TobeUsedExportList),*($(NewExportList),$(#)))
         Set TobeUsedRouteList = >($(TobeUsedRouteList),*($(NewRouteList),$(#)))
     Endif
   EndForListDo
   set NewValueList = {{Bind,0,$(!REG_VT_MULTI_SZ),$(TobeUsedBindList)}, +
                      {Export,0,$(!REG_VT_MULTI_SZ),$(TobeUsedExportList)}, +
                      {Route,0,$(!REG_VT_MULTI_SZ),$(TobeUsedRouteList)}}
   Ifstr(i) $(NewBindings) == TRUE
	  Shell  $(UtilInf), AddValueList, $(LinkageKey), $(NewValueList)
	  set RegistryErrorIndex = $($R0)
      CloseRegKey $(LinkageKey)
	  Ifstr(i) $(RegistryErrorIndex) !=  NO_ERROR
		 goto fatalregistry
      EndIf
   EndIf
   Set DefaultPort = {}
   Set MediaTypeList = {}
   GetRegValue $(BindParmKey) "DefaultPort" DefaultPort
   Ifstr(i) $(DefaultPort) != {}
	  goto removeadapters
   EndIf
finddefaultport = +
   ForListDo $(TobeUsedBindList)
	  Split-String $($) "\" PortName
	  Shell "" FindMediaType *($(PortName),4)
	  Ifstr(i) $($R0) == STATUS_SUCCESSFUL
		 Set MediaTypeList = >($(MediaTypeList), $($R1))
	  EndIf
   EndForListDo
   Ifcontains(i) "1" in $(MediaTypeList)
	  ForListDo $(MediaTypeList)
		 Ifint $($) == 1
			Set DefaultPort = *($(TobeUsedBindList),$(#))
            goto defportdone
		 EndIf
	  EndForListDo
   else-ifcontains(i) "4" in $(MediaTypeList)
	  ForListDo $(MediaTypeList)
		 Ifint $($) == 4
			Set DefaultPort = *($(TobeUsedBindList),$(#))
			goto defportdone
		 EndIf
	  EndForListDo
   else-ifcontains(i) "2" in $(MediaTypeList)
	  ForListDo $(MediaTypeList)
		 Ifint $($) == 2
			Set DefaultPort = *($(TobeUsedBindList),$(#))
			goto defportdone
		 EndIf
	  EndForListDo
   else-ifcontains(i) "5" in $(MediaTypeList)
	  Set DefaultPort = *($(TobeUsedBindList),1)
   else
	  read-syms NoAdaptersFound$(!STF_LANGUAGE)
	  Shell $(SubInf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(ErrorString)
	  Set DefaultPort = ""
	  Set NewValueList = {{DefaultPort,0,$(!REG_VT_SZ),$(DefaultPort)}}
	  Shell  $(UtilInf), AddValueList, $(BindParmKey), $(NewValueList)
	  set RegistryErrorIndex = $($R0)
	  Ifstr(i) $(RegistryErrorIndex) !=  NO_ERROR
		 goto fatalregistry
	  EndIf
      goto endbinding
   Endif
defportdone = +
   Set NewValueList = {{DefaultPort,0,$(!REG_VT_SZ),$(DefaultPort)}}
   Shell  $(UtilInf), AddValueList, $(BindParmKey), $(NewValueList)
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) !=  NO_ERROR
	  goto fatalregistry
   EndIf
   goto startconfig
removeadapters = +
   Split-String *($(DefaultPort),4) "\" PortName
   ForListDo $(AtalkAdapterList)
	  Ifcontains(i) $($) not-in $(NewBindList)
		 DeleteRegKey $(AdapterKey) $($)
		 Ifstr(i) $($) == *($(PortName),4)
			read-syms RemoveDefaultPort$(!STF_LANGUAGE)
            Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "FATAL" $(ErrorString)
			Set DefaultPortRemoved = TRUE
            goto finddefaultport
        Endif
	  EndIf
   EndForListDo
startconfig = +
   Set DoConfig = 0
   GetRegValue $(BindParmKey) "InitialInstall" DoConfig
   Set IsInitialInstall = *($(DoConfig),4)
   Debug-Output "Config State = "$(DoConfig)
   ifint $(IsInitialInstall) == 1
   	  goto startsvc
   EndIf
   ifstr(i) $(DefaultPortRemoved) == TRUE
   	  goto startsvc
   endif
   ifstr(i) $(fAddingFirstAdapter) == TRUE
   	  goto startsvc
   endif
   goto endbinding
startsvc = +
   Set FLibraryErrCtl = 1
   read-syms StatusStartingAppleTalk$(!STF_LANGUAGE)
   Shell $(SubInf) PushBillBoard NETSTATUSDLG $(Status)
   StartWait
   Set WaitStarted = 1
   LibraryProcedure START_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), STARTSVC, AppleTalk
   Shell $(SubInf) PopBillBoard
   Set START_STATUS = *($(START_RESULT),1)
   Debug-Output "OEMNXPSM.INF: Start AppleTalk; result was: "$(START_STATUS)
   Ifint $(START_STATUS) != 0
	  EndWait
	  Set WaitStarted = 0
	  LibraryProcedure START_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), ERRORMSG, $(START_STATUS)
	  Set ATALK_ERROR_MESSAGE = *($(START_RESULT),2)
	  read-syms CannotStartAtalk$(!STF_LANGUAGE)
	  Set ErrorString  = $(ATALK_ERROR_MESSAGE)$(ErrorSuffix)
	  Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "FATAL" $(ErrorString)
   Else
	  LibraryProcedure START_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), STARTSVC, Afd
	  Set START_STATUS = *($(START_RESULT),1)
	  Debug-Output "OEMNXPSM.INF: Start Afd result was: "$(START_STATUS)
	  Ifint $(START_STATUS) != 0
		 EndWait
		 Set WaitStarted = 0
		 LibraryProcedure START_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), ERRORMSG, $(START_STATUS)
		 Set ATALK_ERROR_MESSAGE = *($(START_RESULT),2)
		 read-syms CannotStartAfd$(!STF_LANGUAGE)
		 Set ErrorString  = $(ATALK_ERROR_MESSAGE)$(ErrorSuffix)
		 Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "FATAL" $(ErrorString)
		 goto endbinding
	  EndIf
	  LoadLibrary "x" $(!STF_CWDDIR)sfmatcfg.dll ATHANDLE
	  Set FLibraryErrCtl = 1
	  Set atcfgresult = ""
	  LibraryProcedure atcfgresult, $(ATHANDLE),EnterAtalkConfigDLL $(!STF_HWND)
	  FreeLibrary $(ATHANDLE)
	  SetRegValue $(BindParmKey) {InitialInstall,0,$(!REG_VT_DWORD),0}
      ifint $(IsInitialInstall) == 1
		 read-syms SetupSuccess$(!STF_LANGUAGE)
		 Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "STATUS" $(Status)
	  EndIf
	  EndWait
   EndIf
endbinding = +
   CloseRegKey $(BindParmKey)
   goto end
Removesfm = +
   Set FLibraryErrCtl  = 1
   Ifcontains(i) "MacFile" in $(REMOVE_SOFTWARE)
	  Set IniFile = $(!STF_NTPATH)"\"$(NtNetIniFileName)
      Set IniSection = $(SrvMgrIniSection)
      Set Result = ""
      Set FLibraryErrCtl = 1
      LibraryProcedure Result, $(!UTILHANDLE), WriteAfpMgrIniStrings, $(IniSection), NULL, $(IniFile)
      Set FLibraryErrCtl = 0
      ifstr(i) $(Result) == "FAILED"
      endif
      Set IniFile = $(!STF_NTPATH)"\"$(WinFileIniFileName)
      Set IniSection = $(WinFileIniSection)
      Set FLibraryErrCtl = 1
      LibraryProcedure Result, $(!UTILHANDLE), WriteAfpMgrIniStrings, $(IniSection), NULL, $(IniFile)
      Set FLibraryErrCtl = 0
   EndIf
   ifstr(i) $(!STF_IDW) != TRUE
	  read-syms StatusRemoveSfm$(!STF_LANGUAGE)
      Shell $(SubInf) PushBillBoard NETSTATUSDLG $(Status)
      Shell "" RemoveSfmFiles "REMOVE"
      Shell $(SubInf)  PopBillBoard
   EndIf
   OpenRegKey $(!REG_H_LOCAL) "" $(!ProductKeyBase) $(!ACCESS) ProductKey
   Ifstr $(ProductKey) == $(!KeyNull)
	  set RegistryErrorIndex = UNABLE_ACCESS_CONFIGURE_SERVICE
      goto fatalregistry
   endif
   DeleteRegTree $(ProductKey) $(ProductSFMName)
   CloseRegKey $(ProductKey)
   ForListDo  $(REMOVE_SOFTWARE)
       debug-output "Removing component: "$($)
       Shell $(UtilInf), RemoveSoftwareComponent, $(Manufacturer), $($)
   EndForListDo
   ForListDo  $(REMOVE_SERVICES)
       debug-output "Removing component service: "$($)
       Shell $(UtilInf), RemoveService, $($), "YES"
   EndForListDo
   Ifcontains(i) "MACPRINT" in $(REMOVE_SOFTWARE)
	  Set DelMonStatus = ""
      Set FLibraryErrCtl = 1
      LibraryProcedure DelMonStatus $(!UTILHANDLE) SfmDeletePrintMonitor $(!AtalkMonName)
      Set FLibraryErrCtl = 0
      ifstr(i) $(DelMonStatus) == "FAILED"
		 read-syms MacPrintString7$(!STF_LANGUAGE)
         Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      EndIf
      OpenRegKey $(!REG_H_LOCAL) "" $(!EventLogKey) $(!ACCESS) LogKey
      Ifstr(i) $(LogKey) == $(!KeyNull)
		 Set RegistryErrorIndex = $($R0)
         goto fatalregistry
      EndIf
      Set AtalkMonKey = $(!AtalkMonEventLogName)	
      DeleteRegTree $(LogKey) $(AtalkMonKey)
      Set MacPrintKey = "MACPRINT"
      DeleteRegTree $(LogKey) $(MacPrintKey)
      CloseRegKey $(!EventLogKey)
      Set DelStatus = ""
      Set FLibraryErrCtl = 1
      LibraryProcedure DelStatus $(!UTILHANDLE) DeletePrintProc "\\"$(!STF_COMPUTERNAME) SFMPSPRT
      Set FLibraryErrCtl = 0
      Ifstr(i) $(DelStatus) == FAILED
		 read-syms MacPrintString5$(!STF_LANGUAGE)
         Shell $(SubInf) SetupMessage "NONFATAL" $(ErrorString)
      EndIf
   EndIf
   Ifcontains(i) "AppleTalk" in $(REMOVE_SOFTWARE)
	  Shell $(UtilInf) UpdateWinsockService "AppleTalk" FALSE
   EndIf
   Ifstr(i) $($R0) != NO_ERROR
	  read-syms AtalkString2$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage "NONFATAL" $(ErrorString)
   EndIf
   FreeLibrary $(!UTILHANDLE)
   Set FLibraryErrCtl = 1
   ifstr(i) $(!STF_IDW) != TRUE
       LibraryProcedure Status, $(!LIBHANDLE), DelFile $(!STF_CWDDIR)$(UtilDll)
   EndIf
   Set FLibraryErrCtl = 0
   goto end
Upgradesfm = +
   ifstr(i) $(!ProductKeyName) == $(!NTN_RegBase)
	  OpenRegKey $(!REG_H_LOCAL) "" $(!ProductKeyName) $(!ACCESS) KeyProduct
	  Ifstr $(KeyProduct) != $(!KeyNull)
		 GetRegValue $(KeyProduct),"MajorVersion", VersionInfo
         set Version = *($(VersionInfo), 4)
         Split-String $(!NTN_Infname), "\", FilenameList
         QueryListSize ListSize $(FilenameList)
         set !UG_Filename = *($(FilenameList), $(ListSize))
         install Install-Update
         ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
			goto fatal
         endif
		 LoadLibrary "x" $(!STF_CWDDIR)$(UtilDll) !UTILHANDLE
		 Shell "" DoUamInstall "INSTALL"
		 FreeLibrary $(!UTILHANDLE)
		 Ifint $($ShellCode) != $(!SHELL_CODE_OK)
			Goto ShellCodeError
		 EndIf
         SetRegValue $(KeyProduct) {MajorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMajorVersion)}
         SetRegValue $(KeyProduct) {MinorVersion,$(NoTitle),$(!REG_VT_SZ),$(ProductMinorVersion)}
         CloseRegKey $(KeyProduct)
	  else
		 Set RegistryErrorIndex = $($R0)
		 goto fatalregistry
	  endif
   endif
   goto end
successful = +
    Set Status = STATUS_SUCCESSFUL
    goto end
fatalregistry = +
   EndWait
   Shell $(UtilInf) RegistryErrorString $(RegistryErrorIndex)
   IfInt $(ShellCode) != 0
	  goto ShellCodeError
   Endif
   set Error = $($R0)
   goto fatal
fatal = +
   Ifint $(BillboardVisible) != 0
	  Shell $(SubInf) PopBillboard
      Set BillboardVisible = 0
   Endif
   read-syms MiscErrorString3$(!STF_LANGUAGE)
   Shell $(SubInf) SetupMessage, $(!STF_LANGUAGE), "FATAL",$(ErrorString)$(Error)
   ifint $($ShellCode) != $(!SHELL_CODE_OK)
	  goto ShellCodeError
   endif
   goto failed
ShellCodeError = +
   read-syms ShellingError$(!STF_LANGUAGE)
   Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "FATAL" $(ErrorString)
failed = +
   set CommonStatus = STATUS_FAILED
   ifstr(i) $(REMOVE_FLAG) == TRUE
	  set REMOVE_FLAG = FALSE
      goto Removesfm
   endif
   goto end
initialsetupcancel = +
   Set CommonStatus = STATUS_USERCANCEL
   goto end
usercancel = +
   Set CommonStatus = STATUS_USERCANCEL
end = +
   Return $(CommonStatus)
[FindMediaType]
   Set Status = STATUS_FAILED
   Set CardName = $(!NTN_ServiceBase)"\"$($0)"\Parameters"
   OpenRegKey $(!REG_H_LOCAL) "" $(CardName) $(!ACCESS) CardKey
   Ifstr(i) $(CardKey) == $(!KeyNull)
	  Set RegistryErrorIndex = $($R0)
      Return $(Status) $(RegistryErrorIndex)
   EndIf
   GetRegValue $(CardKey) "MediaType" MediaTypeList
   Set MediaType = *($(MediaTypeList),4)
   Set Status = STATUS_SUCCESSFUL
   Return $(Status) $(MediaType)
[CreateAtalkConfig]
   Set AdapterName         = $($0)
   Set KeyAdapters         = $($1)
   Set RetStatus    = STATUS_SUCCESSFUL
   read-syms GeneralConstants
   CreateRegKey $(KeyAdapters) {$(AdapterName), 0, GenericClass} "" $(!ACCESS) "", TempKeyAdapters
   Shell "" FindMediaType $($0)
   Ifstr(i) $($R0) == STATUS_SUCCESSFUL
	  Set MediaType = $($R1)
   else
	  Set RegistryErrorIndex = $($R1)
      Set RetStatus = $($R0)
      goto return
   EndIf
   set PortName            = $($0)"@"$(!STF_COMPUTERNAME)
   set ZoneList            = {""}
   set AarpRetries         = 10
   set DefaultZone         = ""
   set NewValueList = +
			{{"AarpRetries",0,$(!REG_VT_DWORD),$(AarpRetries)}, +
            {"DefaultZone", 0,$(!REG_VT_SZ),$(DefaultZone)},+
            {"NetworkRangeUpperEnd",0,$(!REG_VT_DWORD),0 },+
            {"NetworkRangeLowerEnd",0,$(!REG_VT_DWORD),0 },+
            {"ZoneList",0,$(!REG_VT_MULTI_SZ),$(ZoneList)},+
            {"SeedingNetwork", 0,$(!REG_VT_DWORD),0},+
            {"DdpCheckSums", 0,$(!REG_VT_DWORD),0},+
            {"PortName",0,$(!REG_VT_SZ),$(PortName)}}
   Shell  $(UtilInf),AddValueList, $(TempKeyAdapters), $(NewValueList)
   set RegistryErrorIndex = $($R0)
   Ifstr $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(TmpKeyAdapters)
      Set RetStatus = STATUS_FAILED
   EndIf
return = +
   Return $(RetStatus) $(RegistryErrorIndex)
[DoUAMInstall]
   Set Status      = STATUS_FAILED
   Set Mode        = $($0)
   read-syms DialogConstants$(!STF_LANGUAGE)
   read-syms VolList
   detect    VolList
   Set NTFSVolumeList = {}
   ForListDo $(VolumeFSList)
	  Ifstr(i) $($) == "NTFS"
		 Set NTFSExists = TRUE
         Set NTFSVolumeList = >($(NTFSVolumeList),*($(VolumeList),$(#)))
      EndIf
   EndForListDo
   Ifstr(i) $(NTFSExists) != TRUE
	  read-syms AFPString12$(!STF_LAMGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      goto enduam
   EndIf
   OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\MacFile\Parameters\Volumes" $(!ACCESS) KeyVol
   ifstr(i) $(KeyVol) == $(!KeyNull)
	  read-syms AFPString11$(!STF_LAMGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      goto enduam
   endif
   Ifstr(i) $(Mode) == "INSTALL"
	  Set UAMDrive = *($(NTFSVolumeList),1)
      read-syms UAMVars$(!STF_LANGUAGE)
   EndIf
   install "CreateUAMDir"
   Set Result = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure Result, $(!UTILHANDLE), CopyUamFiles, +
					$(!STF_CWDDIR)$(!UamResSrcFile), +
					$(UAMPath)"\"$(!AppleShareFolder)"\"$(!UamResDestFile)
   Set FLibraryErrCtl = 0
   ifstr(i) $(Result) == "FAILED"
	  read-syms UamFileNotCopied1$(!STF_LANGUAGE)
	  Shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
	  Set Status = STATUS_USERCANCEL
      goto enduam
   EndIf
   Set Result = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure	Result,$(!UTILHANDLE), CopyUamFiles, +
					 $(!STF_CWDDIR)$(!UamInfoSrcFile), +
					 $(UAMPath)"\"$(!AppleShareFolder)"\"$(!UamInfoDestFile)
   Set FLibraryErrCtl = 0
   ifstr(i) $(Result) == "FAILED"
	  read-syms UamFileNotCopied1$(!STF_LANGUAGE)
      Shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      Set Status = STATUS_USERCANCEL
      goto enduam
   EndIf
   Set Result = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure Result, $(!UTILHANDLE),CopyUamFiles,+
					$(!STF_CWDDIR)$(!UamReadMeSrcFile), +
					$(UAMPath)"\"$(!AppleShareFolder)"\"$(!UamReadMeDestFile)
   Set FLibraryErrCtl = 0
   ifstr(i) $(Result) == "FAILED"
	  read-syms UamFileNotCopied1$(!STF_LANGUAGE)
      Shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      Set Status = STATUS_USERCANCEL
      goto enduam
   EndIf
   Set VolProperties = {"MAXUSES=100", "PROPERTIES=32769","PASSWORD="}
   Set VolProperties = >($(VolProperties),"PATH="$(UAMPath))
   set NewValueList = +
		 {{$(!UAMVolumeName),0, $(!REG_VT_MULTI_SZ),$(VolProperties)}}
   Shell "utility.inf" AddValueList $(KeyVol) $(NewValueList)
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
	  CloseRegKey $(KeyVol)
	  Set Status = STATUS_FAILED
      goto enduam
   EndIf
   Set Result = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure Result, $(!UTILHANDLE),SfmSetUamSecurity $(UAMPath)
   Set FLibraryErrCtl = 0
   ifstr(i) $(Result) == "FAILED"
	  read-syms UamSecurityNotSet$(!STF_LANGUAGE)
      Shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
   endif
   Set Status = STATUS_SUCCESSFUL
enduam = +
   Return $(Status) $(RegistryErrorIndex)
[RemoveSfmFiles]
   Set Status = STATUS_SUCCESSFUL
   Set Mode = $($0)
   Set RemoveList = {}
   Set DelOnRebootList = {}
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, ATALKSYS, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, ATALKMSG, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, ATCONFIG, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, ATWINSOCK, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, AFPSVCEXE, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, AFPSVCMSG, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, AFPSRVR, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, AFPSVCAPI, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, AFPSVCMGR, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, PSTODIB1, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, PSTODIB2, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, PSTODIB3, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, PSTODIB4, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, MACPRINT, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, ATALKMON, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, AFPICONS, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, AFPTYPECRTR, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, UAMRES, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, UAMINF, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, UAMTXT, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, SFMRES, 1))
   Set RemoveList = >($(RemoveList), #(Files-RemoveList, SFMHELP, 1))
   ForListDo $(RemoveList)
	  Set DelStatus = ""
      Debug-Output "Deleting File "$($)
      Set FLibraryErrCtl = 1
      Ifstr(i) $(Mode) == "REMOVE"
		 LibraryProcedure DelStatus $(!UTILHANDLE), DelFile $($)
         ifstr(i) $(DelStatus) == "FAILED"
			Set DelOnRebootList = >($(DelOnRebootList), $($))
         EndIf
	  else
		 LibraryProcedure DelStatus $(!LIBHANDLE), DelFile $($)
      EndIf
      Set FLibraryErrCtl = 0
   EndForListDo
   ForListDo $(DelOnRebootList)
	  Ifstr(i) $(Mode) == "REMOVE"
		 Debug-Output "File to remove on reboot = "$($)
         AddFileToDeleteList $($)
	  else
		 Set FLibraryErrCtl  = 1
         LibraryProcedure DelStatus $(!LIBHANDLE), DelFile $($)
         Set FLibraryErrCtl  = 0
	  EndIf
   EndForListDo
   Return $(Status)
[Install-PSPrint]
   AddSectionFilesToCopyList Files-PRINTPROC $(!STF_CWDDIR) $(!PrintProcDir)
   CopyFilesInCopyList
   Exit
[CreateUAMDir]
   CreateDir $(UAMPath)
   CreateDir $(UAMPath)"\"$(!AppleShareFolder)
   Exit
[Install-Update]
   set STF_VITAL = ""
   AddSectionFilesToCopyList Files-SFM $(SrcDir) $(!STF_WINDOWSSYSPATH)
   AddSectionFilesToCopyList Files-SFMDrivers $(SrcDir) $(!STF_WINDOWSSYSPATH)"\drivers"
   AddSectionFilesToCopyList Files-Inf $(SrcDir) $(!STF_WINDOWSSYSPATH)
   AddSectionFilesToCopyList Files-UAM $(SrcDir) $(!STF_WINDOWSSYSPATH)
   CopyFilesInCopyList
   Exit
[Install-Initial]
   set STF_VITAL = ""
   AddSectionFilesToCopyList Files-SFM $(SrcDir) $(!STF_WINDOWSSYSPATH)
   AddSectionFilesToCopyList Files-SFMDrivers $(SrcDir) $(!STF_WINDOWSSYSPATH)"\drivers"
   AddSectionFilesToCopyList Files-UAM $(SrcDir) $(!STF_WINDOWSSYSPATH)
   CopyFilesInCopyList
   Exit
[Files-RemoveList]
ATALKSYS        = $(!STF_WINDOWSSYSPATH)\drivers\sfmatalk.sys
ATALKMSG        = $(!STF_WINDOWSSYSPATH)\sfmatmsg.dll
ATCONFIG        = $(!STF_WINDOWSSYSPATH)\sfmatcfg.dll
ATWINSOCK       = $(!STF_WINDOWSSYSPATH)\sfmwshat.dll
AFPSVCEXE       = $(!STF_WINDOWSSYSPATH)\sfmsvc.exe
AFPSVCMSG       = $(!STF_WINDOWSSYSPATH)\sfmmsg.dll
AFPSVCAPI       = $(!STF_WINDOWSSYSPATH)\sfmapi.dll
AFPSVCMGR       = $(!STF_WINDOWSSYSPATH)\sfmmgr.cpl
AFPSRVR         = $(!STF_WINDOWSSYSPATH)\drivers\sfmsrv.sys
AFPICONS        = $(!STF_WINDOWSSYSPATH)\sfmicons.inf
AFPTYPECRTR     = $(!STF_WINDOWSSYSPATH)\sfmmap.inf
UAMINF          = $(!STF_WINDOWSSYSPATH)\sfmuam.ifo
UAMRES          = $(!STF_WINDOWSSYSPATH)\sfmuam.rsc
UAMTXT          = $(!STF_WINDOWSSYSPATH)\sfmuam.txt
MACPRINT        = $(!STF_WINDOWSSYSPATH)\sfmprint.exe
ATALKMON        = $(!STF_WINDOWSSYSPATH)\sfmmon.dll
PSTODIB1        = $(!STF_WINDOWSSYSPATH)\sfmpsexe.exe
PSTODIB2        = $(!STF_WINDOWSSYSPATH)\sfmpsfnt.dll
PSTODIB3        = $(!STF_WINDOWSSYSPATH)\sfmpsprt.dll
PSTODIB4        = $(!STF_WINDOWSSYSPATH)\sfmpsdib.dll
SFMHELP			= $(!STF_WINDOWSSYSPATH)\sfmmgr.hlp
SFMRES			= $(!STF_WINDOWSSYSPATH)\sfmres.dll
[UamGetLanguage]
   STF_LANGUAGE = "" ? $(!LIBHANDLE) GetLanguage
[UAMINSTALL]
   LoadLibrary "x" $(!STF_CWDDIR)setupdll.dll !LIBHANDLE
   read-syms UamGetLanguage
   detect UamGetLanguage
   read-syms GeneralConstants
   read-syms FileConstants
   read-syms FileConstants$(STF_LANGUAGE)
   Debug-Output "UAMINSTALL: Language = "$(STF_LANGUAGE)
   read-syms FSAndDiskSpace
   detect FSAndDiskSpace
   Set NTFSVolExists = FALSE
   Set NTFSVolumeList = {}
   ForListDo $(VolumeFSList)
	  Ifstr(i) $($) == "NTFS"
		 Set NTFSVolExists = TRUE
		 Set NTFSVolumeList = >($(NTFSVolumeList),*($(VolumeList),$(#)))
      EndIf
   EndForListDo
   Ifstr(i) $(NTFSVolExists) == FALSE
	  read-syms UamFileNotCopied1$(STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(STF_LANGUAGE) "NONFATAL" $(ErrorString)
      goto uaminstalldone
   EndIf
   LoadLibrary "y" $(!STF_CWDDIR)sfmutil.dll !UTILHANDLE
   Set !NTN_ServiceBase = "SYSTEM\CurrentControlSet\Services"
   OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\MacFile\Parameters\Volumes" $(!ACCESS) KeyVol
   ifstr(i) $(KeyVol) == $(!KeyNull)
	  read-syms AFPString11$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      goto uaminstalldone
   endif
   Set UAMDrive = *($(NTFSVolumeList),1)
   read-syms UAMVars$(!STF_LANGUAGE)
   install "CreateUAMDir"
   Set Result = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure Result,+
					 $(!UTILHANDLE), +
					 CopyUamFiles, +
					 $(!STF_CWDDIR)$(!UamResSrcFile), +
					 $(UAMPath)"\"$(!AppleShareFolder)"\"$(!UamResDestFile)
   Set FLibraryErrCtl = 0
   ifstr(i) $(Result) == "FAILED"
	  read-syms UamFileNotCopied1$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      goto uaminstalldone
   EndIf
   Set Result = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure Result,+
					 $(!UTILHANDLE),+
					 CopyUamFiles, +
					 $(!STF_CWDDIR)$(!UamInfoSrcFile) +
					 $(UAMPath)"\"$(!AppleShareFolder)"\"$(!UamInfoDestFile)
   Set FLibraryErrCtl = 0
   ifstr(i) $(Result) == "FAILED"
	  read-syms UamFileNotCopied1$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      goto uaminstalldone
   EndIf
   Set Result = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure Result, +
					 $(!UTILHANDLE), +
					 CopyUamFiles, +
					 $(!STF_CWDDIR)$(!UamReadMeSrcFile) +
					 $(UAMPath)"\"$(!AppleShareFolder)"\"$(!UamReadMeDestFile)
   Set FLibraryErrCtl = 0
   ifstr(i) $(Result) == "FAILED"
	  read-syms UamFileNotCopied1$(!STF_LANGUAGE)
      Shell $(SubInf) SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
      goto uaminstalldone
   EndIf
   Set VolProperties = {"MAXUSES=100", "PROPERTIES=32769","PASSWORD="}
   Set VolProperties = >($(VolProperties),"PATH="$(UAMPath))
   set NewValueList = +
			{{$(!UAMVolumeName), 0, $(!REG_VT_MULTI_SZ),$(VolProperties)}}
   Shell $(UtilInf) AddValueList $(KeyVol) $(NewValueList)
   set RegistryErrorIndex = $($R0)
   Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
       CloseRegKey $(KeyVol)
   EndIf
   Set Result = ""
   Set FLibraryErrCtl = 1
   LibraryProcedure Result, $(!UTILHANDLE),SfmSetUamSecurity $(UAMPath)
   Set FLibraryErrCtl = 0
   ifstr(i) $(Result) == "FAILED"
	  read-syms UamSecurityNotSet$(!STF_LANGUAGE)
	  Shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(ErrorString)
  endif
uaminstalldone = +
   FreeLibrary $(!LIBHANDLE)
   FreeLibrary $(!UTILHANDLE)
   exit
[Source Media Descriptions]
    1  = "Windows NT Advanced Server-Diskette für CD-Installation"	, TAGFILE = disk1
    2  = "Windows NT Advanced Server-CD"	, TAGFILE = disk2
[ProductType]
STF_PRODUCT  = LanmanNT
STF_PLATFORM = Mips
[Files-Inf]
2,	oemsetup.inf,	 SIZE=1000,	RENAME=$(!UG_Filename)
[Files-PRINTPROC]
2,SFMPSPRT.DLL , SIZE=999
[Files-SFM]
2,SFMAPI.DLL , SIZE=999
2,SFMATCFG.DLL , SIZE=999
2,SFMATMSG.DLL , SIZE=999
2,SFMMGR.CPL , SIZE=999
2,SFMMON.DLL , SIZE=999
2,SFMMSG.DLL , SIZE=999
2,SFMPSDIB.DLL , SIZE=999
2,SFMPSFNT.DLL , SIZE=999
2,SFMPSPRT.DLL , SIZE=999
2,SFMRES.DLL , SIZE=999
2,SFMUTIL.DLL , SIZE=999
2,SFMWSHAT.DLL , SIZE=999
2,SFMPRINT.EXE , SIZE=999
2,SFMPSEXE.EXE , SIZE=999
2,SFMSVC.EXE , SIZE=999
2,SFMMGR.HLP , SIZE=999
2,SFMICONS.INF , SIZE=999
2,SFMMAP.INF , SIZE=999
2,SFMUAM.TXT , SIZE=999
[Files-SFMDrivers]
2,SFMATALK.SYS , SIZE=999
2,SFMSRV.SYS , SIZE=999
[Files-UAM]
2,SFMUAM.IFO , SIZE=999
2,SFMUAM.RSC , SIZE=999
[LanguagesSupported]
ENG
[OptionsTextENG]
    SFM      = "Services für Macintosh"
[FileConstantsENG]
FunctionTitle                   =  "Services für Macintosh-Einrichtung"
ProductATALKDescription         =  "AppleTalk-Transport"
ProductAFPSVCDescription        =  "AppleTalk-Dateiserver"
ProductMACPRINTDescription      =  "AppleTalk-Druckserver"
ProductSFMDescription           =  "Macintosh->Windows NT-Connectivity"
ProCaption      = $(FunctionTitle)
ProCancel       = "Abbrechen"
ProCancelMsg    = "Services für Macintosh ist nicht korrekt installiert. "+
                  "Sind Sie sicher, daß Sie "+
                  "das Kopieren der Dateien abbrechen möchten?"
ProCancelCap    = "Services für Macintosh-Einrichtung"
ProText1        = "Kopiert:"
ProText2        = "Nach:"
Error           = "Benutzer hat das Kopieren der Dateien abgebrochen. Kopierte Dateien werden entfernt."
MajorVersion    = "MajorVersion"
MinorVersion    = "MinorVersion"
Version		=  "Version "
AskLocationText = "Bitte geben Sie den vollständigen Pfad der Orginaldateien für "+
                  "SFM ein. Wenn Sie von den Originaldisketten "+
                  "installieren wollen, geben Sie den Laufwerksbuchstaben (z.B. A:) "+
                  "ein. Das Setup-Programm wird Sie dann nach der richtigen Diskette "+
                  "fragen. Wählen Sie anschließend Fortsetzen."
ProductSFMTitle                 = "Services für Macintosh"
ProductATALKDisplayName         = "AppleTalk-Protokoll"
ProductATALKTitle               = "Services für Macintosh"
ProductAFPSVCDisplayName        = "SFM-Dateiserverdienst"
ProductAFPSVCTitle              = "Services für Macintosh"
ProductAFPSRVRDisplayName       = "SFM-Kerneltreiber"
ProductMACPRINTDisplayName      = "SFM-Druckserverdienst"
ProductMACPRINTTitle            = "Services für Macintosh"
!UAMVolumeName                  = "Microsoft UAM-Datenträger"
!AtalkMonName			= "AppleTalk-Drucker"
!AppleShareFolder        	= "AppleShare Ordner"
!UamReadMeDestFile       	= "ReadMe.UAM"
[DialogConstantsENG]
Help        = "&Hilfe"
Exit        = "Abbrechen"
OK          = "OK"
HelpContext = ""
Continue    = "Fortsetzen"
Cancel      = "Abbrechen"
[UAMVarsENG]
UAMDirName     =       "Microsoft UAM-Datenträger"
UAMPath        =       $(UAMDrive)"\"$(UAMDirName)
[TCCommentsENG]
!XCEL1COMMENT	= "Comment=MS Excel 3.0-Grafik"
!XCEL2COMMENT	= "Comment=MS Excel 3.0-Tabelle"
!XCEL3COMMENT	= "Comment=MS Excel 3.0-Makrovorlage"
!XCEL4COMMENT   = "Comment=MS Excel 3.0-Arbeitsmappe"
!XCEL5COMMENT   = "Comment=MS Excel 3.0 integriert. Makro"
!XCEL6COMMENT   = "Comment=MS Excel 3.0-Mustervorlage"
!XCEL7COMMENT   = "Comment=MS Excel 3.0"
!XCEL8COMMENT	= "Comment=MS Excel 4.0-Grafik"
!XCEL9COMMENT	= "Comment=MS Excel 4.0-Tabelle"
!XCEL10COMMENT	= "Comment=MS Excel 4.0-Makrovorlage"
!XCEL11COMMENT	= "Comment=MS Excel 4.0-Arbeitsmappe"
!XCEL12COMMENT  = "Comment=MS Excel 4.0 integriert. Makro"
!XCEL13COMMENT  = "Comment=MS Excel 4.0-Mustervorlage"
!MSWD1COMMENT	= "Comment=MS Word 5.1-Dokument"
!MSWD2COMMENT	= "Comment=MS Word 5.1-Dokument"
!MSPJ1COMMENT   = "Comment=MS Project 3.0"
!MSPJ2COMMENT   = "Comment=MS Project 3.0 MPX-Dateien"
!MSPJ3COMMENT   = "Comment=MS Project 3.0"
!MSPJ4COMMENT   = "Comment=MS Project 3.0 Kalender"
!MSPJ5COMMENT   = "Comment=MS Project 3.0 Ansichten"
!MSPJ6COMMENT   = "Comment=MS Project 3.0 Arbeitsbereiche"
!ALD31COMMENT   = "Comment=Pagemaker 3.0-Publikation"
!ALD32COMMENT   = "Comment=Pagemaker 3.0-Vorlagen"
!ALD33COMMENT   = "Comment=Pagemaker 3.0-TIFF-Grafiken"
!ALD41COMMENT   = "Comment=Pagemaker 4.0-Publikation"
!ALD42COMMENT   = "Comment=Pagemaker 4.0-Vorlagen"
!ALD43COMMENT   = "Comment=Pagemaker 4.0-TIFF-Grafiken"
!MORECOMMENT    = "Comment=Symantec More File"
!FOX+COMMENT    = "Comment=FoxBase Plus"
!ARTZCOMMENT    = "Comment=Adobe Illustrator"
!SIT!COMMENT    = "Comment=Aladdin Stuffit"
!PPT2COMMENT    = "Comment=MS Power Point 2.0"
!PPT3COMMENT    = "Comment=MS Power Point 3.0"
!L123COMMENT    = "Comment=Lotus 1-2-3"
!LMANCOMMENT    = "Comment=LMAN Ausführbare Dateien"
!TTXTCOMMENT    = "Comment=Teach Text-Dokument"
[SetupSpaceDlgENG]
STF_MB_TEXT = +
"Das Einrichtungsprogramm konnte nicht genügend Speicherplatz auf Ihrer Windows NT Advanced "+
"Server-Partition finden. Es werden mindestens 2 MB für die Installation von Services für "+
"Macintosh benötigt. Wenn Sie mehr Speicherplatz auf Ihrer Systempartition haben, können Sie "+
"die Installation wiederholen."
DlgType         = "MessageBox"
STF_MB_TYPE     = 5
STF_MB_ICON     = 3
STF_MB_DEF      = 3
STF_MB_TITLE    = $(FunctionTitle)
[ExitWarningDlgENG]
STF_MB_TITLE    = "Services für Macintosh-Einrichtung"
STF_MB_TEXT     = "Services für Macintosh ist nicht korrekt installiert. Sind Sie sicher, "+
                  "daß Sie die Installation beenden wollen?"
DlgType         = "MessageBox"
STF_MB_TYPE     = 3
STF_MB_ICON     = 5
STF_MB_DEF      = 2
[MiscErrorString1ENG]
ErrorString = +
" der Services für Macintosh ist bereits auf Ihrem System installiert. "+
"Benutzen Sie <Aktualisieren>, um zu einer neuen Version zu aktualisieren."
[MiscErrorString2ENG]
ErrorString = +
"Auf Ihrem System ist nicht genügend Arbeitsspeicher vorhanden, "+
"um Services für Macintosh auszuführen. Es wird ein Minimum von "+
"8 MB Arbeitsspeicher vorausgesetzt."
[MiscErrorString3ENG]
ErrorString = +
"Setup beobachtete den folgenden Fehler bei der Einrichtung. Versuchen Sie, "+
"Services für Macintosh nach einem Neustart zu installieren. "$(LF)
[ShellingErrorENG]
ErrorString  = +
"Ein interner Fehler trat auf. Wenden Sie sich an die technische Unterstützung."
[NTFSFormatHappeningENG]
ErrorString = +
"Das Einrichtungsprogramm konnte keine NTFS-Partition in Ihrem System finden. "+
"Sie sollten entweder eine Partition in NTFS konvertieren oder neu formatieren. "+
"Der Microsoft UAM-Datenträger kann nicht eingerichtet werden. Das Einrichtungs"+
"programm wird fortsetzen. Sie können später den Befehl SETUP /i OEMNXPSM.INF /c UAMINSTALL "+
"benutzen, um den UAM-Datenträger nach der Installation des Advanced Servers "+
"einzurichten."
[UamFileNotCopiedENG]
ErrorString  = +
"Das Einrichtungsprogramm konnte die Dateien zur Microsoft-Echtheitsbestätigung "+
"nicht auf den Microsoft UAM-Datenträger kopieren. Macintosh-Arbeitsstationen "+
"werden nicht in der Lage sein, diese Dateien herunterzuladen. Entweder war auf "+
"der NTFS-Partition nicht genügend Speicher vorhanden, oder es fehlen die "+
"UAM-Dateien auf den Windows NT Advanced Server-Disketten. Informationen, wie Sie "+
"diesen Datenträger nach der Installation erstellen können, finden Sie im "+
"Administratorhandbuch."
[UamFileNotCopied1ENG]
ErrorString  = +
"Das Einrichtungsprogramm konnte die Dateien zur Microsoft-Echtheitsbestätigung "+
"nicht auf den Microsoft UAM-Datenträger kopieren. Macintosh-Arbeitsstationen "+
"werden nicht in der Lage sein, diese Dateien herunterzuladen. Entweder war auf "+
"der NTFS-Partition nicht genügend Speicher vorhanden, oder es fehlen die "+
"UAM-Dateien auf den Windows NT Advanced Server-Disketten. Informationen, wie Sie "+
"diesen Datenträger nach der Installation erstellen können, finden Sie im "+
"Administratorhandbuch."
[UamSecurityNotSetENG]
ErrorString = +
"Das Einrichtungsprogramm kann die Standardsicherheitseinstellungen für den UAM-"+
"Datenträger nicht setzen. Sicherheitsattribute können auch nach der "+
"Installation mit dem Benutzer-Manager gesetzt werden."
[CannotStartAtalkENG]
ErrorSuffix = +
"Das Einrichtungsprogramm war nicht in der Lage, das AppleTalk-Protokoll "+
"zu starten. Sie werden zu diesem Zeitpunkt keine Zonen auswählen können."
[CannotStartAfdENG]
ErrorSuffix = +
"Setup konnte den AFD-Treiber nicht starten. Sie werden im Moment keine Standardzone "+
"wählen können."
[StatusInstallSfmENG]
Status = "SFM-Dienste werden installiert..."
[StatusRemoveSfmENG]
Status = "SFM-Dateien werden entfernt..."
[StatusStartingAppleTalkENG]
Status = "AppleTalk-Protokoll wird gestartet..."
[AtalkString1ENG]
ErrorString  = +
"Das Einrichtungsprogramm kann Windows-Sockets für das AppleTalk-Protokoll "+
"nicht einrichten. Anwendungen für Windows-Sockets werden nicht in der "+
"Lage sein, das AppleTalk-Protokoll zu benutzen. Entfernen Sie Services "+
"für Macintosh nach der Installation und installieren Sie es dann erneut. "+
"Wenn das Problem weiterhin auftritt, wenden Sie sich an den "+
"Microsoft Software Service."
[AtalkString2ENG]
ErrorString  = +
"Das Einrichtungsprogramm kann die Windows-Sockets für das "+
"AppleTalk-Protokoll nicht entfernen."
[AtalkString3ENG]
ErrorString  = +
"Services für Macintosh wurde installiert. SFM-Dienste werden im "+
"Standard-Netzwerk für Macintosh-Arbeitsstationen zur Verfügung stehen. "+
"Wenn die SFM-Dienste in einer anderen Zone benutzt werden sollen, oder "+
"wenn Routing eingeschaltet werden soll, schließen Sie die Systemsteuerung, "+
"starten Sie das System und damit AppleTalk neu, und wählen Sie die "+
"Systemsteuerung, um Services für Macintosh zu konfigurieren."
[AFPString1ENG]
ErrorString = +
"Das Einrichtungsprogramm kann in Ihrem System keine NTFS-Partition finden. "+
"Services für Macintosh benötigen eine NTFS-Partition, damit Dateien gemeinsam "+
"mit Macintosh-Arbeitsstationen benutzt werden können. Sie können auch nach "+
"der Installation der SFM-Dienste eine NTFS-Partition erzeugen. Um eine NTFS-"+
"Partition zu formatieren, benutzen Sie den folgenden Befehl:"$(LF)+
"FORMAT [Laufwerk] /fs:NTFS"$(LF)$(LF)+
"Das Einrichtungsprogramm setzt die Installation fort."
[AFPString2ENG]
ErrorString = +
"Das Einrichtungsprogramm kann den SFM-Dateiserver nicht zum "+
"Datei-Manager hinzufügen. Sie werden nicht in der Lage sein, aus "+
"dem Datei-Manager heraus Datenträger für Macintosh zu bearbeiten."
[AFPString3ENG]
ErrorString  = +
"Das Einrichtungsprogramm kann den SFM-Dateiserver nicht zum "+
"Server-Manager hinzufügen. Sie werden nicht in der Lage sein, aus "+
"dem Server-Manager heraus SFM-Server zu administrieren."
[AFPString11ENG]
ErrorString  = +
"Das Einrichtungsprogramm kann den Registrierungs-Schlüssel Volumes "+
"im Abschnitt MacFile nicht finden. Der UAM-Datenträger kann nicht erzeugt werden."
[AFPString12ENG]
ErrorString  = +
"Das Einrichtungsprogramm kann in Ihrem System keine NTFS-Partition finden. "+
"Der UAM-Datenträger kann nicht erzeugt werden."
[MacPrintString2ENG]
ErrorString = +
"Das Einrichtungsprogramm kann die Ereigniseinträge für SFM-Druckserver "+
"nicht erzeugen. Sie werden nicht in der Lage sein, die Ereignisanzeige "+
"zum protokollieren von Vorgängen des SFM-Druckservers zu benutzen."
[MacPrintString3ENG]
ErrorString = +
"Das Einrichtungsprogramm kann den Druck-Prozessor für SFM-Druckserver "+
"nicht hinzufügen. Macintosh-Arbeitsstationen werden nicht in der Lage "+
"sein, einen PostScript-Druckauftrag auf einem Nicht-PostScript-Drucker "+
"im Advanced Server-Netzwerk zu drucken."
[MacPrintString4ENG]
ErrorString = +
"Das Einrichtungsprogramm kann den Druck-Monitor für SFM-Druckserver "+
"nicht hinzufügen. Macintosh-Arbeitsstationen werden nicht in der Lage "+
"sein, SFM-Druckdienste auf diesem Windows NT Advanced Server zu benutzen."
[MacPrintString5ENG]
ErrorString = +
"Das Einrichtungsprogramm kann den Druck-Prozessor für SFM-Druckserver "+
"nicht entfernen."
[MacPrintString6ENG]
ErrorString = +
"Das Einrichtungsprogramm kann das Verzeichnis nicht finden, in dem der "+
"Macintosh Druck-Prozessor installiert werden soll. Der Druck-Prozessor "+
"wird deshalb nicht installiert."
[MacPrintString7ENG]
ErrorString = +
"Das Einrichtungsprogramm kann den Monitor für SFM-Druckserver "+
"nicht entfernen."
[MacPrintString10ENG]
ErrorString = +
"Das Einrichtungsprogramm kann die Ereigniseinträge für SFM-Druckserver "+
"nicht erzeugen. Sie werden nicht in der Lage sein, die Ereignisanzeige "+
"zum protokollieren von Vorgängen des SFM-Druckservers zu benutzen."
[NoAdaptersFoundENG]
ErrorString = +
"Das Einrichtungsprogramm kann keinen Netzwerkadapter für Services für "+
"Macintosh finden. Sie werden daher nicht in der Lage sein, SFM zu benutzen. "+
"Fügen Sie einen Netzwerkadapter hinzu oder ermöglichen Sie die Bindungen "+
"für das AppleTalk-Protokoll."
[RemoveDefaultPortENG]
ErrorString  = +
"Das Einrichtungsprogramm hat festgestellt, daß der von SFM benutzte "+
"Standard-Netzwerkadapter entfernt wurde. Das Einrichtungsprogramm wird "+
"das Standard-Netzwerk ändern, falls möglich. Dies kann zur Folge haben, "+
"daß Macintosh-Arbeitsstationen in ihrer Zone keine SFM-Dienste mehr "+
"sehen können."
[SetupSuccessENG]
Status  = +
"Services für Macintosh wurde erfolgreich installiert. "+
"Die Dienste werden beim nächsten Systemstart automatisch gestartet. "+
"SFM-Dienste werden im von Ihnen gewählten Netzwerk und Zonen für "+
"Macintosh-Arbeitsstationen zur Verfügung stehen."



