home *** CD-ROM | disk | FTP | other *** search
INI File | 1996-08-06 | 43.5 KB | 1,475 lines |
- ;---------------------------------------------------------------------------------
- ; Web based Administration for Microsoft Windows NT Server
- ; --------------------------------------------------------
- ;
- ; These files must exist:
- ;
- ; ./SETUPADM.BAT the shell script that calls this file
- ; ./SETUPADM.INF this file (of course)
- ;
- ;
- ;
- ; IMPORTANT SECTIONS - Search for Section # (Section 2)
- ; ------------------------------------------------------
- ; 1) Variable Declaration
- ; 2) Control Flow code
- ; 3) File copy section
- ; 3a) File copy add section
- ; 3b) Create Directories here
- ; 4) Registry definitions
- ; 4a) Registry add section
- ;
- ;
- ; OTHER SECTIONS OF INTEREST - Search for Section " (Section B)
- ; -------------------------------------------------------------
- ; A) Strings used by dialogs and error messages
- ; B) Dialog Section
- ; C) Test for IIS
- ;
- ;
- ; * Search for WORDPAD to alter where word pad defaults. (HACKHACK)
- ; Also we use the short directory name, because long directory names
- ; dont work. THIS COULD BE A PROBLEM.
- ;
- ;---------------------------------------------------------------------------------
-
-
- ;***********************************************************************
- ; SOURCE MEDIA DESCRIPTION
- ; ------------------------
- ;***********************************************************************
- [Source Media Descriptions]
- 1 = "Disk containing Web based Administration files."
-
-
- ;***********************************************************************
- ; CONSTANTS FOR USING DIALOGS
- ;***********************************************************************
- [GeneralConstants]
-
- ;
- ; Constants to support the use of radio button dialogs
- ;
- Radio1 = "1"
- Radio2 = "2"
- Radio3 = "3"
- Radio4 = "4"
- Radio5 = "5"
- Radio6 = "6"
- Radio7 = "7"
- Radio8 = "8"
- Radio9 = "9"
-
- ;
- ; Constants to support the use of checkbox dialogs
- Chosen = "ON"
- NotChosen = "OFF"
-
-
- [RegistryConstants]
- MaskAllAccess = 33554432
- NoTitle = 0
- RegLastError = $(!REG_ERROR_SUCCESS)
-
-
-
- ;************************************************************************
- ; CONFIGURATION CHOICES
- ; ---------------------
- ; the sections below contain the different choices supported for
- ; the configuration items shown. an id section establishes the
- ; language independent IDs supported by nt setup. for each language
- ; supported a text section displays the text used for the different
- ; choices
- ;************************************************************************
-
- ;********************************
- ; PLATFORM INDEPENDENT CHOICES
- ;********************************
- ;**************************************************************
- ; LANGUAGE CHOICES-- this is all you get,,,
- ;**************************************************************
-
- [LanguageID]
- LANGID_ENG = ENG
-
- ;**************************************************************
- ; PROCESSOR CHOICES
- ;**************************************************************
- [ProcessorID]
- ProcessorID_I386 = I386
- ProcessorID_I486 = I486
- ProcessorID_I586 = I586
- ProcessorID_R4000 = R4000
- ProcessorID_Alpha = Alpha_AXP
- ProcessorID_PPC601 = PPC601
- ProcessorID_PPC603 = PPC603
- ProcessorID_PPC604 = PPC604
- ProcessorID_PPC620 = PPC620
-
- ;**************************************************************
- ; PLATFORM CHOICES
- ;**************************************************************
- [PlatformID]
- PlatformID_I386 = I386
- PlatformID_Mips = Mips
- PlatformID_Alpha = Alpha
- PlatformID_ppc = ppc
-
- ;**************************************************************
- ; UI VARIABLES
- ;**************************************************************
-
- [ProcessorVar]
-
- STF_PROCESSOR = "" ? $(LIBHANDLE) GetProcessor
- STF_PLATFORM = ""
-
- [LocaleVar]
-
- [LanguageVar]
- ;
- ; Language to Use For interaction with user
- ;
- STF_LANGUAGE = "" ? $(LIBHANDLE) GetLanguage
-
-
- [UiVars]
-
- ;
- ; Destination TOOLS Drive Particulars
- ;
- VolumeList = {} ? $(LIBHANDLE) GetHardDriveLetters
- VolumeFreeList = {} ? $(LIBHANDLE) GetHardDriveFreeSpace
- VolumeFSList = {} ? $(LIBHANDLE) GetHardDriveFileSystems
- DestVolume = ""
- ;
-
-
- ; Windows NT Directory
- ;
-
- STF_WINDOWSPATH = "" ? $(!LIBHANDLE) GetWindowsNtDir
- STF_WINDOWSSYSPATH = "" ? $(!LIBHANDLE) GetWindowsNtSysDir
- STF_WINDOWSVERSION = "" ? $(!LIBHANDLE) GetWindowsNtVersion
-
-
- ;
- ; Installation mode
- ;
-
- MinInteract = $(Radio1)
- MaxInteract = $(Radio2)
- STF_INSTALL_MODE = $(MinInteract)
-
-
-
- [EnvironmentVars]
- ;
- ; user environment variables in the current user's profile
- ; that we are concerned about
-
- PathEnvVar = {} ? $(LIBHANDLE) GetEnvVar $(PRIVILEGES) Path
- InitEnvVar = {} ? $(LIBHANDLE) GetEnvVar $(PRIVILEGES) init
-
-
- [VarsPlatformCommon]
- ;
- ; Installation options
- ;
-
- ;
- ; Options to disable
- ;
- DisableList = {}
-
-
- [VarsI386]
- ;
-
- [VarsMips]
- ;
-
- [VarsAlpha]
- ;
-
- [Varsppc]
- ;
-
-
- ;---------------------------------------------------------------------------------
- ; Section A
- ;
- ; Web Admin strings for use by dialogs
- ;
- ;---------------------------------------------------------------------------------
-
-
- [StringsENG]
- String1 = "Setup cannot install on the current processor."$(!LF)$(!LF)+
- "Cannot proceed with install."
-
- String2 = "Please enter the full path of the directory into which "$(!LF)+
- "the "$(!ProductName)" should be installed. Then choose Continue."
-
- String3 = $(!ProductName)" files not found."$(!LF)+
- "Please enter the directory path to the "$(!ProductName)" setup files."
-
- String4 = "Setup couldn't copy the "$(!ProductName)" files. "$(!LF)$(!LF)+
- "Cannot proceed with install."
-
- String5 = "'"$(EditTextOut)"' is not a valid path! Please try again."
-
- String6 = "Error processing path entered. Please reenter the path."
-
- String7 = ""
-
- String8 = "Size required for full installation is: "
- String9 = "Minimum size required for custom installation is: "
- String10 = " MB. "
- String11 = "No drive was found with this much space."$(!LF)$(!LF)+
- "Cannot proceed with install."
-
- String12 = "The Microsoft "$(!ProductName)" is not completely installed."$(LF)$(LF)+
- " Are you sure you want to exit Setup?"
-
- String13 = "Setup needs a full path specification of your destination. Please "+
- "reenter a new path. An example of af full path is: "
-
- String14 = "The following directory does not exist."$(LF)
-
- String15 = $(LF)$(LF)"Would you like to create it?"
- String16 = "You must have Microsoft Internet Information Server Installed!"
- String17 = "This product requires Microsoft Windows NT Server to be installed!"
- String18 = "Invalid WWWRoot directory."
- String19 = "Invalid Scripts directory."
-
-
- ;---------------------------------------------------------------------------------
- ; end
- ;---------------------------------------------------------------------------------
-
-
- ;--------------------
- ; BILLBOARD MESSAGES
- ;--------------------
- [BillboardsENG]
- Billboard1 = "Please wait while Setup creates directories on the destination drive."
- Billboard2 = "Please wait while Setup installs data into your registry."$(LF)$(LF)+
- "Please be patient, this may take a few minutes."
-
-
- ;---------------------------------------------------------------------------------
- ; Section B
- ;
- ; Web Admin dialogs pre-defined by NT I.E 2.0
- ;
- ;---------------------------------------------------------------------------------
-
-
- ;***************************************************************************
- ; DIALOGS
- ; -------
- ; the following sections contain the dialogs used to interact with the user.
- ; for each language supported there is a different dialog section.
- ;***************************************************************************
-
-
- ;**************************************************************
- ; WELCOME DIALOG
- ;**************************************************************
- [WelcomeDlgENG]
- DlgType = Info
- DlgTemplate = WELCOME
- Caption = $(!ProductName)
-
- DlgText = "Welcome to Setup."$(LF)$(LF)+
- "This Setup program "+
- "installs the "$(!ProductName)". "$(LF)$(LF)+
- "To install the "$(!ProductName)" on your "+
- "computer now, click Continue "+
- "or press Enter."$(LF)$(LF)+
- "To exit Setup without installing, click Exit "+
- "or press F3."
-
- Continue = &Continue
- Help = &Help
- Exit = E&xit
- HelpContext = $(!IDH_DB_MSTWELCOME_INS)
-
-
-
- ;**************************************************************
- ; SETUP DONE - RESTART DIALOG
- ;**************************************************************
- [SetupDoneDlgENG]
- DlgType = "Info"
- DlgTemplate = "RESTART"
- Caption = $(!ProductName)" Setup"
- DlgText = $(!ProductName)" is now installed."$(LF)$(LF)+
- "Please exit to Windows NT."
- Windows = "Exit to &Windows"
-
- ;**************************************************************
- ; SETUP NOT DONE - RESTART DIALOG
- ;**************************************************************
- [SetupNotDoneDlgENG]
- DlgType = "Info"
- DlgTemplate = "NONFATAL"
- Caption = $(!ProductName)" Setup"
- DlgText = $(!ProductName)" has "+
- "not been installed. You will have to run setup again to " +
- "reinstall "$(!ProductName)"."$(LF)$(LF)+
- "Please exit back to Windows NT."
- Windows = "Exit to &Windows"
-
- ;**************************************************************
- ; SETUP NOT DONE - Root Perms not found DIALOG
- ;**************************************************************
- [RootPermsDlgENG]
- DlgType = "MessageBox"
- STF_MB_TITLE = "Fatal error: "$(!ProductName)" Setup"
- STF_MB_TEXT = "You must be logged in as ADMINISTRATOR to "+
- "run this setup utility"
- STF_MB_TYPE = 1
- STF_MB_ICON = 3
- STF_MB_DEF = 1
-
-
- ;**************************************************************************
- ; DLL LOAD and FREE
- ; the following section contain commands to load specific dll libraries and
- ; to free them
- ;**************************************************************************
-
- ;**************************************************************
- ; a) DETECT LIBRARY
- ;**************************************************************
- [LoadSetupLibrary]
- LoadLibrary "x" $(STF_CWDDIR)setupdll.dll LIBHANDLE
- exit
-
- [FreeSetupLibrary]
- FreeLibrary $(LIBHANDLE)
- exit
-
-
-
- ;**************************************************************************
- ; PROGRESS GUAGE VARIABLES
- ;**************************************************************************
-
- [ProgressCopyENG]
- ProCaption = $(!ProductName)" Setup"
- ProCancel = "Cance&l"
- ProCancelMsg = $(!ProductName)" is not correctly installed. Are you sure "+
- "you want to cancel copying files?"
- ProCancelCap = "Setup Message"
- ProText1 = "Copying:"
- ProText2 = "To:"
-
-
- ;---------------------------------------------------------------------------------
- ; Section 1
- ;
- ; Main shell section. This is where it all starts!
- ;
- ;---------------------------------------------------------------------------------
-
-
-
- ;**************************************************************************
- ; SHELL COMMANDS SCRIPT
- ;**************************************************************************
-
- [Shell Commands]
-
- ; Product Information
- set ProductName = "Web based Administration for Microsoft Windows NT Server"
- set ProductShort = "Web based Administration"
- set ProductVersion = "1.0"
- set ProductDirW = "H:\inetsrv\wwwroot"
- set ProductDirS = "H:\inetsrv\wwwroot"
- set ProductKey = "SOFTWARE\Microsoft\Inetsrv_NTAdmin"
- set ProductFileChk = "NTAdmin.htm"
-
-
- ;
- ; Initialize the app, by setting the caption and loading the support library
- ;
- set TestCopy = 0
- set TestReg = 0 ;-sc
- set TestRegVerbose = 0
- set-title $(!ProductName)" Setup"
- set Exit_Code = $(!SETUP_ERROR_GENERAL)
- install LoadSetupLibrary
-
- StartWait
-
- ;
- ; read general constants
- ;
- set-subst LF = "\n"
- set-subst MQ = \047 ;047=' in octal meta-quote
- set-subst DQ = \042 ;042=" in octal double-quote
- read-syms GeneralConstants
-
- ;
- ; read the platform independent choices
- ;
- read-syms LanguageID
- read-syms ProcessorID
- read-syms PlatformID
-
- ;
- ; read the default language and try to detect the language
- ;
- read-syms LanguageVar
- detect LanguageVar
-
- ;
- ; read and detect the processor we are working on
- ;
- read-syms ProcessorVar
- detect ProcessorVar
- read-syms Strings$(!STF_LANGUAGE)
- detect Strings$(!STF_LANGUAGE)
- read-syms Billboards$(!STF_LANGUAGE)
-
- ;
- ; Check processor type, see if it is supported, if so what platform does it
- ; belong to.
- ;
- ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_I386)
- set STF_PLATFORM = $(PlatformID_I386)
- else-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-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_Alpha)
- set STF_PLATFORM = $(PlatformID_Alpha)
- else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_PPC601)
- set STF_PLATFORM = $(PlatformID_ppc)
- else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_PPC603)
- set STF_PLATFORM = $(PlatformID_ppc)
- else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_PPC604)
- set STF_PLATFORM = $(PlatformID_ppc)
- else-ifstr(i) $(STF_PROCESSOR) == $(ProcessorID_PPC620)
- set STF_PLATFORM = $(PlatformID_ppc)
- else
- shell "" SetupMessage $(!STF_LANGUAGE) "FATAL" $(String1)
- ui pop 1
- goto setupnotdone
- endif
-
- read-syms RegistryConstants
-
- ;
- ; read the UI Variables and detect their setting on the current machine
- ;
- read-syms UiVars
- detect UiVars
-
- read-syms Vars$(STF_PLATFORM)
- read-syms VarsPlatformCommon
-
- set WinHlpDir = $(WinDir)"\Help\"
-
- ;---------------------------------------------------------------------------------
- ; HACKHACK - Set WORDPAD to the location as follows
- ;---------------------------------------------------------------------------------
-
- split-string $(!STF_WINDOWSPATH) ":" _NtDrive
- set WordPad = *($(_NtDrive), 1)":\progra~1\window~1\access~1\wordpad.exe "
-
- ;---------------------------------------------------------------------------------
-
- ; Expand env vars for temp and web directorys
- LibraryProcedure SrcDir, $(!LIBHANDLE), ExpandSz *($(!STF_SRCDIR), 4)
- set SrcDir = *($(!STF_SRCDIR), 1)
- LibraryProcedure ProductDirW, $(!LIBHANDLE), ExpandSz $(ProductDirW)
- LibraryProcedure ProductDirS, $(!LIBHANDLE), ExpandSz $(ProductDirS)
-
- ;Makesure all our paths have '\' at the end
- LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(!STF_SRCDIR)
- ifstr(i) $(STATUS) != "ERROR"
- set SrcDir = $(STATUS)
- endif
-
- LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(ProductDirW)
- ifstr(i) $(STATUS) != "ERROR"
- set ProductDir = $(STATUS)
- endif
-
- LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(ProductDirS)
- ifstr(i) $(STATUS) != "ERROR"
- set ProductDir = $(STATUS)
- endif
-
- LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(WinDir)
-
-
- ifstr(i) $(STATUS) != "ERROR"
- set WinDir = $(STATUS)
- endif
- LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(WinSysDir)
- ifstr(i) $(STATUS) != "ERROR"
- set WinSysDir = $(STATUS)
- endif
-
- ;
- ; Call the library function to see if we have admin privileges
- ;
- LibraryProcedure STATUS, $(!LIBHANDLE), TestAdmin
- ifstr(i) $(STATUS) == "YES"
- set UsrRootPerms = "SYSTEM"
- else
- set UsrRootPerms = "LOSER"
- endif
-
- ifstr(i) $(UsrRootPerms) != "SYSTEM"
- read-syms RootPermsDlg$(STF_LANGUAGE)
- ui start "RootPerms"
- ifstr(i) $(DLGEVENT) == "OK"
- ui pop 1
- goto setupnotdone
- else
- goto setupnotdone
- endif
- endif
-
- EndWait
-
-
- ;---------------------------------------------------------------------------------
- ; Section 2
- ;
- ; Main program flow.
- ;
- ;---------------------------------------------------------------------------------
-
-
-
- welcome =+
-
- ;Check for windows NT Server - VERY IMPORTANT!!!!
- ;
-
- ; open the key to find out serve
- OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Control\ProductOptions" $(!MaskAllAccess) TempKey
-
- ; get and test the value
- GetRegValue $(TempKey), "ProductType", KeyValue
- ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
- CloseRegKey $(TempKey)
- endif
-
- set ProductType = *($(KeyValue), 4)
-
- ifstr(i) $(ProductType) == "WinNT"
- shell "" SetupMessage $(!STF_LANGUAGE) NONFATAL $(String17)
- ui pop 1
- goto badend
- endif
-
-
-
-
- read-syms WelcomeDlg$(STF_LANGUAGE)
- ui start "WelcomeMe"
- ifstr(i) $(DLGEVENT) == "CONTINUE"
- ui pop 1
- goto setdestination
- else-ifstr(i) $(DLGEVENT) == "EXIT"
- shell "" QueryUserQuit
- ifstr(i) $($R1) == "OK"
- ui pop 1
- goto setupnotdone
- else
- goto welcome
- endif
- else
- goto end
- endif
-
-
- ;---------------------------------------------------------------------------------
- ; Section C
- ;
- ; This is where we test for the IIS directory. This is a hard code value.
- ;
- ; If there is a problem we display a message and then go to the badend section.
- ;
- ;---------------------------------------------------------------------------------
-
-
- setdestination =+
-
- ; open the key
- ;OpenRegKey $(!REG_H_LOCAL) "" "SOFTWARE\Microsoft\INetStp" $(!MaskAllAccess) TempKey
-
- OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\ControlSet001\Services\W3SVC\Parameters\Virtual Roots\" $(!MaskAllAccess) TempKey
-
- ; get and test the value for wwwroot
- GetRegValue $(TempKey), "/", KeyValue
- ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
- GetRegValue $(TempKey), "/,", KeyValue
- ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
- CloseRegKey $(TempKey)
- endif
- endif
-
- Split-String *($(KeyValue), 4) "," TempKey2
- set ProductDirW = *($(TempKey2), 1)
-
- ; get and test the value for scripts
- GetRegValue $(TempKey), "/Scripts", KeyValue
- ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
- GetRegValue $(TempKey), "/Scripts,", KeyValue
- ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
- CloseRegKey $(TempKey)
- endif
- endif
- Split-String *($(KeyValue), 4) "," TempKey2
- set ProductDirS = *($(TempKey2), 1)
-
-
- ; set the product dir value to the value of the registry key and appened a back
- ; slash if required.
-
- LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(ProductDirW)
-
- ifstr(i) $(STATUS) != "ERROR"
- set ProductDirW = $(STATUS)
- endif
-
- LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(ProductDirS)
-
- ifstr(i) $(STATUS) != "ERROR"
- set ProductDirS = $(STATUS)
- endif
-
- LibraryProcedure IsFullPath $(!LIBHANDLE) +
- CheckPathFullPathSpec $(ProductDirW)
- ifstr(i) $(IsFullPath) == "No"
- shell "" SetupMessage $(!STF_LANGUAGE) NONFATAL $(String18)
- ui pop 1
- goto badend
- endif
-
-
- LibraryProcedure IsFullPath $(!LIBHANDLE) +
- CheckPathFullPathSpec $(ProductDirS)
- ifstr(i) $(IsFullPath) == "No"
- shell "" SetupMessage $(!STF_LANGUAGE) NONFATAL $(String19)
- ui pop 1
- goto badend
- endif
-
- goto setsource
-
- ;---------------------------------------------------------------------------------
- ; end
- ;---------------------------------------------------------------------------------
-
-
- querysource =+
- shell "" DoAskPathEx $(!STF_SRCDIR) $(String3) $(String6)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- ;Debug-Output "SETUPADM.INF: shelling DoAskPathEx failed"
- goto setupnotdone
- endif
- ifstr(i) $($R0) == STATUS_SUCCESSFUL
- set SrcDir = $($R1)
- else
- ;Debug-Output "SETUPADM.INF: User cancelled asking source."
- goto setupnotdone
- endif
-
- setsource =+
- set FileToCheck = $(!STF_SRCDIR)$(!ProductFileChk)
- Debug-Output "SETUPADM.INF: checking existance of "$(FileToCheck)
- LibraryProcedure STATUS,$(!LIBHANDLE), CheckFileExistance $(FileToCheck)
- ifstr(i) $(STATUS) == YES
- goto copystuff
- else
- goto querysource
- endif
-
- copystuff = +
- StartWait
- shell "" PushBillboard STATUSDLG $(Billboard1)
- ifint $(!TestCopy) != 1
- install ICreateWebAdminDir
- install ICopyWebAdminFiles
- endif
- shell "" PopBillboard
- EndWait
- Debug-Output "SETUPADM.INF: Copying files from "$(!STF_SRCDIR)
- Debug-Output "SETUPADM.INF: Copying files to "$(ProductDirW)
- Debug-Output "SETUPADM.INF: Copying files to "$(ProductDirS)
- Debug-Output "SETUPADM.INF: Copying files to "$(WinSysDir)
- Debug-Output "SETUPADM.INF: Copying files to "$(WinHlpDir)
-
- finish = +
- read-syms ProgressCopy$(STF_LANGUAGE)
- install Install-All-Files-Now
- ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_SUCCESS"
- goto doregistry
- else
- shell "" SetupMessage $(!STF_LANGUAGE) "FATAL" $(String4)
- ui pop 1
- goto setupnotdone
- endif
-
-
- ;---------------------------------------------------------------------------------
- ; Section 4a
- ;
- ; This is where we say which registry sections get added
- ;
- ;---------------------------------------------------------------------------------
-
- doregistry =+
-
- ifint $(!TestReg) == 1
- shell "" DoRegistrySection "other"
- goto setupdone
- endif
-
- StartWait
- shell "" PushBillboard STATUSDLG $(Billboard2)
-
- shell "" DoRegistrySection "WebAdmin.Add.Reg"
-
- shell "" PopBillboard
- EndWait
-
- ;---------------------------------------------------------------------------------
- ; end
- ;---------------------------------------------------------------------------------
-
- setupdone=+
- set Exit_Code = $(!SETUP_ERROR_SUCCESS)
- read-syms SetupDoneDlg$(!STF_LANGUAGE)
- EndWait
- ui start "DoneWithThis"
- ifstr(i) $(DLGEVENT) == "CONTINUE"
- ui pop 1
- goto end
- else
- goto end
- endif
-
- setupnotdone=+
- read-syms SetupNotDoneDlg$(!STF_LANGUAGE)
- EndWait
- ui start "NotDoneMakingAMess"
- ifstr(i) $(DLGEVENT) == "CONTINUE"
- ui pop 1
- goto end
- else
- goto end
- endif
-
- end = +
- StartDetachedProcess Success "" "" $(!WordPad) $(ProductDirW)"\NTAdmin\ReadMe.doc"
-
- install FreeSetupLibrary
- exit
-
- badend = +
- exit
-
- ;---------------------------------------------------------------------------------
- ; end
- ;---------------------------------------------------------------------------------
-
-
- ;**************************************************************
- ;
- ; DEFAULT ROUTINES. DO NOT TOUCH!
- ;
- ;**************************************************************
-
- ; $0 Section name to act upon
- [DoRegistrySection]
- set hKeyList = ^($($0), 1)
- set KeyTreeList = ^($($0), 2)
- set ValNameList = ^($($0), 3)
- set ValTypeList = ^($($0), 4)
- set ValDataList = ^($($0), 5)
-
- ; build up our parameters for CreateKey.
- ; $1 - key for root hive
- ; $2 - {keylist, $(NoTitle), $(AccessMask)}
- ; $3 - { {ValueName1,0,$(!REG_VT_SZ),$(ValueData1)}, +
- ; {ValueName2,0,$(!REG_VT_SZ),$(ValueData2)} }
- ; $4 - key for root hive
- ForListDo $(hKeyList)
- ifstr(i) *($(hKeyList), $(#)) == "hkcu"
- set hKey = $(!REG_H_CUSER)
- else-ifstr(i) *($(hKeyList), $(#)) == "hklm"
- set hKey = $(!REG_H_LOCAL)
- else-ifstr(i) *($(hKeyList), $(#)) == "hkcr"
- set hKey = $(!REG_H_CLASSES)
- endif
-
- ;build up our KeyList
- set OurKeyList = {}
- split-string *($(KeyTreeList), $(#)) "\" Tmp
- ForListDo $(Tmp)
- ifstr(i) $($) != "\"
- set OurKeyList = >($(OurKeyList), {$($), $(!NoTitle), $(!MaskAllAccess)})
- endif
- EndForListDo
- Debug-Output ".INF: KeyList="$(OurKeyList)
-
- ;build up Value List
- set SlamValueList = {}
- ifcontains *($(ValTypeList), $(#)) in {"0", "2"}
- set SlamValueList = >($(SlamValueList), {*($(ValNameList), $(#)), $(!NoTitle), $(!REG_VT_SZ), *($(ValDataList), $(#))})
- else-ifcontains *($(ValTypeList), $(#)) in {"1", "3"}
- set Numbers = {}
- split-string *($(ValDataList), $(#)) "," Tmp
- ForListDo $(Tmp)
- ifstr $($) != ","
- set-hextodec Dec = $($)
- set Numbers = >($(Numbers), $(Dec))
- endif
- EndForListDo
- set SlamValueList = >($(SlamValueList), {*($(ValNameList), $(#)), $(!NoTitle), $(!REG_VT_BIN), $(Numbers)})
- else-ifcontains *($(ValTypeList), $(#)) in {"4"}
- set SlamValueList = >($(SlamValueList), {*($(ValNameList), $(#)), $(!NoTitle), $(!REG_VT_DWORD), *($(ValDataList), $(#))})
- endif
-
-
- Debug-Output ".INF: ValueList="$(SlamValueList)
-
- shell "" CreateKey $(hKey) $(OurKeyList) $(SlamValueList)
- CloseRegKey $($R1)
-
- EndForListDo
-
- return
-
- ;*****************************************************************
- ; *
- ; INSTALLATION SUPPORT ROUTINES *
- ; *
- ;*****************************************************************
-
- ;**************************************************************
- ; ROUTINE: CreateKey
- ;
- ; DESCRIPTION: Creates a key and fixes the values indicated.
- ; Key is Handle\Key1\Key2\...\Keyn. Value list
- ; is for Valuen.
- ;
- ; INPUTS: $0: Handle into registry
- ; $1: KeyTreeComponents {Key1Info, Key2Info..}
- ; $2: ValueList {Value1Info, Value2Info, Value3Info}
- ;
- ; OUTPUTS: $R0: Status: STATUS_SUCCESSFUL
- ; STATUS_FAILED
- ; STATUS_ERROR_CREATEKEY
- ; STATUS_ERROR_CREATEVALUE
- ;
- ; $R1: Handle to created key
- ;
- ;**************************************************************
-
- [CreateKey]
- ifint $(!TestRegVerbose) == 1
- Debug-Output ".INF: CreateKey $0 = "$($0)
- Debug-Output ".INF: CreateKey $1 = "$($1)
- Debug-Output ".INF: CreateKey $2 = "$($2)
- endif
-
- ;
- ; Initialize
- ;
-
- set Status = STATUS_FAILED
- read-syms RegistryConstants
-
- ;
- ; traverse down the keytreecomponents and open/create components as
- ; you go along
- ;
-
- set BaseHandle = $($0)
- set KeyHandle = $(BaseHandle)
-
- ForListDo $($1)
-
- set KeyInfo = $($)
- set KeyName = *($(KeyInfo), 1)
-
- ;
- ; Try opening the key first
- OpenRegKey $(BaseHandle) "" $(KeyName) $(MaskAllAccess) KeyHandle
- ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
- ;
- ; Key doesn't exist
- ;
- ; Debug-Output "REGISTRY.INF: Key"$(KeyName)"doesn't exist. Will create key"
-
- set RegLastError = 0
- CreateRegKey $(BaseHandle) $(KeyInfo) "" $(MaskAllAccess) "" KeyHandle
- ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
- set Status = STATUS_ERROR_CREATEKEY
- ; Debug-Output "REGISTRY.INF: Error in creating key"
- goto endcreate
- endif
- endif
-
- ifstr(i) $(BaseHandle) != $($0)
- CloseRegKey $(BaseHandle)
- ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
- set Status = STATUS_ERROR_CREATEKEY
- ; Debug-Output "REGISTRY.INF: Error in closing base handle"
- goto endcreate
- endif
- endif
-
- set BaseHandle = $(KeyHandle)
-
- EndForListDo
-
- ifstr(i) $($2) != {}
- shell "" AddValueList $(KeyHandle) $($2)
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- set Status = STATUS_ERROR_CREATEVALUE
- goto endcreate
- endif
- endif
- set Status = STATUS_SUCCESSFUL
-
- endcreate = +
- ifstr(i) $(Status) != STATUS_SUCCESSFUL
- ; Debug-Output "REGISTRY.INF: CreateKey Error:"$(Status)
- endif
- Return $(Status) $(KeyHandle)
-
-
- ;*************************************************************************
- ;
- ; SECTION: AddValueList
- ;
- ; PURPOSE: Given a nested list of value items, add each to the given
- ; key. Key is left open.
- ;
- ; ARGUMENTS: $0 Registry key handle
- ; $1 List of value items; for example:
- ; { {ValueName1,0,$(!REG_VT_SZ),$(ValueData1)}, +
- ; {ValueName2,0,$(!REG_VT_SZ),$(ValueData2)} }
- ;
- ; RETURNS: $R0 Status
- ;
- ;
- ;*************************************************************************
-
- [AddValueList]
- set Status = STATUS_FAILED
- read-syms RegistryConstants
-
- ForListDo $($1)
- SetRegValue $($0) $($)
- ifint $(RegLastError) != $(!REG_ERROR_SUCCESS)
- ; Debug-Output "REGISTRY.INF: CreateValue failed:"$($)
- goto end_addvaluelist
- endif
- EndForListDo
- set Status = STATUS_SUCCESSFUL
-
- end_addvaluelist = +
- return $(Status)
-
- ;**************************************************************
- ; ROUTINE: QueryUserQuit
- ;
- ; DESCRIPTION: This routine queries whether the user wants to quit setup
- ;
- ; INPUTS: None
- ;
- ; OUTPUTS: $R0: Status: STATUS_SUCCESSFUL |
- ; STATUS_FAILED
- ;
- ; $R1: UserAction: OK | CANCEL
- ;
- ;**************************************************************
- [QueryUserQuit]
-
- set Status = STATUS_FAILED
- set UserAction = CANCEL
-
- ;
- ; read in quit message
- ;
- read-syms ExitWarningDlg$(!STF_LANGUAGE)
- 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)
-
- [ExitWarningDlgENG]
- DlgType = "MessageBox"
- STF_MB_TITLE = "Exit "$(!ProductName)" Setup"
- STF_MB_TEXT = "The "$(!ProductName)" is not completely installed."$(LF)$(LF)+
- " Are you sure you want to exit Setup?"
- STF_MB_TYPE = 3
- STF_MB_ICON = 5
- STF_MB_DEF = 1
-
-
- ;**************************************************************
- ; ROUTINE: SetupMessage
- ;
- ; DESCRIPTION: Puts up a MessageBox
- ;
- ; INPUTS: $0 LanguageID
- ; $1 Message type
- ; $2 Message string
- ;
- ; OUTPUTS: $R0: Status: STATUS_SUCCESSFUL |
- ; STATUS_FAILED
- ;
- ; $R1: UserAction: OK | CANCEL
- ;
- ;**************************************************************
- [SetupMessage]
- set Status = STATUS_FAILED
- set UserAction = "CANCEL"
- set DlgText = $($2)
- ifstr(i) $($1) == "WARNING"
- read-syms WarningDlg$($0)
- else-ifstr(i) $($1) == "FATAL"
- read-syms FatalDlg$($0)
- else-ifstr(i) $($1) == "NONFATAL"
- read-syms NonfatalDlg$($0)
- else-ifstr(i) $($1) == "STATUS"
- read-syms StatusDlg$($0)
- else-ifstr(i) $($1) == "WARNINGOK"
- read-syms WarningOKDlg$($0)
- else
- goto finish_SetupMessage
- endif
- ui start "SetupMessage"
- ifstr(i) $(DLGEVENT) == "OK"
- set Status = STATUS_SUCCESSFUL
- set UserAction = $(DLGEVENT)
- else-ifstr(i) $(DLGEVENT) == "CANCEL"
- set Status = STATUS_SUCCESSFUL
- set UserAction = $(DLGEVENT)
- else-ifstr(i) $(DLGEVENT) == "YES"
- set Status = STATUS_SUCCESSFUL
- set UserAction = $(DLGEVENT)
- else-ifstr(i) $(DLGEVENT) == "NO"
- set Status = STATUS_SUCCESSFUL
- set UserAction = $(DLGEVENT)
- else
- endif
- finish_SetupMessage = +
- Return $(Status) $(UserAction)
- end
- [WarningDlgENG]
- STF_MB_TITLE = "Setup Message"
- DlgType = "MessageBox"
- STF_MB_TEXT = $(DlgText)
- STF_MB_TYPE = 2
- STF_MB_ICON = 5
- STF_MB_DEF = 2
- [FatalDlgENG]
- STF_MB_TITLE = "Setup Message"
- DlgType = "MessageBox"
- STF_MB_TEXT = $(DlgText)
- STF_MB_TYPE = 1
- STF_MB_ICON = 3
- STF_MB_DEF = 1
- [NonfatalDlgENG]
- STF_MB_TITLE = "Setup Message"
- DlgType = "MessageBox"
- STF_MB_TEXT = $(DlgText)
- STF_MB_TYPE = 1
- STF_MB_ICON = 5
- STF_MB_DEF = 1
- [StatusDlgENG]
- STF_MB_TITLE = "Setup Message"
- DlgType = "MessageBox"
- STF_MB_TEXT = $(DlgText)
- STF_MB_TYPE = 1
- STF_MB_ICON = 2
- STF_MB_DEF = 1
- [WarningOKDlgENG]
- DlgType = "MessageBox"
- STF_MB_TITLE = "Setup Message"
- STF_MB_TEXT = $(DlgText)
- STF_MB_TYPE = 3
- STF_MB_ICON = 5
- STF_MB_DEF = 1
-
-
-
- ;**************************************************************
- ; ROUTINE: DoAskPathEx
- ;
- ; DESCRIPTION: Puts up an EDIT box to prompt for a path
- ;
- ; INPUTS: $0 LanguageID
- ; $1 Message type
- ; $2 Message string
- ; $3 Message error
- ;
- ; OUTPUTS: $R0: Status: STATUS_SUCCESSFUL |
- ; STATUS_FAILED
- ;
- ; $R1: UserAction: OK | CANCEL
- ;
- ;**************************************************************
- [DoAskPathEx]
- set Status = STATUS_FAILED
- set Src = $($0)
- askpath = +
- read-syms DisketteDlg$(!STF_LANGUAGE)
- ui start "Diskette"
- ifstr(i) $(DLGEVENT) == "CONTINUE"
- LibraryProcedure IsFullPath, $(!LIBHANDLE), CheckPathFullPathSpec $(EditTextOut)
- ifstr(i) $(IsFullPath) == "NO"
- StartWait
- LibraryProcedure STATUS, $(!LIBHANDLE), ProcessForUNC $(EditTextOut)
- EndWait
- ifstr(i) $(STATUS) == "ERROR"
- shell "" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $($3)
- goto askpath
- else-ifstr(i) $(STATUS) == "NOT-UNC"
- shell "" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $($3)
- goto askpath
- else-ifstr(i) $(STATUS) == "UNC-FAILCONNECT"
- shell "" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $($3)
- goto askpath
- else
- set Src = $(STATUS)
- endif
- else
- set Src = $(EditTextOut)
- endif
- ui pop 1
- LibraryProcedure STATUS, $(!LIBHANDLE), AppendBackSlash $(Src)
- ifstr(i) $(STATUS) == "ERROR"
- goto finish_DoAskPath
- else
- set Src = $(STATUS)
- set Status = STATUS_SUCCESSFUL
- goto finish_DoAskPath
- endif
- else-ifstr(i) $(DLGEVENT) == "BACK"
- ui pop 1
- set Status = STATUS_USERCANCEL
- goto finish_DoAskPath
- else
- ui pop 1
- goto finish_DoAskPath
- endif
- finish_DoAskPath = +
- Return $(Status) $(Src) $(EditTextOut)
-
- [DisketteDlgENG]
- Caption = $(!ProductName)" Setup"
- Continue = "Continue"
- Cancel = "Cancel"
- DlgType = "Edit"
- DlgTemplate = "DISKETTE"
- DlgText = $($1)
- Edit1Label = ""
- EditTextIn = $(Src)
- EditFocus = "ALL"
-
-
- ;**************************************************************
- ; Billboard Helper functions
- ;**************************************************************
- [PushBillboard]
- read-syms BillboardDlg$(!STF_LANGUAGE)
- ui start "Billboard"
- Return
- [PopBillboard]
- ui pop 1
- Return
- [BillboardDlgENG]
- DlgType = Billboard
- DlgTemplate = $($0)
- TextFields = {$($1)}
-
-
- ;---------------------------------------------------------------------------------
- ; Section 3a
- ;
- ; This is where we say which sections are copied and where the sections go
- ;
- ;---------------------------------------------------------------------------------
-
-
- [ICopyWebAdminFiles]
- set STF_VITAL = ""
- AddSectionFilesToCopyList Files-System $(!STF_SRCDIR) $(!STF_WINDOWSSYSPATH)
- AddSectionFilesToCopyList Files-Main $(!STF_SRCDIR) $(!ProductDirW)
- AddSectionFilesToCopyList Files-script $(!STF_SRCDIR) $(!ProductDirS)
- AddSectionFilesToCopyList Files-ScriptsWebAdmin $(!STF_SRCDIR) $(!ProductDirS)"NTAdmin"
- AddSectionFilesToCopyList Files-WWWRootWebAdmin $(!STF_SRCDIR) $(!ProductDirW)"NTAdmin"
- AddSectionFilesToCopyList Files-WWWRootWebAdminExesM $(!STF_SRCDIR) $(!ProductDirW)"NTAdmin\Exes\mips"
- AddSectionFilesToCopyList Files-WWWRootWebAdminExesI $(!STF_SRCDIR) $(!ProductDirW)"NTAdmin\Exes\i386"
- AddSectionFilesToCopyList Files-WWWRootWebAdminExesA $(!STF_SRCDIR) $(!ProductDirW)"NTAdmin\Exes\alpha"
- AddSectionFilesToCopyList Files-WWWRootWebAdminExesP $(!STF_SRCDIR) $(!ProductDirW)"NTAdmin\Exes\ppc"
- AddSectionFilesToCopyList Files-WWWRootWebAdminGraphics $(!STF_SRCDIR) $(!ProductDirW)"NTAdmin\Graphics"
- exit
-
- ;---------------------------------------------------------------------------------
- ; end
- ;---------------------------------------------------------------------------------
-
- [Install-All-Files-Now]
- CopyFilesInCopyList
- exit
-
- ;---------------------------------------------------------------------------------
- ; Section 3b
- ;
- ; This is where we create directories to put stuff
- ;
- ;---------------------------------------------------------------------------------
-
-
- [ICreateWebAdminDir]
-
- ; This is a do loop which creates the individual sub directories
- ;
- ; \Scripts\WebAdmin
- ;
- split-string $(!ProductDirS)"NTAdmin" "\" _DirSplit
- ForListDo $(_DirSplit)
- set _TmpDir = $(_TmpDir)$($)
- ifstr(i) $($) != "\"
- CreateDir $(_TmpDir)
- endif
- EndForListDo
-
- ; This is a do loop which creates the individual sub directories
- ;
- ;\WWWRoot\WebAdmin\Graphics
- ;
- split-string $(!ProductDirW)"NTAdmin\Graphics" "\" _DirSplit2
- ForListDo $(_DirSplit2)
- set _TmpDir2 = $(_TmpDir2)$($)
- ifstr(i) $($) != "\"
- CreateDir $(_TmpDir2)
- endif
- EndForListDo
-
- ; This is a do loop which creates the individual sub directories
- ;
- ;\WWWRoot\WebAdmin\Exes
- ;
-
- CreateDir $(ProductDirW)NTAdmin\Exes
- CreateDir $(ProductDirW)NTAdmin\Exes\mips
- CreateDir $(ProductDirW)NTAdmin\Exes\i386
- CreateDir $(ProductDirW)NTAdmin\Exes\alpha
- CreateDir $(ProductDirW)NTAdmin\Exes\ppc
-
- exit
-
- ;---------------------------------------------------------------------------------
- ; end
- ;---------------------------------------------------------------------------------
-
-
- ;---------------------------------------------------------------------------------
- ; Section 3
- ;
- ; Web Admin file lists...
- ;
- ;---------------------------------------------------------------------------------
-
-
- [Files-System]
- 1, Winmsdp.exe, NOLOG
-
- [Files-Main]
-
- [Files-Script]
-
- [Files-ScriptsWebAdmin]
- 1, ntadmin.dll, NOLOG
- 1, account.htt, NOLOG
- 1, asharinf.htt, NOLOG
- 1, asharown.htt, NOLOG
- 1, asharprm.htt, NOLOG
- 1, confgdmp.htt, NOLOG
- 1, confgdsp.htt, NOLOG
- 1, devmgr.htt, NOLOG
- 1, dstartup.htt, NOLOG
- 1, erruser.htt, NOLOG
- 1, EventLog.htt, NOLOG
- 1, EvtClear.htt, NOLOG
- 1, EvtInfo.htt, NOLOG
- 1, EvtList.htt, NOLOG
- 1, filebrws.htt, NOLOG
- 1, fileperm.htt, NOLOG
- 1, fprmaddu.htt, NOLOG
- 1, fprmaddg.htt, NOLOG
- 1, fprmaddo.htt, NOLOG
- 1, fprmdel.htt, NOLOG
- 1, genstat.htt, NOLOG
- 1, grpadd.htt, NOLOG
- 1, grpdel.htt, NOLOG
- 1, grplist.htt, NOLOG
- 1, maintain.htt, NOLOG
- 1, nsharinf.htt, NOLOG
- 1, perfcntr.htt, NOLOG
- 1, perfobjs.htt, NOLOG
- 1, permaddg.htt, NOLOG
- 1, permaddo.htt, NOLOG
- 1, permaddu.htt, NOLOG
- 1, permdel.htt, NOLOG
- 1, qjobmgr.htt, NOLOG
- 1, quemgr.htt, NOLOG
- 1, reboot.htt, NOLOG
- 1, rebootcm.htt, NOLOG
- 1, rebooted.htt, NOLOG
- 1, remote.htt, NOLOG
- 1, sendmsg.htt, NOLOG
- 1, servstat.htt, NOLOG
- 1, sesdisc.htt, NOLOG
- 1, sesdisca.htt, NOLOG
- 1, sesinfo.htt, NOLOG
- 1, sesslist.htt, NOLOG
- 1, sharadd.htt, NOLOG
- 1, sharbrws.htt, NOLOG
- 1, shardel.htt, NOLOG
- 1, sharinfo.htt, NOLOG
- 1, sharing.htt, NOLOG
- 1, sharlist.htt, NOLOG
- 1, sharperm.htt, NOLOG
- 1, sstartup.htt, NOLOG
- 1, stats.htt, NOLOG
- 1, svcmgr.htt, NOLOG
- 1, useradd.htt, NOLOG
- 1, userdel.htt, NOLOG
- 1, usergrps.htt, NOLOG
- 1, userinfo.htt, NOLOG
- 1, userlist.htt, NOLOG
- 1, usernetw.htt, NOLOG
- 1, userpwd.htt, NOLOG
- 1, webpref.htt, NOLOG
- 1, whowrote.htt, NOLOG
- 1, wrkstadd.htt, NOLOG
- 1, Winmsdp.exe, NOLOG
-
- [Files-WWWRootWebAdmin]
- 1, CpyRight.htm, NOLOG
- 1, Error.htm, NOLOG
- 1, NTAdmin.htm, NOLOG
- 1, NTADMI~1.HTM, NOLOG,RENAME="NtAdminHelp.htm"
- 1, ReadMe.doc, NOLOG
-
- [Files-WWWRootWebAdminExesM]
- 1, rclientm.exe, NOLOG,RENAME="rclient.exe"
-
- [Files-WWWRootWebAdminExesI]
- 1, rclienti.exe, NOLOG,RENAME="rclient.exe"
-
- [Files-WWWRootWebAdminExesA]
- 1, rclienta.exe, NOLOG,RENAME="rclient.exe"
-
- [Files-WWWRootWebAdminExesP]
- 1, rclientp.exe, NOLOG,RENAME="rclient.exe"
-
- [Files-WWWRootWebAdminGraphics]
- 1, ARROWA~1.GIF, NOLOG,RENAME="ArrowAccounts.GIF"
- 1, ARROWD~1.GIF, NOLOG,RENAME="ArrowDevices.gif"
- 1, ARROWE~1.GIF, NOLOG,RENAME="ArrowEvents.GIF"
- 1, ARROWM~1.GIF, NOLOG,RENAME="ArrowMaintenance.gif"
- 1, ARROWP~1.GIF, NOLOG,RENAME="ArrowPrinters.GIF"
- 1, ARROWS~1.GIF, NOLOG,RENAME="ArrowServices.gif"
- 1, ARROWS~2.GIF, NOLOG,RENAME="ArrowSessions.GIF"
- 1, ARROWS~3.GIF, NOLOG,RENAME="ArrowShares.GIF"
- 1, ARROWS~4.GIF, NOLOG,RENAME="ArrowStatus.GIF"
- 1, Bologo.gif, NOLOG
- 1, CORDSL~1.GIF, NOLOG,RENAME="CordsLarge.gif"
- 1, CORDSS~1.GIF, NOLOG,RENAME="CordsSmall.gif"
- 1, EVENTA~1.GIF, NOLOG,RENAME="EventAuditFailure.GIF"
- 1, EVENTA~2.GIF, NOLOG,RENAME="EventAuditSuccess.GIF"
- 1, EVENTE~1.GIF, NOLOG,RENAME="EventError.GIF"
- 1, EVENTI~1.GIF, NOLOG,RENAME="EventInformation.GIF"
- 1, EVENTW~1.GIF, NOLOG,RENAME="EventWarning.GIF"
- 1, ie_anim.gif, NOLOG
- 1, ielogo.gif, NOLOG
- 1, ImgIIS.gif, NOLOG
- 1, INTRO.HTM, NOLOG
- 1, INTROI~1.JPG, NOLOG, RENAME="IntroImage.jpg"
- 1, MINIAR~1.GIF, NOLOG, RENAME="miniarrow.gif"
- 1, Mshplogo.gif, NOLOG
- 1, STATUS~1.GIF, NOLOG, RENAME="StatusBackground.gif"
- 1, STATUS~2.GIF, NOLOG, RENAME="StatusCords.gif"
- 1, STATUS~3.GIF, NOLOG, RENAME="StatusHighBig.gif"
- 1, STATUS~4.GIF, NOLOG, RENAME="StatusHighSmall.gif"
- 1, ST3DB5~5.GIF, NOLOG, RENAME="StatusLowBig.gif"
- 1, ST1D95~5.GIF, NOLOG, RENAME="StatusLowSmall.gif"
- 1, ST3899~5.GIF, NOLOG, RENAME="StatusMedBig.gif"
- 1, ST9A81~5.GIF, NOLOG, RENAME="StatusMedSmall.gif"
- 1, ST5049~5.GIF, NOLOG, RENAME="StatusTitle.gif"
- 1, WATERM~1.GIF, NOLOG,RENAME="watermark.gif"
- 1, WEBADM~1.GIF, NOLOG,RENAME="WebAdminLarge.gif"
- 1, WEBADM~2.GIF, NOLOG,RENAME="WebAdminSmall.gif"
-
- ;---------------------------------------------------------------------------------
- ; end
- ;---------------------------------------------------------------------------------
-
-
- ;---------------------------------------------------------------------------------
- ; Section 4
- ; Web Admin registry keys
- ;
- ;
- ; Information
- ; -----------
- ; 0 - Text
- ; 3 - Binary
- ; 4 - DWORD
- ;
- ;---------------------------------------------------------------------------------
-
-
- [WebAdmin.Add.Reg]
- HKLM,$(!ProductKey),"MajorVersion",4,1
- HKLM,$(!ProductKey),"MajorMinor",4,0
- HKLM,$(!ProductKey),"SSLRequired",4,0
- HKLM,$(!ProductKey),"MaxUsersToDisplay",4,1000
- HKLM,$(!ProductKey)\Limit,"NumUsersLow",4,5
- HKLM,$(!ProductKey)\Limit,"NumUsersHigh",4,25
- HKLM,$(!ProductKey)\Limit,"CPULow",4,50
- HKLM,$(!ProductKey)\Limit,"CPUHigh",4,95
- HKLM,$(!ProductKey)\Limit,"NetwrkLow",4,50
- HKLM,$(!ProductKey)\Limit,"NetwrkHigh",4,90
- HKLM,$(!ProductKey)\Limit,"DiskLow",4,50
- HKLM,$(!ProductKey)\Limit,"DiskHigh",4,90
- HKLM,$(!ProductKey)\Limit,"MemoryLow",4,60
- HKLM,$(!ProductKey)\Limit,"MemoryHigh",4,90
-
- ;---------------------------------------------------------------------------------
- ; end
- ;---------------------------------------------------------------------------------
-