
;
; Installation script for The Norton Enterprise Backup
;

[WindowsVersion]
3.10
"The Norton Enterprise Backup 1.0 requires"
"Windows 3.1 or greater."

[process]
Bitmaps(pix)

switch90 = FALSE

SetActiveCopy(NEBCopy, install.inf)

switch10 = Exists(NWCalls)
switch11 = Exists(NWIpxSpx)
switch14 = Exists(TLI_Win)

Delete(CustomFilesToDelete)
Backup(CustomFilesToBackup)

CallProc(InitCustomDLL)

SelectInstallType()

; Quick Installation
#if(switch91)
   CallProc(QuickInfo)
#endif

; Custom Installation
#if(switch92)
   CallProc(CustomInfo)
#endif


;
;  if (switch43 == TRUE) 
;     Don't copy files to the main server
;

switch43 = TRUE
CallProc(GetNetworkNumbers)
CallProc(GetServers)


#if(switch43)
   switch16 = TRUE
   Copy()
#endif

switch45 = CallProcEx(CopyFilesToServers)
#ifnot(switch45)
   CallProc(CleanupCustomDLL)
   Delete(CustomFilesToDelete)

   #ifnot(switch10)
      Delete(DelNWCalls)
   #endif

   #ifnot(switch11)
      Delete(DelNWIpxSpx)
   #endif

   #ifnot(switch14)
      Delete(DelTLI_Win)
   #endif

   MessageBox(ByeFailure)
   Exit()
#endif

CallProc(SetGroupManagers)
CallProc(DefineMediaLocations)
CallProc(AskBackupRequests)
CallProc(DefaultParameters)
CallProc(ConfigureClientDistribution)

#if(switch43)
   CallProc(SetupForLocalCopy)
   #if(switch15)
      switch13 = TRUE
      TargetDrive()
      switch16 = FALSE
      Copy()
      Groups()
      CallProc(CleanupAfterLocalCopy)
   #endif
#endif

CallProc(ShowEndWaitWindow)

AddToIni(SoundSupport)

CallProc(CopyOBMToMainServer)
switch90 = TRUE
CallProc(CleanupCustomDLL)

Delete(CustomFilesToDelete)

#ifnot(switch10)
   Delete(DelNWCalls)
#endif

#ifnot(switch11)
   Delete(DelNWIpxSpx)
#endif

#ifnot(switch14)
   Delete(DelTLI_Win)
#endif

#if(switch43)
   EndNoRestart(ByeSuccess)

   End()
#endif
Exit

[InstallVersion]
3.3


[NEBCopy]
copymain.BaseFiles,     "The Norton Enterprise Backup", 0, Y, N, N
copymain.NEBFiles,      "The Norton Enterprise Backup", 0, N, N, N


[NEBCopy:Primary]
caption = "The Norton Enterprise Backup User Interfaces"
button1 = "DOS interface"
button2 = "Windows interface"
text = PrimaryText
DisableButtons = o

[PrimaryText]
"This is primary text."


[NEBCopy:TypeSelect]
count = 2
caption = "The Norton Enterprise Backup v1.0"
text = "Please select the type of install you would like to perform."
grouptext = " Install Types "
button1 = "&Quick"
button2 = "&Custom"
descrip1 = "Perform the basic installation. You can configure The Norton Enterprise Backup domain later using the client interfaces."
descrip2 = "Perform the basic installation and configure The Norton Enterprise Backup domain at this time."

[NEBCopy:CopyDialog]
caption = "The Norton Enterprise Backup - Copying Files"
posx = -10
posy = -10

[AdvoDefault]
posx = 20
posy = 80
text = AdvoText

[AdvoText]
"Please take a moment to complete the Registration Card"
"included with your product and return it to Symantec."
"This will ensure that you receive future product announcements"
"and important notices. It will also qualify you for any"
"discounts on future upgrades."
""
"Thank you for purchasing The Norton Enterprise Backup!"

[FileCopy]
errorcaption    =   "Error Copying Files"
insertcaption   =   "Insert Diskette"

[errors]
noprev      =   "Symantec Install for Windows is already running!"

[cancel]
caption     =   "The Norton Enterprise Backup"
text        =   "Are you sure you want to exit?"

[cancelshell]
caption = "The Norton Enterprise Backup"
text = "You have selected to cancel Install.\nIn order to reset the Windows\nenvironment, Install will also close Windows.\nAre you sure you want to exit?"

[pix]
COLOR = %s\NEBWIN.BMP, 1, 1

