home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA NT 1997 April
/
CICA_NT_CD-ROM_Walnut_Creek_April_1997.iso
/
sysutil
/
ntreskit.exe
/
~PROFILE.INF
next >
Wrap
INI File
|
1993-08-26
|
63KB
|
1,594 lines
[GeneralConstants]
Exit_Code = 0
BillboardVisible = 0
ExitCodeOk = 0
ExitCodeCancel = 1
ExitCodeFatal = 2
retaddr = ""
callresult = 0
from = ""
to = ""
NetworkCardKeyName = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards"
KeyNull = ""
MAXIMUM_ALLOWED = 33554432
SERVICE_NO_CHANGE = 4294967295
KeyInfo = {}
NoTitle = 0
UtilityInf = "UTILITY.INF"
NcParamInf = "NCPARAM.INF"
!STF_DOMAIN_ROLE = STANDALONE
!STF_DOMAIN = ""
!STF_SRCDIR_WINNT = ""
[DialogConstants]
ProCaption = $(!NetProductTitle)" Setup"
ProCancel = "Cancel"
ProCancelMsg = $(!NetProductTitle)" Networking is not correctly installed. "+
"Are you sure you want to cancel copying files?"
ProCancelCap = "Network Setup Message"
ProText1 = "Copying:"
ProText2 = "To:"
!UG_Filename = "NOSUCH.INF"
Help = "&Help"
Exit = "Cancel"
HelpContext = ""
Continue = "Continue"
ExitState = "Active"
Cancel = "Cancel"
Radio1 = "1"
Radio2 = "2"
Radio3 = "3"
Radio4 = "4"
Radio5 = "5"
Radio6 = "6"
Radio7 = "7"
Radio8 = "8"
Radio9 = "9"
Chosen = "ON"
NotChosen = "OFF"
NullFileName = "NOSUCH.FIL"
[StfVariableDetect]
!STF_PROCESSOR = "" ? $(!LIBHANDLE) GetProcessor
!STF_PLATFORM = ""
!STF_LANGUAGE = "" ? $(!LIBHANDLE) GetLanguage
LanguageList = ^(LanguageID, 1)
!STF_WINDOWSPATH = "" ? $(!LIBHANDLE) GetWindowsNtDir
!STF_WINDOWSSYSPATH = "" ? $(!LIBHANDLE) GetWindowsNtSysDir
!STF_NTPATH = $(!STF_WINDOWSPATH)
!STF_BUSTYPE = "" ? $(!LIBHANDLE) GetMyBusType
[StfVariableSyms]
ProcessorID_I386 = I386
ProcessorID_I486 = I486
ProcessorID_I586 = I586
ProcessorID_R4000 = R4000
PlatformID_I386 = I386
PlatformID_Mips = Mips
!STF_PRODUCT = WINNT
!STF_USERNAME = ""
!STF_INSTALL_MODE = EXPRESS
!STF_CONTROLSET = CurrentControlSet
!STF_UPDGRADE = NO
!STF_SRCDIR = "a:\"
!STF_SRCDIR_KEYED = ""
!STF_SRCDIR_USED = ""
!STF_INSTALLED_OS = {} ? $(!LIBHANDLE) GetInstalledOSNames
FatalErrorIndex = 1
!Exit_Code = 0
SeedMilliseconds1 = ""
SeedMilliseconds2 = ""
Seed = ""
[SeedTime]
SystimeStructure = {} ? $(!LIBHANDLE) GetSystemDate
[ErrorConstants]
RegistryErrorList = ^(RegistryErrors$(!STF_LANGUAGE),1)
RegistryErrorIndex = 1
[UiVars]
DummyUnsedUiVar = ""
OrgName = ""
FullName = ""
[DestNetPathNames]
DEST_NET_DRIVER = $(!STF_NTPATH)\drivers
DEST_NET_PROTOCOL = $(!STF_NTPATH)\drivers
DEST_NET_EXE = $(!STF_WINDOWSSYSPATH)
DEST_NET_INF = $(!STF_WINDOWSSYSPATH)
DEST_NET_DLL = $(!STF_WINDOWSSYSPATH)
[NetworkVars]
!STF_SRCDIR_KEYED = ""
!STF_SRCDIR_USED = ""
!STF_SRCDIR_OVERRIDE = ""
!NTN_RegBase = ""
!NTN_ServiceBase = "SYSTEM\CurrentControlSet\SERVICES"
!NTN_SoftwareBase = "SOFTWARE"
!NTN_InstallMode = "install"
!NTN_Origination = "install"
!NTN_InstallPhase = "primary"
ServiceInfList = ^(ServiceData, 1)
ServiceOptionList = ^(ServiceData, 2)
ServiceBbList = ^(ServiceData, 3)
ProtoInfList = ^(ProtoData, 1)
ProtoOptionList = ^(ProtoData, 2)
ProtoBbList = ^(ProtoData, 3)
ReviewInfName = "NBINFO.INF"
[Shell Commands]
Set !G:DebugOutputControl = 0
Set NetInstallStatus = STATUS_SUCCESSFUL
set-title "Windows NT Network Installation"
Debug-Output "PROFILE.INF: Section: Shell Commands"
Set Exit_Code = $(!SETUP_ERROR_GENERAL)
Set-subst LF = "\n"
StartWait
LoadLibrary "x" $(!STF_CWDDIR)\setupdll.dll !LIBHANDLE
LoadLibrary "x" $(!STF_CWDDIR)\ncpa.cpl !NCPA_HANDLE
read-syms StfVariableSyms
read-syms StfVariableDetect
detect StfVariableDetect
Debug-Output "PROFILE.INF: Section: Shell Commands; SFTs established"
read-syms GeneralConstants
LibraryProcedure STATUS, $(!LIBHANDLE), InstallNetDDE
OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Control\ProductOptions" $(MAXIMUM_ALLOWED) KeyProduct
Ifstr(i) $(KeyProduct) != $(KeyNull)
GetRegValue $(KeyProduct) "ProductType" ValueProductTypeList
CloseRegKey $(KeyProduct)
Set ValueProductType = *($(ValueProductTypeList),4)
Ifstr(i) $(ValueProductType) == "LanmanNt"
Set !STF_PRODUCT = "LANMANNT"
Debug-Output "PROFILE.INF: ProductType retrieved is LANMAN NT"
Else
Set !STF_PRODUCT = "WINNT"
Debug-Output "PROFILE.INF: ProductType retrieved is WINDOWS NT"
Endif
Else
Debug-Output "PROFILE.INF: couldn't open ProductOptions key; assuming WinNt"
Set !STF_PRODUCT = "WINNT"
Endif
Ifstr(i) $(!STF_PRODUCT) == "LANMANNT"
read-syms ProductTitleLanmanNt$(!STF_LANGUAGE)
Else
read-syms ProductTitleWinNt$(!STF_LANGUAGE)
Endif
Debug-Output "PROFILE.INF: Product title is: "$(!NetProductTitle)
set-title $(!NetProductTitle)" Network Installation"
read-syms UiVars
read-syms DestNetPathNames
read-syms DialogConstants
read-syms NetworkVars
read-syms ProgressCopy$(!STF_LANGUAGE)
Shell "subroutn.inf" ReadSetupHelpIds
SetHelpFile "setupnt.hlp" $(!MinimumID) $(!MaximumID)
Debug-Output "PROFILE.INF: Base variables loaded"
Ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_I486)
set STF_PLATFORM = $(PlatformID_I386)
Else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_I586)
set STF_PLATFORM = $(PlatformID_I386)
Else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_R4000)
set STF_PLATFORM = $(PlatformID_Mips)
Else
set STF_PLATFORM = $(PlatformID_I386)
Endif
set-subst LF = "\n"
EndWait
Debug-Output "PROFILE.INF: Network variables loaded"
ifstr(i) $(!STF_PLATFORM) == $(!PlatformID_I386)
Debug-Output "PROFILE.INF: Resetting BOOT.INI default time-out"
Install Install-SetBootIniTimeout
Debug-Output "PROFILE.INF: status returned :"$($R0)
endif
Debug-Output "PROFILE.INF: Restoring Disk Log"
InitRestoreDiskLog
read-syms SeedTime
detect SeedTime
set SeedMilliseconds1 = *($(SystimeStructure), 8)
Debug-Output "PROFILE.INF: Get Name and Org"
Shell "INITIAL.INF" DoLicense
ifstr(i) $($R0) != "STATUS_SUCCESSFUL"
goto setupnotdone
endif
Debug-Output "PROFILE.INF: Get computer name"
shell "INITIAL.INF" DoComputerName
ifstr(i) $($R0) != "STATUS_SUCCESSFUL"
goto setupnotdone
else
set !STF_COMPUTERNAME = $($R1)
endif
read-syms SeedTime
detect SeedTime
set SeedMilliseconds2 = *($(SystimeStructure), 8)
set-sub Seed = $(SeedMilliseconds2) $(SeedMilliseconds1)
Debug-Output "PROFILE.INF: SetAccountDomainSid"
shell "registry.inf" WinNTKeyCreate {$(!STF_WINDOWSPATH), SYSTEM, $(!FullName), $(!OrgName), $(!STF_INSTALLDATE), $(!STF_PRODUCT), $(SourcePath)}
ifint $($ShellCode) != $(!SHELL_CODE_OK)
EndWait
read-syms FatalError5$(STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(STF_LANGUAGE) "FATAL" $(Fatal)
StartWait
Debug-Output "PROFILE.INF: Shelling WinNTEntryCreate failed"
goto setupnotdone
endif
ifstr(i) $($R0) != "STATUS_SUCCESSFUL"
EndWait
read-syms FatalError5$(STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(STF_LANGUAGE) "FATAL" $(Fatal)
StartWait
Debug-Output "PROFILE.INF: Creating Software Entry for WinNT Failed"
goto setupnotdone
endif
LibraryProcedure STATUS, $(!LIBHANDLE), SetAccountDomainSid $(Seed) $(!STF_COMPUTERNAME)
ifstr(i) $(STATUS) == ERROR
Debug-Output "PROFILE.INF: SetAccountDomainSid failed, error: "$(STATUS)
read-syms FatalError9$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "FATAL" $(Fatal)
goto setupnotdone
endif
Debug-Output "PROFILE.INF: SetMyComputerName"
LibraryProcedure STATUS, $(!LIBHANDLE), SetMyComputerName $(!STF_COMPUTERNAME)
Ifstr(i) $(STATUS) == "ERROR"
Debug-Output "PROFILE.INF: SetMyComputerName failed, error: "$(STATUS)
read-syms FatalError4$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "FATAL" $(Fatal)
Debug-Output "PROFILE.INF: Setting ComputerName Value Entry Failed"
EndWait
goto setupnotdone
Endif
LibraryProcedure STATUS, $(!LIBHANDLE), CreateSamEvent
Debug-Output "PROFILE.INF: CreateSamEvent returned: "$(STATUS)
nphase$installdetection = +
Goto nphase$getdriver
Endif
Shell "" InstallOemHook
Shell "" StartDetection
Ifstr(i) $($R0) == STATUS_SUCCESSFUL
Set !STF_NCDETECT = NO
Debug-Output "PROFILE.INF: Netcard detection is enabled"
Endif
nphase$getdriver = +
Ifint $(BillboardVisible) != 0
Shell "subroutn.inf" PopBillboard
Set BillboardVisible = 0
Endif
Debug-Output "PROFILE.INF: Establish netcard option"
set retaddr = nphase$runinfs
goto netgetdriver
nphase$runinfs = +
Ifstr(i) $(NetInstallStatus) == STATUS_USERCANCEL
Debug-Output "PROFILE.INF: netgetdriver returned STATUS_USERCANCEL"
Ifstr(i) $(!STF_PRODUCT) == "LANMANNT"
Goto setupnotdone
Endif
Goto nphase$done
Endif
Debug-Output "PROFILE.INF: Run subordinate INFs"
Set retaddr = nphase$installfiles
Goto netruninfs
nphase$installfiles = +
Set retaddr = nphase$ncpacmdline
Ifstr(i) $(!STF_IDW) != "TRUE"
Goto netinstallfiles
Endif
nphase$ncpacmdline = +
Set retaddr = nphase$runncpa
Goto netncpacmdline
nphase$runncpa = +
Set KeyComputerName = $(KeyNull)
OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName" $(MAXIMUM_ALLOWED) KeyComputerName
Ifstr(i) $(KeyComputerName) != $(KeyNull)
GetRegValue $(KeyComputerName) "ComputerName" ValueActiveComputerName
Set ActiveComputerName = *($(ValueActiveComputerName),4)
Debug-Output "PROFILE.INF: *************************************"
Debug-Output "PROFILE.INF: ActiveComputerName key exists: "$(ActiveComputerName)
SetRegValue $(KeyComputerName) {ComputerName,$(NoTitle),$(!REG_VT_SZ),$(!STF_COMPUTERNAME)}
Debug-Output "PROFILE.INF: ActiveComputerName was set to: "$(!STF_COMPUTERNAME)
Debug-Output "PROFILE.INF: *************************************"
CloseRegKey $(KeyComputerName)
Else
Debug-Output "PROFILE.INF: ActiveComputerName key does not exist."
Endif
Debug-Output "PROFILE.INF: Run NCPA to configure the network"
Ifint $(BillboardVisible) != 0
Shell "subroutn.inf" PopBillboard
Set BillboardVisible = 0
Endif
set retaddr = nphase$startnet
goto netrunncpa
nphase$startnet = +
Debug-Output "PROFILE.INF: Run NCPA to start the network"
read-syms Billboard6$(!STF_LANGUAGE)
Shell "subroutn.inf" PushBillboard NETSTATUSDLG $(Status)
Set BillboardVisible = 1
Set retaddr = nphase$domainrole
Goto netstartnetwork
nphase$domainrole = +
Debug-Output "PROFILE.INF: Run NCPA to establish domain"
Ifint $(BillboardVisible) != 0
Shell "subroutn.inf" PopBillboard
Set BillboardVisible = 0
Endif
set retaddr = nphase$connectshare
goto netdomain
nphase$connectshare = +
Debug-Output "PROFILE.INF: Domain Role = "$(!STF_DOMAIN_ROLE)
Set retaddr = nphase$done
Debug-Output "PROFILE.INF: NOT connecting to remote sharepoint"
Goto $(retaddr)
nphase$done = +
Debug-Output "PROFILE.INF: Setting EventLog entry to autostart."
shell "registry.inf" ModifyServicesEntry "Eventlog" $(!SERVICE_AUTO_START)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
shell "subroutn.inf" PopBillboard
EndWait
Debug-Output "PROFILE.INF: Shelling ModifyServicesEntry on eventlog failed"
read-syms NonFatalError12$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) NONFATAL $(NonFatal)
StartWait
else-ifstr(i) $($R0) != "STATUS_SUCCESSFUL"
shell "subroutn.inf" PopBillboard
EndWait
Debug-Output "PROFILE.INF: Couldn't modify services entry for eventlog"
read-syms NonFatalError12$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) NONFATAL $(NonFatal)
StartWait
endif
Debug-Output "PROFILE.INF: Done ************************"
Ifint $(BillboardVisible) != 0
Shell "subroutn.inf" PopBillboard
Set BillboardVisible = 0
Endif
Set MakeUserAccount = NO
Ifstr(i) $(!STF_PRODUCT) != "LANMANNT"
Ifstr(i) $(STF_DOMAIN_ROLE) == STANDALONE
Debug-Output "PROFILE.INF: DoAccountSetup"
Shell "INITIAL.INF" DoAccountSetup
Ifstr(i) $($R0) == STATUS_SUCCESSFUL
Set !STF_USERNAME = $($R1)
Set !STF_PASSWORD = $($R2)
Set MakeUserAccount = YES
Endif
Endif
Endif
Debug-Output "PROFILE.INF: Returned from "$(CPANEL_EXE)"; result was: "$(RUN_RESULT)
Shell "" EnableSetAcl
EndWait
Debug-Output "PROFILE.INF: Configuring Paging Files"
set ConfigurePagingFiles = YES
shell "virtual.inf" DoVirtual
StartWait
ifstr(i) $($R0) == "STATUS_SUCCESSFUL"
set OldPagingFiles = $($R1)
set NewPagingFiles = $($R2)
else
EndWait
read-syms NonFatalError3$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(NonFatal)
StartWait
set ConfigurePagingFiles = NO
endif
Debug-Output "PROFILE.INF: Setting paging files."
ifstr(i) $(ConfigurePagingFiles) == "YES"
shell "virtual.inf" ConfigureVirtual $(OldPagingFiles) $(NewPagingFiles)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "PROFILE.INF: Shelling ConfigureVirtual failed"
read-syms NonFatalError6$(STF_LANGUAGE)
EndWait
shell "subroutn.inf" SetupMessage $(STF_LANGUAGE) "NONFATAL" $(NonFatal)
StartWait
else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
EndWait
read-syms NonFatalError6$(STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(STF_LANGUAGE) "NONFATAL" $(NonFatal)
StartWait
endif
endif
read-syms Billboard7$(!STF_LANGUAGE)
Shell "subroutn.inf" PushBillboard NETSTATUSDLG $(Status)
Set BillboardVisible = 1
StartWait
Debug-Output "PROFILE.INF: calling CreateSetupFailedEvent"
LibraryProcedure STATUS, $(!LIBHANDLE), CreateSetupFailedEvent
Debug-Output "PROFILE.INF: CreateSetupFailedEvent returned: "$(STATUS)
Debug-Output "PROFILE.INF: calling SignalLsaEvent"
LibraryProcedure STATUS, $(!LIBHANDLE), SignalLsaEvent
Debug-Output "PROFILE.INF: SignalLsaEvent returned: "$(STATUS)
Debug-Output "PROFILE.INF: Waiting for SAM initialization to complete..."
WaitOnEvent STATUS, "*\SAM_SERVICE_STARTED", 0
Debug-Output "PROFILE.INF: WaitOnEvent SAM_SERVICE_STARTED returned: "$(STATUS)
EndWait
Ifstr(i) $(STATUS) != "EventSet"
Debug-Output "PROFILE.INF: aborting installation due to SAM failure"
Goto setupnotdone
Endif
Set DefaultDomain = ""
Set DefaultUser = ""
Ifstr(i) $(!STF_PRODUCT) != "LANMANNT"
Ifstr(i) $(MakeUserAccount) == YES
Debug-Output "PROFILE.INF: AddLocalUserAccount name: "$(!STF_USERNAME)" password: "$(!STF_PASSWORD)
LibraryProcedure STATUS, $(!LIBHANDLE), AddLocalUserAccount $(!STF_USERNAME) $(!STF_PASSWORD)
Debug-Output "PROFILE.INF: AddLocalUserAccount returned: "$(STATUS)
Set DefaultUser = $(!STF_USERNAME)
Set DefaultDomain = $(!STF_COMPUTERNAME)
Endif
Ifstr(i) $(!STF_DOMAIN_ROLE) == TRUSTED
Set DefaultDomain = $(!STF_DOMAIN)
Endif
Else
Ifstr(i) $(!STF_DOMAIN_ROLE) == "DC"
Debug-Output "PROFILE.INF: AddPdcMachineAccount for PDC of new domain..."
LibraryProcedure STATUS, $(!LIBHANDLE), AddPdcMachineAccount $(!STF_COMPUTERNAME)
Debug-Output "PROFILE.INF: AddPdcMachineAccount returned: "$(STATUS)
Endif
Set DefaultUser = Administrator
Set DefaultDomain = $(!STF_DOMAIN)
shell "registry.inf" MakeQuotaEntries 48 24
Endif
Install Install-Win-Ini-Alter
Shell "" SetWinlogonInitialData $(DefaultDomain) $(DefaultUser)
ifstr(i) $(!STF_PLATFORM) == $(!PlatformID_Mips)
set wowfile = krnl286
else
set wowfile = krnl386
endif
shell "registry.inf" MakeWOWEntry $(wowfile)
setaclsonfiles=+
Debug-Output "PROFILE.INF: Setting up for conversion and setacl if necessary."
set Fs_C = *($(VolumeFSList), ~($(VolumeList), $(Primary)))
set Fs_Winnt = *($(VolumeFSList), ~($(VolumeList), $(!STF_NTDRIVE)))
shell "" SetAcls $(!STF_CONVERT_C) $(!STF_CONVERT_WINNT) $(Fs_C) $(Fs_Winnt)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "PROFILE.INF: Shelling SetAcls failed"
goto setupnotdone
else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
EndWait
read-syms FatalError10$(STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(STF_LANGUAGE) "FATAL" $(Fatal)
StartWait
goto setupnotdone
endif
ifint $($ShellCode) != $(!SHELL_CODE_OK)
read-syms NonFatalError12$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) NONFATAL $(Error)
else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
read-syms NonFatalError12$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) NONFATAL $(Error)
endif
LibraryProcedure STATUS,$(!LIBHANDLE), SaveHive $(!REG_H_USERS) ".DEFAULT" $(!STF_WINDOWSSYSPATH)"\config\UserDef"
ifstr(i) $(STATUS) != SUCCESS
read-syms FatalError12$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) FATAL $(Fatal)
goto setupnotdone
endif
Ifint $(BillboardVisible) != 0
Shell "subroutn.inf" PopBillboard
Set BillboardVisible = 0
Endif
shell "registry.inf" ResetSetupProgressValue
ifint $($ShellCode) != $(!SHELL_CODE_OK)
read-syms FatalError13$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "FATAL" $(Fatal)
goto setupnotdone
else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
read-syms FatalError13$(!STF_LANGUAGE)
shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "FATAL" $(Fatal)
goto setupnotdone
endif
installdomainaccounts=+
EndWait
Debug-Output "PROFILE.INF: Installing Domain Accounts."
RunProgram STATUS "" "" $(!STF_WINDOWSSYSPATH)"\loadacct.exe" useracct.inf
StartWait
Set Exit_Code = $(!SETUP_ERROR_SUCCESS)
installregistryACLs=+
EndWait
Debug-Output "PROFILE.INF: Installing Registry Key ACL's."
RunProgram STATUS "" "" $(!STF_WINDOWSSYSPATH)"\restkeys.exe" registry.acl
StartWait
Set Exit_Code = $(!SETUP_ERROR_SUCCESS)
gogmt =+
EndWait
Debug-Output "PROFILE.INF: Setting system time"
RunProgram STATUS "" "" $(!STF_WINDOWSSYSPATH)"\control.exe" main.cpl "date/time"
StartWait
Set Exit_Code = $(!SETUP_ERROR_SUCCESS)
emergency =+
EndWait
Debug-Output "PROFILE.INF: Creating Repair Diskette"
shell "repair.inf" "CreateRepairDiskette"
read-syms SetupDoneDlg$(!STF_LANGUAGE)
ui start "SetupDone"
ui pop 1
goto rebootend
setupnotdone =+
EndWait
Debug-Output "PROFILE.INF: Setupnotdone. Status = "$(STATUS)
Ifint $(BillboardVisible) != 0
Shell "subroutn.inf" PopBillboard
Set BillboardVisible = 0
Endif
read-syms SetupNotDoneDlg$(!STF_LANGUAGE)
ui start "SetupNotDone"
ifstr(i) $(DLGEVENT) == "CONTINUE"
ui pop 1
goto rebootend
else
ui pop 1
goto end
endif
rebootend =+
EndWait
LibraryProcedure DontCare, $(!LIBHANDLE), SetupChangeServiceConfig, Parallel,+
$(SERVICE_NO_CHANGE), 2, $(SERVICE_NO_CHANGE), "", "", "", "", "", ""
Debug-Output "PROFILE.INF: Enable PARALLEL driver; result was "$(DontCare)
Ifint $(BillboardVisible) != 0
Shell "subroutn.inf" PopBillboard
Set BillboardVisible = 0
Endif
set Reboot = YES
install Install-Shutdown
Ifint $(BillboardVisible) != 0
Shell "subroutn.inf" PopBillboard
Set BillboardVisible = 0
Endif
Goto end
netinstallfiles = +
Debug-Output "PROFILE.INF: adding network files to copy list"
Install Install-Net-Support
Debug-Output "PROFILE.INF: Installing all files in copy list"
Install Install-All-Files-Now
goto $(retaddr)
netncpacmdline = +
Set NCPA_CMD_LINE = " /t STF_PRODUCT = "$(!STF_PRODUCT)
Set NCPA_CMD_LINE = " /t STF_COMPUTERNAME = "$(!STF_COMPUTERNAME)$(NCPA_CMD_LINE)
Set NCPA_CMD_LINE = " /t STF_USERNAME = "$(!STF_USERNAME)$(NCPA_CMD_LINE)
Set NCPA_CMD_LINE = " /t STF_INSTALL_MODE = "$(!STF_INSTALL_MODE)$(NCPA_CMD_LINE)
Set NCPA_CMD_LINE = " /t STF_SRCDIR = "$(!STF_SRCDIR)$(NCPA_CMD_LINE)
Set NCPA_CMD_LINE = " /t STF_REVIEW = "$(ReviewInfName)$(NCPA_CMD_LINE)
Ifstr(i) $(!STF_IDW) == TRUE
Set NCPA_CMD_LINE = " /t STF_IDW = "$(!STF_IDW)$(NCPA_CMD_LINE)
Endif
goto $(retaddr)
netrunncpa = +
StartDetachedProcess STATUS "" "" $(!STF_WINDOWSSYSPATH)"\spoolss.exe"
ifstr(i) $(STATUS) != "ERROR"
set !STF_START_SPOOLSS = "NO"
endif
Set NCPA_FUNC = NCPA
goto netcallncpa
netstartservice = +
Debug-Output "PROFILE.INF: calling NCPA.CPL to start service "$(NCPA_SERVICE)
LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), STARTSVC, $(NCPA_SERVICE)
Goto netreturnncpa
netcallncpa = +
Debug-Output "PROFILE.INF: calling NCPA.CPL, function "$(NCPA_FUNC)
LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE),CPlSetup $(!STF_HWND), $(NCPA_FUNC), $(NCPA_CMD_LINE)
netreturnncpa = +
Set NCPA_STATUS = *($(NCPA_RESULT),1)
Debug-Output "PROFILE.INF: NCPA Status was: "$(NCPA_STATUS)
goto $(retaddr)
netstartnetwork = +
Debug-Output "PROFILE.INF: Starting workstation..."
StartWait
Set WaitStarted = 1
Set FLibraryErrCtl = 1
LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), STARTSVC, LanmanWorkstation
Set NCPA_STATUS = *($(NCPA_RESULT),1)
Debug-Output "PROFILE.INF: Start workstation; result was: "$(NCPA_STATUS)
Ifint $(NCPA_STATUS) != 0
EndWait
Set WaitStarted = 0
LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), ERRORMSG, $(NCPA_STATUS)
Set NCPA_ERROR_MESSAGE = *($(NCPA_RESULT),2)
Debug-Output "PROFILE.INF: Error "$(NCPA_STATUS)" translated to: "$(NCPA_ERROR_MESSAGE)
Read-syms WarningNoNet$(!STF_LANGUAGE)
Set Error = $(NCPA_ERROR_MESSAGE)$(ErrorSuffix)
read-syms WarningDlg$(!STF_LANGUAGE)
ui start SetupMessage
goto netstartnetdone
Endif
Debug-Output "PROFILE.INF: Starting LMHOSTS service..."
OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\LmHosts" $(MAXIMUM_ALLOWED) KeyLmHosts
ifstr(i) $(KeyLmHosts) != ""
EndWait
Set WaitStarted = 0
LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), STARTSVC, LmHosts
Set NCPA_STATUS = *($(NCPA_RESULT),1)
Debug-Output "PROFILE.INF: Start Lmhosts; result was: "$(NCPA_STATUS)
Ifint $(NCPA_STATUS) != 0
LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), ERRORMSG, $(NCPA_STATUS)
Set NCPA_ERROR_MESSAGE = *($(NCPA_RESULT),2)
Debug-Output "PROFILE.INF: Error "$(NCPA_STATUS)" translated to: "$(NCPA_ERROR_MESSAGE)
Read-syms WarningNoLmHosts$(!STF_LANGUAGE)
Set Error = $(NCPA_ERROR_MESSAGE)$(ErrorSuffix)
read-syms WarningDlg$(!STF_LANGUAGE)
ui start SetupMessage
goto netstartnotdone
Endif
Endif
netstartnetdone =+
Set FLibraryErrCtl = 0
Ifint $(WaitStarted) == 1
EndWait
Endif
Goto $(retaddr)
netdomain = +
Debug-Output "PROFILE.INF: Running Domain Settings dialog..."
Set FLibraryErrCtl = 1
LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), DOMAIN, $(NCPA_CMD_LINE)
Set FLibraryErrCtl = 0
Set NCPA_STATUS = *($(NCPA_RESULT),1)
Debug-Output "PROFILE.INF: Domain Settings result was: "$(NCPA_STATUS)
Ifint $(NCPA_STATUS) != 0
Ifint $(NCPA_STATUS) == 13074
Ifstr(i) $(!STF_PRODUCT) == "LANMANNT"
Debug-Output "PROFILE.INF: Aborting LanmanNT installation; user cancellation."
Set NetInstallStatus = STATUS_USERCANCEL
Goto setupnotdone
Endif
Endif
Endif
Set TEMP_COMPUTERNAME = *($(NCPA_RESULT),2)
Set TEMP_DOMAINNAME = *($(NCPA_RESULT),3)
Set TEMP_COMPUTERROLE = *($(NCPA_RESULT),5)
Ifstr(i) $(TEMP_COMPUTERNAME) != ""
Ifstr(i) $(TEMP_COMPUTERNAME) != $(!STF_COMPUTERNAME)
Set !STF_COMPUTERNAME = $(TEMP_COMPUTERNAME)
Debug-Output "PROFILE.INF: Computername changed to "$(!STF_COMPUTERNAME)
Endif
Endif
Ifstr(i) $(TEMP_DOMAINNAME) != ""
Set !STF_DOMAIN = $(TEMP_DOMAINNAME)
Debug-Output "PROFILE.INF: Domain name is "$(!STF_DOMAIN)
Endif
Ifstr(i) $(TEMP_COMPUTERROLE) != ""
Set !STF_DOMAIN_ROLE = $(TEMP_COMPUTERROLE)
Debug-Output "PROFILE.INF: Domain role is "$(!STF_DOMAIN_ROLE)
Endif
Ifstr(i) $(TEMP_COMPUTERROLE) == STANDALONE
Debug-Output "PROFILE.INF: Prevent NETLOGON service from autostarting"
LibraryProcedure DontCare, $(!LIBHANDLE), SetupChangeServiceConfig, NetLogon,+
$(SERVICE_NO_CHANGE), 3, $(SERVICE_NO_CHANGE), "", "", "", "", "", ""
Endif
goto $(retaddr)
netconnectshare =+
Debug-Output "PROFILE.INF: calling NCPA, function CONNECT"
LibraryProcedure NCPA_RESULT $(!NCPA_HANDLE),CPlSetup $(!STF_HWND), $(NCPA_FUNC), $(!STF_SRCDIR) $(!STF_SRCBASE)
Goto netreturnncpa
netcheckquit = +
Goto $(retaddr)
netgetdriver = +
Debug-Output "PROFILE.INF: Label: netgetdriver"
Shell "" InitialAdapterInstall
Set NetInstallStatus = $($R0)
Debug-Output "PROFILE.INF: netgetdriver; returning: "$(NetInstallStatus)
Ifstr(i) $(NetInstallStatus) == STATUS_USERCANCEL
Ifstr(i) $(!STF_PRODUCT) != "LANMANNT"
Goto $(retaddr)
Endif
Endif
Goto netcheckquit
netruninfs = +
Debug-Output "PROFILE.INF: Label: netruninfs"
Set InfsToBeRun = {}
Set OptionsToInstall = {}
Set BbToBeShown = {}
Set AdapterSrcDir = $(!STF_SRCDIR)
ForListDo $(ProtoInfList)
Set InfsToBeRun = >($(InfsToBeRun),$($))
Set OptionsToInstall = >($(OptionsToInstall),*($(ProtoOptionList),$(#)))
Set BbToBeShown = >($(BbToBeShown),*($(ProtoBbList),$(#)))
EndForListDo
ForListDo $(ServiceInfList)
Set InfsToBeRun = >($(InfsToBeRun),$($))
Set OptionsToInstall = >($(OptionsToInstall),*($(ServiceOptionList),$(#)))
Set BbToBeShown = >($(BbToBeShown),*($(ServiceBbList),$(#)))
EndForListDo
DoNetInfsNow =+
Debug-Output "PROFILE.INF: INFs to be run: "$(InfsToBeRun)
Debug-Output "PROFILE.INF: Options to install: "$(OptionsToInstall)
Debug-Output "PROFILE.INF: Billboards to be shown: "$(BbToBeShown)
ForListDo $(InfsToBeRun)
Set ThisInfName = $($)
Set BbIndex = *($(BbToBeShown),$(#))
Debug-Output "PROFILE.INF: Installing "$(ThisInfName)
Ifint $(BbIndex) != 0
read-syms Billboard$(BbIndex)$(!STF_LANGUAGE)
Shell "subroutn.inf" PushBillboard NETSTATUSDLG $(Status)
Set BillboardVisible = 1
Endif
Set InfOption = *($(OptionsToInstall),$(#))
Shell $(ThisInfName) InstallOption $(!STF_LANGUAGE) $(InfOption) $(AdapterSrcDir) "YES" "NO" "NO"
Set-title $(!NetProductTitle)" Network Installation"
Ifint $($ShellCode) != $(!SHELL_CODE_OK)
Goto netruninfescape
Endif
Set NetInstallStatus = $($R0)
Ifstr(i) $(NetInstallStatus) == STATUS_USERCANCEL
Debug-Output "PROFILE.INF: user cancelled in: "$(ThisInfName)
Goto netruninfescape
Endif
Ifstr(i) $(NetInstallStatus) != STATUS_SUCCESSFUL
Debug-Output "PROFILE.INF: install failure in: "$(ThisInfName)
Goto netruninfescape
Endif
EndForListDo
Ifint $(BillboardVisible) != 0
Shell "subroutn.inf" PopBillboard
Set BillboardVisible = 0
Endif
netruninfescape = +
Goto netcheckquit
infomsg = +
read-syms InfoDlg
ui start "Warning"
goto $(from)
nonfatal = +
read-syms NonfatalDlg$(!STF_LANGUAGE)
ui start "NonFatalError"
ifstr(i) $(DLGEVENT) == "OK"
goto $(from)
else
goto end
endif
bogusexit = +
Debug-Output "PROFILE.INF: BOGUS EXIT from "$(from)" Return addr: "$(retaddr)
read-syms FatalError999$(!STF_LANGUAGE)
goto fatal
fatal = +
read-syms FatalDlg$(!STF_LANGUAGE)
ui start "FatalError"
goto term
end = +
goto term
term =+
Ifstr(i) $(!LIBHANDLE) != ""
LibraryProcedure DontCare, $(!LIBHANDLE), DeleteAllConnections
Endif
exit
[SetWinlogonInitialData]
Read-syms GeneralConstants
Set Wl_DomainName = $($0)
Set Wl_UserName = $($1)
Set KeyWinlogon = $(KeyNull)
OpenRegKey $(!REG_H_LOCAL) "" "Software\Microsoft\Windows NT\CurrentVersion\Winlogon" +
$(MAXIMUM_ALLOWED) KeyWinlogon
Ifstr(i) $(KeyWinlogon) == $(KeyNull)
Goto SWID_Return
Endif
Ifstr(i) $(Wl_DomainName) != ""
SetRegValue $(KeyWinlogon) {DefaultDomainName,$(NoTitle),$(!REG_VT_SZ),$(Wl_DomainName)}
Endif
Ifstr(i) $(Wl_UserName) != ""
SetRegValue $(KeyWinlogon) {DefaultUserName,$(NoTitle),$(!REG_VT_SZ),$(Wl_UserName)}
Endif
SWID_Return = +
return
[AdapterVars]
AdapterHardwareDetected = ""
AdapterSystemSet = ""
AdapterDefault = ""
AdapterOurINFOptions = {}
AdapterOemINFOptions = {}
AdapterMergedOptions = {}
AdapterSpecialOption = {}
AdapterCurrentOption = {}
AdapterOptionList = {}
AdapterOptionTextList = {}
AdapterOption = {}
AdapterINF = ""
AdapterInstall = "NO"
AdapterSrcDir = ""
AdapterDstDir = ""
NcParamInf = "NCPARAM.INF"
[InitialAdapterInstall]
StartWait
set Status = STATUS_FAILED
read-syms OemOptionDiskette$(!STF_LANGUAGE)
read-syms Strings$(!STF_LANGUAGE)
read-syms ProgressCopy$(!STF_LANGUAGE)
Shell "subroutn.inf" ReadSetupHelpIds
SetHelpFile "setupnt.hlp" $(!MinimumID) $(!MaximumID)
read-syms AdapterVars
Set !NtLmDoCopy = "NO"
Set !NtLmAddCopy = "NO"
Set !NtLmDoConfig = "NO"
EndWait
; goto detectbypass
read-syms Billboard1$(!STF_LANGUAGE)
Shell "subroutn.inf" PushBillboard NETSTATUSDLG $(Status)
StartWait
shell "" InitOptionVars $(!STF_LANGUAGE) NetAdapter +
$(AdapterHardwareDetected) $(AdapterSystemSet) $(AdapterDefault)
ifstr(i) $($R0) == "STATUS_SUCCESSFUL"
set AdapterOurINFOptions = $($R1)
set AdapterOemINFOptions = $($R2)
set AdapterMergedOptions = $($R3)
set AdapterSpecialOption = $($R4)
set AdapterCurrentOption = $($R5)
set AdapterOption = *($($R5), 1)
else
EndWait
Shell "subroutn.inf" PopBillboard
shell "SUBROUTN.INF" SetupMessage $(!STF_LANGUAGE) "FATAL" $(Error1)
goto finish_adapter
endif
EndWait
Shell "subroutn.inf" PopBillboard
StartWait
Ifstr(i) $(!NTN_Origination) != "NCPA"
Set NoneOption = $(None)
Else
Set NoneOption = ""
Endif
Shell "" InitListBoxVars $(!STF_LANGUAGE) $(AdapterMergedOptions) $(AdapterSpecialOption) $(Other) $(NoneOption)
ifstr(i) $($R0) == "STATUS_SUCCESSFUL"
set AdapterOptionList = $($R1)
set AdapterOptionTextList = $($R2)
else
EndWait
shell "SUBROUTN.INF" SetupMessage $(!STF_LANGUAGE) "FATAL" $(Error2)
goto finish_adapter
endif
read-syms DialogConstants
EndWait
Set DtOption = ""
Set DtIndex = 0
Set DtInfIndex = 0
Set DtAnyFound = NO
Set !STF_NCOPTION = $(DtOption)
Set !STF_NCDETCARD = $(DtIndex)
Set !STF_NCDETINFO = {}
Debug-Output "PROFILE.INF: calling DTSTART wrapper, mode = "$(!STF_INSTALL_MODE)
Shell $(NcParamInf) Param_ControlDetection DTSTART
Ifstr(i) $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "PROFILE.INF: shell error (NCPARAM.INF:Param_ControlDetection) : "$($ShellCode)
Goto adapter_shell_error
Endif
Ifstr(i) $($R0) != STATUS_SUCCESSFUL
Debug-Output "PROFILE.INF: DTSTART wrapper FAILED"
Goto detectbypass
Endif
Ifstr(i) $(!STF_NCDETECT) == NO
Goto detectbypass
Endif
Ifstr(i) $(!STF_INSTALL_MODE) == CUSTOM
Shell "" WarnDetectStart
Ifstr(i) $($R0) != STATUS_SUCCESSFUL
Goto detectbypass
Endif
Endif
detectcycle = +
Debug-Output "PROFILE.INF: calling DTCARD wrapper"
StartWait
Shell $(NcParamInf) Param_DetectCard
Set StartResult = $($R0)
Set StartStatus = *($(StartResult),1)
Ifstr(i) $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "PROFILE.INF: shell error (NCPARAM.INF:Param_DetectCard) : "$($ShellCode)
Goto adapter_shell_error
Endif
EndWait
Ifint $(StartStatus) == 0
Set DtOption = *($(StartResult),2)
Set DtIndex = *($(StartResult),3)
Set DtType = *($(StartResult),4)
Set DtConf = *($(StartResult),5)
Set DtBusType = *($(StartResult),6)
Set DtBusNum = *($(StartResult),7)
Set DtInfo = {$(DtOption),$(DtIndex),$(DtType),$(DtConf),$(DtBusType),$(DtBusNum)}
Debug-Output "PROFILE.INF: card found is type "$(DtOption)", index "$(DtIndex)
Set DtInfIndex = ~($(AdapterOptionList),$(DtOption))
Ifint $(DtInfIndex) == 0
Debug-Output "PROFILE.INF: Detect: no INF file for option: "$(DtOption)
Set DtOption = ""
Goto detectcycle
Endif
Else
Set DtOption = ""
Set DtIndex = 0
Set DtInfIndex = 0
Goto detectnotfound
Endif
Set DtAnyFound = YES
Set DtInfOptionName = *($(AdapterOptionTextList),$(DtInfIndex))
Ifstr(i) $(!STF_INSTALL_MODE) == EXPRESS
Goto detectend
Endif
Shell "" WarnDetectAccept $(DtInfOptionName)
Ifstr(i) $($R0) == STATUS_SUCCESSFUL
Goto detectend
Endif
Set DtInfOption = 0
Set DtOption = ""
Set DtInfIndex = 0
Ifstr(i) $($R0) != STATUS_TRY_AGAIN
Goto detectend
Endif
Goto detectcycle
detectnotfound = +
Shell "" WarnDetectFail $(DtAnyFound)
Ifstr(i) $($R0) == STATUS_SUCCESSFUL
Goto detectend
Endif
Debug-Output "PROFILE.INF: calling DTRESET wrapper"
Shell $(NcParamInf) Param_ControlDetection DTRESET
Ifstr(i) $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "PROFILE.INF: shell error (NCPARAM.INF:Param_ControlDetection) : "$($ShellCode)
Goto adapter_shell_error
Endif
Goto detectcycle
detectend = +
Set !STF_NCDETCARD = 0
Set !STF_NCDETINFO = $(DtInfo)
detectbypass = +
read-syms LoadAdapterInfo
goto install_adapter
adapter = +
read-syms QueryAdapter$(!STF_LANGUAGE)
Ifstr(i) $(!NTN_Origination) == "ncpa"
Set DlgText = $(DlgText2)
Endif
ui start "System"
ifstr(i) $(DLGEVENT) == "CONTINUE"
Debug-Output "PROFILE.INF: CONTINUE message from adapter dialog"
ifstr(i) $(Combo1Out) == $(None)
set AdapterOption = NONE
ui pop 1
goto install_adapter
else-ifstr(i) $(Combo1Out) != $(Other)
set AdapterOption = *($(AdapterOptionList), ~($(Combo1List), $(Combo1Out)))
ui pop 1
goto install_adapter
else
Debug-Output "PROFILE.INF: Chose OTHER; calling GetNewOEMOption..."
shell "OTHER.INF" GetNewOEMMultiOption $(!STF_LANGUAGE) +
$(AdapterOemINFOptions) NetAdapter +
$(AdapterDisketteSrc)
set ReInit = YES
ifstr(i) $($R0) == STATUS_SUCCESSFUL
Debug-Output "PROFILE.INF: GetNewOEMOption successful"
set AdapterOemINFOptions = $($R1)
set AdapterOption = $($R2)
set AdapterDisketteSrc = $($R4)
shell "" MergeOptions $(AdapterOurINFOptions) $(AdapterOemINFOptions)
ifstr(i) $($R0) == STATUS_SUCCESSFUL
set AdapterMergedOptions = {$($R1), $($R2)}
else
shell "SUBROUTN.INF" SetupMessage $(!STF_LANGUAGE) "FATAL" $(Error4)
ui pop 1
goto finish_adapter
endif
shell "" InitListBoxVars $(!STF_LANGUAGE) $(AdapterMergedOptions) $(AdapterSpecialOption) $(Other) $(None)
ifstr(i) $($R0) == "STATUS_SUCCESSFUL"
set AdapterOptionList = $($R1)
set AdapterOptionTextList = $($R2)
else
shell "SUBROUTN.INF" SetupMessage $(!STF_LANGUAGE) "FATAL" $(Error2)
ui pop 1
goto finish_adapter
endif
ui pop 1
goto install_adapter
else-ifstr(i) $($R0) == "STATUS_USERCANCEL"
Debug-Output "PROFILE.INF: GetNewOEMOption user cancelled"
goto adapter
else
Debug-Output "PROFILE.INF: GetNewOEMOption other error"
shell "SUBROUTN.INF" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(Error3)
goto adapter
endif
endif
set ReInit = NO
goto adapter
else-ifstr(i) $(DLGEVENT) == "BACK"
set ExitChoice = "OK"
ifstr(i) $(!NTN_Origination) != "NCPA"
Debug-Output "PROFILE.INF: EXIT button: see if user wants to quit"
shell "" QueryUserQuit $(!STF_LANGUAGE)
Ifstr(i) $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "PROFILE.INF: SHELL ERROR: "$($ShellCode)
Endif
Debug-Output "PROFILE.INF: QueryUserExit returned "$($R1)
set ExitChoice = $($R1)
endif
ifstr(i) $(ExitChoice) == "OK"
set Status = STATUS_USERCANCEL
Debug-Output "PROFILE.INF: Quitting!"
ui pop 1
goto finish_adapter
else
set ReInit = NO
goto adapter
endif
else
ui pop 1
goto finish_adapter
endif
install_adapter = +
set AdapterInstall = "YES"
Debug-Output "PROFILE.INF: Adapter option is "$(AdapterOption)
Debug-Output "PROFILE.INF: Adapter INF is "$(AdapterINF)
Debug-Output "PROFILE.INF: AdapterOemINFOptions: "$(AdapterOemINFOptions)
skip_setinstall = +
ifstr(i) $(AdapterInstall) == YES
ifstr(i) $(AdapterINF) != ""
read-syms Billboard8$(!STF_LANGUAGE)
Shell "subroutn.inf" PushBillboard NETSTATUSDLG $(Status)
shell $(AdapterINF) InstallOption $(!STF_LANGUAGE) $(AdapterOption) $(AdapterSrcDir) +
$(!NtLmAddCopy) $(!NtLmDoCopy) $(!NtLmDoConfig)
Set !STF_SRCDIR_OVERRIDE = ""
Shell "subroutn.inf" PopBillboard
Ifstr(i) $($R0) == STATUS_USERCANCEL
Goto adapter
Endif
endif
else
Debug-Output "PROFILE.INF: AdapterInstall = "$(AdapterInstall)
endif
set Status = STATUS_SUCCESSFUL
goto finish_adapter
adapter_shell_error = +
set Status = STATUS_FAILED
finish_adapter = +
Ifstr(i) $(AdapterSrcDir) != ""
Ifstr(i) $(AdapterSrcDir) != $(!STF_SRCDIR)
Set !STF_SRCDIR_OVERRIDE = $(AdapterSrcDir)
Endif
Endif
Return $(Status)
[GenMergeLists]
ForListDo $($1)
Set $0 = >($($0),$($))
EndForListDo
Return $($0)
[InitOptionVars]
Debug-Output "PROFILE.INF: InitOptionVars called"
set Status = STATUS_FAILED
set OurINFOptions = {}
set OemINFOptions = {}
set MergedINFOptions = {}
set SpecialOption = {}
set CurrentOption = {}
Set IovTypeList = $($1)
ForListDo $(IovTypeList)
Debug-Output "PROFILE.INF: Get options for type "$($)
shell "OTHER.INF" ReturnOemOptions $($0) $($)
ifstr(i) $($R0) == "STATUS_SUCCESSFUL"
Debug-Output "PROFILE.INF: Other OEM options found for type "$($)
shell "" GenMergeLists $(OurINFOptions) $($R1)
set OurINFOptions = $($R0)
endif
EndForListDo
shell "" MergeOptions $(OurINFOptions) $(OemINFOptions)
ifstr(i) $($R0) == STATUS_SUCCESSFUL
set MergedINFOptionList = $($R1)
set MergedINFOptionTextList = $($R2)
set MergedINFOptions = {$($R1), $($R2)}
else
Debug-Output "PROFILE.INF: InitOptionVars: MergeOptions failed"
goto finish_InitOptionVars
endif
set Option = ""
ifstr(i) $($3) != ""
set Option = $($3)
else
ifstr(i) $($2) != ""
set Option = $($2)
else-ifstr(i) $($4) == ""
set Option = ""
else
set Option = $($4)
endif
endif
ifstr(i) $(Option) == ""
set OptionText = ""
else-ifcontains(i) $(Option) in $(MergedINFOptionList)
set OptionText = *($(MergedINFOptionTextList), ~($(MergedINFOptionList), $(Option)))
else
set OptionText = $(Option)
set Option = "OEMINSTALLEDOPTION"
set SpecialOption = {$(Option), $(OptionText)}
endif
set CurrentOption = {$(Option), $(OptionText)}
set Status = STATUS_SUCCESSFUL
finish_InitOptionVars = +
Debug-Output "PROFILE.INF: InitOptionVars complete "
Return $(Status) $(OurINFOptions) $(OemINFOptions) $(MergedINFOptions) $(SpecialOption) $(CurrentOption)
[InitListBoxVars]
Debug-Output "PROFILE.INF: InitListBoxVars invoked"
set Status = STATUS_FAILED
set OptionList = {}
set OptionTextList = {}
Set OptOther = $($3)
Set OptNone = $($4)
Set UtilityInf = "UTILITY.INF"
ifstr(i) $($1) != {}
set OptionList = *($($1), 1)
set OptionTextList = *($($1), 2)
endif
ifstr(i) $($2) != {}
set OptionList = >($(OptionList), *($($2), 1))
set OptionTextList = >($(OptionTextList), *($($2), 2))
endif
Shell $(UtilityInf) SortListIndex $(OptionTextList) TRUE FALSE
Set IndexList = $($R0)
Shell $(UtilityInf) SortByIndex $(OptionTextList) $(IndexList)
Set OptionTextList = $($R0)
Shell $(UtilityInf) SortByIndex $(OptionList) $(IndexList)
Set OptionList = $($R0)
Ifstr(i) $(OptOther) != ""
set OptionTextList = >($(OptionTextList), $(OptOther))
Endif
Ifstr(i) $(OptNone) != ""
set OptionTextList = >($(OptionTextList), $(OptNone))
Endif
set Status = STATUS_SUCCESSFUL
Return $(Status) $(OptionList) $(OptionTextList)
[MergeOptions]
Debug-Output "PROFILE.INF: MergeOptions called"
set Status = STATUS_FAILED
set MergedOptionList = {}
set MergedOptionTextList = {}
ForListDo $($0)
set OptionList = *($($), 2)
set OptionTextList = *($($), 3)
ForListDo $(OptionList)
Ifcontains $($) in $(MergedOptionList)
else
set MergedOptionList = >($(MergedOptionList), $($))
set MergedOptionTextList = >($(MergedOptionTextList), *($(OptionTextList), $(#)))
endif
EndForListDo
EndForListDo
ForListDo $($1)
set OptionList = *($($), 2)
set OptionTextList = *($($), 3)
ForListDo $(OptionList)
Ifcontains $($) in $(MergedOptionList)
else
set MergedOptionList = >($(MergedOptionList), $($))
set MergedOptionTextList = >($(MergedOptionTextList), *($(OptionTextList), $(#)))
endif
EndForListDo
EndForListDo
set Status = STATUS_SUCCESSFUL
Return $(Status) $(MergedOptionList) $(MergedOptionTextList)
[GetOptionFile]
Debug-Output "PROFILE.INF: GetOptionFile called"
set Status = STATUS_FILENOTFOUND
set FileName = ""
ForListDo $($1)
set OptionFile = *($($), 1)
set OptionList = *($($), 2)
ForListDo $(OptionList)
ifstr(i) $($) == $($0)
set Status = STATUS_SUCCESSFUL
set FileName = $(OptionFile)
endif
EndForListDo
EndForListDo
finish_GetOptionFile = +
Debug-Output "PROFILE.INF: GetOptionFile status "$(Status)"; file: "$(FileName)
Return $(Status) $(FileName)
[QueryUserQuit]
set Status = STATUS_FAILED
set UserAction = CANCEL
read-syms ExitWarningDlg$($0)
ui start "ExitWarning"
ifstr(i) $(DLGEVENT) == "YES"
set Status = STATUS_SUCCESSFUL
set UserAction = "OK"
else-ifstr(i) $(DLGEVENT) == "NO"
set Status = STATUS_SUCCESSFUL
set UserAction = "CANCEL"
else
endif
fin_QueryUserQuit = +
Return $(Status) $(UserAction)
[InstallDetection]
Set InstallStatus = STATUS_FAILED
OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\NetDetect" $(!REG_KEY_READ) KeyNetDetect
Ifstr(i) $(KeyNetDetect) != ""
Set InstallStatus = STATUS_SUCCESSFUL
CloseRegKey $(KeyNetDetect)
Goto IDT_Exit
Endif
Set InfName = "NETDTECT.INF"
Debug-Output "PROFILE.INF: Installing NETDTECT.INF netcard detection"
Shell $(InfName) InstallOption $(!STF_LANGUAGE) $(InfOption) $(!STF_SRCDIR) "NO" "NO" "NO"
Ifint $($ShellCode) != $(!SHELL_CODE_OK)
Goto IDT_Exit
Endif
Set InstallStatus = $($R0)
Debug-Output "PROFILE.INF: NETDETECT install returned "$(InstallStatus)
IDT_Exit = +
Return $(InstallStatus)
[InstallOemHook]
Set InfName = "OEMHOOK.INF"
Debug-Output "PROFILE.INF: Installing OEMHOOK.INF if present"
Shell $(InfName) InstallOption $(!STF_LANGUAGE) $(InfOption) $(!STF_SRCDIR) "YES" "NO" "NO"
IHK_Exit = +
Return STATUS_SUCCESSFUL
[EnableSetAcl]
read-syms VolumeVars
detect VolumeVars
GetDriveInPath !STF_NTDRIVE $(!STF_WINDOWSSYSPATH)
Debug-Output "PROFILE.INF: GetDriveInPath returned: "$(!STF_NTDRIVE)
set Primary = "C:"
set Fs_C = *($(VolumeFSList), ~($(VolumeList), $(Primary)))
set Fs_Winnt = *($(VolumeFSList), ~($(VolumeList), $(!STF_NTDRIVE)))
Set AutoLines = {}
ifstr(i) $(Fs_C) == NTFS
ifstr(i) $(Fs_Winnt) == NTFS
Set AutoLines = {"setacl /a \DosDevices\"$(!STF_WINDOWSSYSPATH)"\winperms.txt \DosDevices\"$(!STF_NTDRIVE)}
else
Set AutoLines = {"setacl /c \DosDevices\"$(!STF_WINDOWSSYSPATH)"\winperms.txt"}
endif
else-ifstr(i) $(Fs_Winnt) == NTFS
Set AutoLines = {"setacl /w \DosDevices\"$(!STF_WINDOWSSYSPATH)"\winperms.txt \DosDevices\"$(!STF_NTDRIVE)}
endif
Debug-Output "PROFILE.INF: AutoLines Value = "$(AutoLines)
ifstr(i) $(AutoLines) != {}
Debug-Output "PROFILE.INF: Appending to BootExecute: "$(AutoLines)
Shell "registry.inf" AppendToBootExecute $(AutoLines)
endif
Return $R0
[VolumeVars]
VolumeList = {} ? $(!LIBHANDLE) GetHardDriveLetters
VolumeFSList = {} ? $(!LIBHANDLE) GetHardDriveFileSystems
[StartDetection]
Set ServiceName = "NETDETECT"
Set ReturnStatus = STATUS_SUCCESSFUL
Debug-Output "PROFILE.INF: Starting the netcard detection service"
Set FLibraryErrCtl = 1
LibraryProcedure StartResult $(!NCPA_HANDLE), CPlSetup $(!STF_HWND), STARTSVC, $(ServiceName)
Set StartStatus = *($(StartResult),1)
Debug-Output "PROFILE.INF: NETDETECT status was: "$(StartStatus)
Ifint $(StartStatus) != 0
Set ReturnStatus = STATUS_FAILED
Endif
IHK_Exit = +
Return $(ReturnStatus)
[WarnDetectStart]
Set Result = STATUS_SUCCESSFUL
Read-syms WarnDetectDlg$(!STF_LANGUAGE)
ui start "Info"
Ifstr(i) $(DLGEVENT) != CONTINUE
Set Result = STATUS_FAILED
Endif
ui pop 1
Return $(Result)
[WarnDetectAccept]
Set Result = STATUS_SUCCESSFUL
Set DlgData = $($0)
Read-syms WarnDetectAccept$(!STF_LANGUAGE)
ui start "Info"
Ifstr(i) $(DLGEVENT) == EXIT
Set Result = STATUS_FAILED
Else-Ifstr(i) $(DLGEVENT) == BACK
Set Result = STATUS_TRY_AGAIN
Else
Set Result = STATUS_SUCCESSFUL
Endif
ui pop 1
Return $(Result)
[WarnDetectFail]
Set FoundCard = $($0)
Set Result = STATUS_SUCCESSFUL
Read-syms WarnDetectFail$(!STF_LANGUAGE)
Ifstr(i) $(FoundCard) != YES
Read-syms WarnDetectFail2$(!STF_LANGUAGE)
Endif
ui start "Info"
Ifstr(i) $(DLGEVENT) != CONTINUE
Set Result = STATUS_FAILED
Endif
ui pop 1
Return $(Result)
[Install-Net-Support]
set STF_VITAL = ""
AddSectionFilesToCopyList Files-Exes $(!STF_SRCDIR) $(DEST_NET_EXE)
AddSectionFilesToCopyList Files-Drivers $(!STF_SRCDIR) $(DEST_NET_DRIVER)
exit
[Install-All-Files-Now]
set !STF_NCPA_FLASH_COPYLIST = TRUE
CopyFilesInCopyList
exit
[Install-Shutdown]
LibraryProcedure STATUS,$(!LIBHANDLE),ShutdownSystem $(Reboot)
exit
[Install-Win-Ini-Alter]
ReplaceIniKeyValue "Win.ini", Winlogon, DefaultUserName, $(!STF_USERNAME)
ReplaceIniKeyValue "Win.ini", DeskTop, Wallpaper, $(!STF_PRODUCT)".bmp"
exit
[Install-SetBootIniTimeout]
ChangeBootIniTimeout 30
exit
[SetAcls]
Debug-Output "PROFILE.INF: SetAcls Entered"
set Status = STATUS_FAILED
set Convert_C = $($0)
set Convert_Winnt = $($1)
set Fs_C = $($2)
set Fs_Winnt = $($3)
set AutoLines = {}
set SetAcl_C = NO
set SetAcl_Winnt = NO
Debug-Output "PROFILE.INF: !STF_NTDRIVE = "$(!STF_NTDRIVE)
Debug-Output "PROFILE.INF: Convert_C = "$(Convert_C)
Debug-Output "PROFILE.INF: Convert_Winnt = "$(Convert_Winnt)
Debug-Output "PROFILE.INF: Fs_C = "$(Fs_C)
Debug-Output "PROFILE.INF: Fs_Winnt = "$(Fs_Winnt)
ifstr(i) $(Convert_C) == YES
Debug-Output "PROFILE.INF: Auto convert C:"
set AutoLines = >($(AutoLines), "autoconv \DosDevices\C: /fs:NTFS")
set SetAcl_C = YES
endif
ifstr(i) $(Convert_Winnt) == YES
Debug-Output "PROFILE.INF: Auto convert NT drive"
set AutoLines = >($(AutoLines), "autoconv \DosDevices\"$(!STF_NTDRIVE)" /fs:NTFS")
set SetAcl_Winnt = YES
endif
ifstr(i) $(SetAcl_C) == NO
ifstr(i) $(Fs_C) == NTFS
set SetAcl_C = YES
endif
endif
ifstr(i) $(SetAcl_Winnt) == NO
ifstr(i) $(Fs_Winnt) == NTFS
set SetAcl_Winnt = YES
endif
endif
ifstr(i) $(SetAcl_C) == YES
Debug-Output "PROFILE.INF: Set ACLs on NT drive"
ifstr(i) $(SetAcl_Winnt) == YES
set AutoLines = >($(AutoLines), "setacl /a \DosDevices\"$(!STF_WINDOWSSYSPATH)"\winperms.txt \DosDevices\"$(!STF_NTDRIVE))
else
set AutoLines = >($(AutoLines), "setacl /c \DosDevices\"$(!STF_WINDOWSSYSPATH)"\winperms.txt")
endif
else-ifstr(i) $(SetAcl_Winnt) == YES
set AutoLines = >($(AutoLines), "setacl /w \DosDevices\"$(!STF_WINDOWSSYSPATH)"\winperms.txt \DosDevices\"$(!STF_NTDRIVE))
endif
Debug-Output "PROFILE.INF: AutoLines: "$(AutoLines)
shell "registry.inf" AppendToBootExecute $(AutoLines)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "SETUP.INF: Shelling AppendToBootExecute failed"
goto finish_setacls
endif
ifstr(i) $($R0) != "STATUS_SUCCESSFUL"
Debug-Output "SETUP.INF: AppendToBootExecute failed"
goto finish_setacls
endif
set Status = STATUS_SUCCESSFUL
finish_setacls = +
Debug-Output "PROFILE.INF: SetAcls Completed - "
Return $(Status)
[Source Media Descriptions]
1 = "Windows NT Setup Disk #1" , TAGFILE = disk1
2 = "Windows NT Setup CD-ROM Disk" , TAGFILE = disk2
99 = "LMHOST disk", TAGFILE = lmhosts
[ProductType]
STF_PRODUCT = Winnt
STF_PLATFORM = I386
[Files-Inf]
2, oemsetup.inf, SIZE=1000, RENAME=$(!UG_Filename)
[ProductTitleWinNtENG]
!NetProductTitle = "Windows NT"
[ProductTitleLanmanNtENG]
!NetProductTitle = "Windows NT Advanced Server"
[QueryProtocolENG]
Caption = "Protocol Setup"
DlgText = "Completing this installation requires that you specify "+
"the network transport protocol to be used as primary."
Combo1Label = "&Primary Protocol:"
DlgType = Combination
DlgTemplate = "ADAP_PROTO_COMBO"
EditFocus = "ALL"
Combo1List = $(ProtocolList)
Combo1Out = $(ProtocolListHolder)
ComboListItemsIn = {Combo1List}
ComboListItemsOut = {Combo1Out}
HelpContext = $(!IDH_DB_GET_PROTOCOL)
[TimeZone]
TimeZoneName = "Pacific Time"
[SetupNotDoneDlgENG]
Caption = $(!NetProductTitle)" Setup"
DlgText = $(!NetProductTitle)" has not been installed."$(!LF)$(!LF)+
"Please remove any floppy disks from the floppy disk drives and "+
"choose Restart Computer to run Setup again."
Reboot = "&Restart Computer"
Windows = "E&xit to "$(!NetProductTitle)
DlgType = "Info"
DlgTemplate = "REBOOT"
[SetupDoneDlgENG]
Caption = $(!NetProductTitle)" Networking Setup"
DlgText = $(!NetProductTitle)" Networking is now installed."$(!LF)$(!LF)+
"Please remove any floppy disks from the floppy disk drives and "+
"choose Restart Computer to run the installed system."
Reboot = "&Restart Computer"
Windows = "E&xit to "$(!NetProductTitle)
DlgType = "Info"
DlgTemplate = "REBOOT"
[InfoDlg]
STF_MB_TITLE = "Information Message"
DlgType = "MessageBox"
STF_MB_TEXT = $(InfoMsgText)
STF_MB_TYPE = 1
STF_MB_ICON = 5
STF_MB_DEF = 1
[WarningDlgENG]
STF_MB_TITLE = "Network Setup Warning"
DlgType = "MessageBox"
STF_MB_TEXT = $(Error)
STF_MB_TYPE = 1
STF_MB_ICON = 5
STF_MB_DEF = 1
[WarningNoNetENG]
ErrorSuffix = " This error prevented the network from starting. As a result,"+
" you will be unable to join a domain at the present time."
[WarningNoLmHostsENG]
ErrorSuffix = " This error prevented the LmHosts service from starting."
[Warning3ENG]
Error = "This will abort network installation."
[ExitWarningDlgENG]
STF_MB_TITLE = "Exit "$(!NetProductTitle)" Networking Setup"
STF_MB_TEXT = $(!NetProductTitle)" is not correcly installed for Network support. "+
"Are you sure you want to discontinue network installation?"
DlgType = "MessageBox"
STF_MB_TYPE = 3
STF_MB_ICON = 5
STF_MB_DEF = 2
[NonfatalDlgENG]
STF_MB_TITLE = "Setup Message"
DlgType = "MessageBox"
STF_MB_TEXT = $(Error)
STF_MB_TYPE = 1
STF_MB_ICON = 5
STF_MB_DEF = 1
[NonFatalError1ENG]
Error = "Setup cannot function properly unless your enter your Name."
[NonFatalError2ENG]
Error = "Disk Setup not available yet."
[NonFatalError4ENG]
Error = $(NetcardListHolder)" is not in "$(NetcardNameList)
[NonFatalError5ENG]
Error = "Setup cannot function properly unless you enter the name requested."
[NonFatalError6ENG]
Error = "No network card was selected."
[NonFatalError7ENG]
Error = "The name entered is invalid."
[NonFatalError8ENG]
Error = "The computer name entered is invalid."
[NonFatalError9ENG]
Error = "The domain name entered is invalid."
[NonFatalError10ENG]
Error = "The workgroup name entered is invalid."
[NonFatalError11ENG]
Error = "The Domain Controller name entered is invalid"
[NonFatalError12ENG]
Error = "Setup failed to configure your Windows16 compatibility "+
"subsystem. Ignoring the error."
[FatalDlgENG]
STF_MB_TITLE = "Setup Message"
DlgType = "MessageBox"
STF_MB_TEXT = $(Error)
STF_MB_TYPE = 1
STF_MB_ICON = 3
STF_MB_DEF = 1
[FatalError1ENG]
Error = "Driver load failed: unable to start LanmanWorkstation."
[FatalError4ENG]
Fatal = "Setup couldn't modify your computer name."$(!LF)$(!LF)"Cannot proceed with install."
[FatalError9ENG]
Fatal = "Setup failed to initialize security on your computer. Cannot proceed "+
"with install."
[FatalError12ENG]
Fatal = "Setup was unable to build the user's default configuration file. "+
"Windows NT cannot log on a user without this file."
[FatalError13ENG]
Fatal = "Setup was unable to reset the SystemSetupInProgress value to "+
"indicate Setup completion."
[FatalError999ENG]
Error = "Setup has encountered an internal error and must quit."
[ProgressCopyENG]
ProCaption = $(!NetProductTitle)" Setup"
ProCancel = "Cancel"
ProCancelMsg = $(!NetProductTitle)" is not correcly installed. Are you sure you want "+
"to cancel copying files?"
ProCancelCap = "Setup Message"
ProText1 = "Copying:"
ProText2 = "To:"
PlatformID_I386 = I386
PlatformID_Mips = Mips
[Billboard1ENG]
Status = "Setup is preparing network card choices..."
[Billboard2ENG]
Status = "Setup is installing the Windows NT Workstation service..."
[Billboard3ENG]
Status = "Setup is installing the Windows NT Server service..."
[Billboard4ENG]
Status = "Setup is installing the NetBEUI transport..."
[Billboard5ENG]
Status = "Setup is installing the NetBIOS service..."
[Billboard6ENG]
Status = "Setup is starting the network..."
[Billboard7ENG]
Status = "Setup is completing the installation of the security system..."
[Billboard8ENG]
Status = "Setup is installing the network card..."
[Billboard9ENG]
Status = "Setup is preparing network software choices..."
[Billboard10ENG]
Status = "Setup is installing the netcard detection service..."
[Billboard11ENG]
Status = "Setup is installing the RPC locator services..."
[QueryAdapterENG]
Caption = "Add Network Adapter"
DlgText = "Setup needs to know which type of network adapter card "+
"is installed in your computer. If you do not want to install "+
"the network, or do not have a network adapter, press CANCEL."+
" If you have more than one network card, you can install others"+
" from the Network icon of the Control Panel."
Combo1Label = "&Network Adapter Card:"
Help = "&Help"
Exit = "Cancel"
Continue = "Continue"
Cancel = "Cancel"
DlgType = Combination
DlgTemplate = "ADAP_PROTO_COMBO"
EditFocus = "ALL"
Combo1List = $(AdapterOptionTextList)
Combo1Out = *($(Combo1List), ~($(AdapterOptionList), $(AdapterOption)))
ComboListItemsIn = {Combo1List}
ComboListItemsOut = {Combo1Out}
NotifyFields = {NO}
HelpContext = $(!IDH_DB_CARDSELECTION_INS)
ExitState = "Active"
[OemOptionDisketteENG]
DO_COPY = "YES"
AdapterDisketteSrc = "A:\"
OemSoftDisketteSrc = "A:\"
[StringsENG]
Other = "<Other> Requires disk from manufacturer"
None = "<None> Network interface to be chosen later"
Error1 = "Failed to initialize adapter options."
Error2 = "Failed to initialize display variables."
Error3 = "Failed to fetch new options. Ignoring the error."
Error4 = "Failed to merge our options with the oem options."
Error5 = ""
[WarnDetectDlgENG]
Caption = "Network Adapter Card Detection"
DlgText = "Setup can automatically detect and install network adapter cards in your computer."+
$(!LF)$(!LF)"Choose Continue to have Setup attempt to detect your adapter card "+
"or choose Do Not Detect to manually select an adapter card."
Help = "&Help"
Exit = "Do &Not Detect"
Continue = "Continue"
DlgType = Info
DlgTemplate = "NC3BUTN"
ExitState = "Active"
HelpContext = $(!IDH_DB_DETECT_BYPASS)
[WarnDetectAcceptENG]
Caption = "Network Adapter Card Detection"
DlgText1 = "Setup has detected the following network adapter card in your computer:"
DlgText2 = "Choose Continue to set up this adapter card, choose Find Next "+
"to have Setup attempt to detect a different adapter card or choose "+
"Do Not Detect if you want to manually select an adapter card."
Help = "&Help"
Exit = "Do &Not Detect"
Continue = "Continue"
Cancel = "&Find Next"
DlgType = Info
DlgTemplate = "NCFOUND"
HelpContext = $(!IDH_DB_DETECT_FOUND)
[WarnDetectFailENG]
Caption = "Network Adapter Card Detection"
DlgText = "Setup did not detect any other network adapter cards in your computer."+
$(!LF)$(!LF)"Choose Continue to manually select an adapter card, "+
"or choose Detect to return to a previously detected adapter card."
Help = "&Help"
Continue = "Continue"
Exit = "&Detect"
DlgType = Info
DlgTemplate = "NC3BUTN"
ExitState = "Active"
HelpContext = $(!IDH_DB_DETECT_FAILED)
[WarnDetectFail2ENG]
DlgText = "Setup did not detect any network adapter cards in your computer."+
$(!LF)$(!LF)"Choose Continue to manually select an adapter card, "+
"or choose Detect to retry the detection operation."