[ByeFailure]
caption="The Norton Enterprise Backup - Installation Failed"
"The install of The Norton Enterprise Backup was not successful. In order to use this product you must re-run this installer."

[InitCustomDLL]
DLL=NEBINST.DLL
FUNCTION=InitCustomDLL

[QuickInfo]
DLL=NEBINST.DLL
FUNCTION=QuickInfo

[CustomInfo]
DLL=NEBINST.DLL
FUNCTION=CustomInfo

[GetServers]
DLL=NEBINST.DLL
FUNCTION=GetServers

[SetGroupManagers]
DLL=NEBINST.DLL
FUNCTION=SetGroupManagers

[CleanupCustomDLL]
DLL=NEBINST.DLL
FUNCTION=CleanupCustomDLL

[CopyOBMToMainServer]
DLL=NEBINST.DLL
FUNCTION=CopyOBMToMainServer

[ExitHookProc]
DLL=NEBINST.DLL
FUNCTION=CleanupCustomDLL

[CustomFilesToBackup]
NEB.OBM, C:\NEB.OBM, SOURCE, DUMMY
NEB.OBX, C:\NEB.OBX, SOURCE, DUMMY
NEBINST.DLL, NEBINST.DLL, SOURCE, WINDOWS
NEBCTRLS.DLL, NEBCTRLS.DLL, SOURCE, WINDOWS
TLI_WIN.DLL, TLI_WIN.DLL, SOURCE, WINDOWS
NWCALLS.DLL, NWCALLS.DLL, SOURCE, WINDOWS
NWIPXSPX.DLL, NWIPXSPX.DLL, SOURCE, WINDOWS

[CustomFilesToDelete]
C:\NEB.OBM, DUMMY
C:\NEB.OBX, DUMMY
NEBINST.DLL, WINDOWS
NEBCTRLS.DLL, WINDOWS

[CopyFilesToServers]
DLL=NEBINST.DLL
FUNCTION=CopyFilesToServers

[SetupPROGMANItems]
DLL=NEBINST.DLL
FUNCTION=SetupPROGMANItems

[AskBackupRequests]
DLL=NEBINST.DLL
FUNCTION=AskBackupRequests

[DefineMediaLocations]
DLL=NEBINST.DLL
FUNCTION=DefineMediaLocations

[ConfigureClientDistribution]
DLL=NEBINST.DLL
FUNCTION=ConfigureClientDistribution

[DefaultParameters]
DLL=NEBINST.DLL
FUNCTION=DefaultParameters

[ShowEndWaitWindow]
DLL=NEBINST.DLL
FUNCTION=ShowEndWaitWindow

[GetNetworkNumbers]
DLL=NEBINST.DLL
FUNCTION=GetNetworkNumbers

[SetupForLocalCopy]
DLL=NEBINST.DLL
FUNCTION=SetupForLocalCopy

[CleanupAfterLocalCopy]
DLL=NEBINST.DLL
FUNCTION=CleanupAfterLocalCopy

[SoundSupport]
IniName=WIN.INI
SectionName=sounds
NEBExit="chimes.wav,The Norton Enterprise Backup Exit"
NEBDrop="<none>,The Norton Enterprise Backup Object Drop"
NEBStart="tada.wav,The Norton  Start"

[Groups]
"Norton Enterprise Backup", NEB.GRP

[Norton Enterprise Backup]
"Norton Enterprise Backup", NEBW.EXE, BaseFiles
"Norton Enterprise Backup - DOS", NEB.EXE, BaseFiles, , , NEB.ICO, TARGET
"NEB Release Information", README.TXT, BaseFiles
"NEB Domain Information", DOMAIN.TXT, BaseFiles

[NWCalls]
NWCALLS.DLL, WINDOWS

[NWIpxSpx]
NWIPXSPX.DLL, WINDOWS

[TLI_Win]
TLI_WIN.DLL, WINDOWS

[DelNWCalls]
NWCALLS.DLL, WINDOWS

[DelNWIpxSpx]
NWIPXSPX.DLL, WINDOWS

[DelTLI_Win]
TLI_WIN.DLL, WINDOWS

[TargetDrive]
caption="Local Interface Installation"
defpath=C:\NEB
text="Enter the directory where you wish to copy the Norton Enterprise Backup interfaces."
reqspace="Approximate disk space required"

[ByeSuccess]
caption="Install Successful"
"You have successfully installed The Norton Enterprise Backup. It is recommened that you now reboot this workstation."

[CompressionChars]
LZW="_"
ZIP="!"

