;****************************************************************************
;* Norton Navigator installation Script                                     *
;* FOR VERSION 4.0 OF SYMANTEC INSTALL FOR WINDOWS                          *
;****************************************************************************
;
;    Switch Assignments (from SIWNVGTR.DLL)
;----------------------------
; SWITCH_PREVIOUS         50  -- Previous Dialog
; SWITCH_NEXT             51  -- Next Dialog
; SWITCH_CANCEL           52  -- Exit Install
;
; SWITCH_CUSTOM           63  -- Custom Install
; SWITCH_COMPLETE         64  -- Complete Install
;
; SWITCH_DEFAULT          67  -- Default install location
; SWITCH_OTHER            68  -- New install location
;
; SWITCH_DESELECT         71  -- No disk space, deselect components
; SWITCH_CHANGEDRIVE      72  -- No disk space, change drive
;
; SWITCH_REBOOT           73  -- Reboot when done
; SWITCH_NOREBOOT         74  -- Don't reboot when done
;
; SWITCH_NOROOM           76  -- No space on Windows drive
;
; SWITCH_PREVIOUSVER      78  -- Previously installed
;
; SWITCH_ADDPATH          79  -- Add install path to autoexec.bat
;
; SWITCH_FLOPPY           80  -- Is a diskette in the drive.
;
; SWITCH_GENERIC_YES       83 -- Selected Yes
; SWITCH_GENERIC_NO        84 -- Selected No
;
; SWITCH_IMPORTER          85 -- Install Desktop Importer
; SWITCH_WALLPAPER         86 -- Install Wallpaper
;
; SWITCH_                  88 -- Result of version search
; SWITCH_VERSIONCHECKED    89 -- Already checked version stuff

;     Switches used internally only
;-----------------------------------------
;                          20 -- Restore Defaults?
;                          21 -- Install DT Importer
;                          22 -- Install SymEvnt
;                          23 -- Install Wallpaper

;     Target Assignments
;------------------------
; TARGET    - Norton Navigator directory
; TARGET2   - Symantec shared components
; TARGET3   - 8.3 version of Symantec shared components dir
; TARGET4   - 8.3 version of Norton Navigator dir
; TARGET5   - Misc. (redefinable)


[InstallVersion]
4.0

[process]
EnableForceWrite()
EnableOverwrite()

;//////////////////////////////
;// Background Bitmaps
;//////////////////////////////

Bitmaps(Pix_Navigator)

;//////////////////////////////
;// Initialization
;//////////////////////////////
switch53=IsInstallShell()
#ifnot(switch53)
   SaveRegistry(SaveRegGroup)
#endif

switch89=FALSE
SetActiveCopy(NavigatrCopy, install.inf)
Backup(CustDLLCopy)
CallProc(UnattribSetup)
DisableHelp()
CallProc(Memory)
CallProc(RestoreNavVxDKey)
CallProc(RestoreSymevnt)

;////////////////////////////////
;//  V E R S I O N   C H E C K
;////////////////////////////////
WizardPanel(WizWrongVersion, siwnvgtr.dll)
switch99 = IsWinVerGTE(0395)   ; Check if running under Win 95
#ifnot(switch99)
       WizardProcessPanel()
       Exit()
#endif

;/////////////////////////////////////////////////////////////////////
;//  C H E C K   F O R   S P A C E   O N   W I N D O W S   D R I V E
;/////////////////////////////////////////////////////////////////////
;WizardPanel(WizNoWinSpace, siwnvgtr.dll)
;CallProc(CheckWinSpace)
;#if(switch76)
;    WizardProcessPanel()
;    Exit()
;#endif

;////////////////////////////////
;//  W E L C O M E  D I A L O G
;////////////////////////////////
WizardPanel(WizWelcome, siwnvgtr.dll)
WizardProcessPanel()

;WizardPanel(WizRequiredIntro, siwnvgtr.dll)
;WizardProcessPanel()
;WizardPanel(WizRequired, siwnvgtr.dll)
;WizardProcessPanel()
;MakeFilesReadWrite(ReadWriteQPD)
;WizardExcludePanel(WizRequiredIntro)
;WizardExcludePanel(WizRequired)

;WizardPanel(WizRequiredSuccess, siwnvgtr.dll)
;WizardProcessPanel()
;WizardExcludePanel(WizRequiredSuccess)

WizardPanel(WizLicense, siwnvgtr.dll)
WizardProcessPanel()

;//////////////////////////////////////////////////////////
;// S E A R C H   F O R  P R E V I O U S  V E R S I O N S
;//////////////////////////////////////////////////////////
#ifnot(switch89)
   switch88=CallProcEx(SetTargetToAlreadyInstalled)
   #ifnot(switch88)
;      VersionSearch(VersionSearch)
   #else
      switch88=Exists(ExistsFDLG4)
      #ifnot(switch88)
;         VersionSearch(VersionSearch)
      #endif
   #endif

   GetPrevVerSize()

   switch33 = Exists(ExistsFDLG4)
   #if(switch33)
      switch33=CallProcEx(AlreadyInstalled)
   #else
      CallProcEx(SetDefaultDir)
   #endif

   #if(switch33)
      WizardExcludePanel(WizSpecifyLocation);
      WizardIncludePanel(WizSpecifyLocation_AlreadyExists);

      switch89=TRUE
      WizardGotoPanel(WizSpecifyLocation_AlreadyExists)
   #else
      WizardIncludePanel(WizSpecifyLocation);
      WizardExcludePanel(WizSpecifyLocation_AlreadyExists);

      switch89=TRUE
      WizardGotoPanel(WizSpecifyLocation)
   #endif

#endif

;/////////////////////////////////////////////////////////////////////
;// D E F A U L T   O R   O T H E R   I N S T A L L   L O C A T I O N
;/////////////////////////////////////////////////////////////////////

WizardPanel(WizSpecifyLocation_AlreadyExists, siwnvgtr.dll)
WizardIncludePanel(WizNoDiskSpace)
WizardProcessPanel()

WizardPanel(WizSpecifyLocation, siwnvgtr.dll)
WizardIncludePanel(WizNoDiskSpace)
WizardProcessPanel()

;////////////////////////////////////////////
;// O P T I O N A L   C O M P O N E N T S
;////////////////////////////////////////////

WizardPanel(WizOptionalComponents, siwnvgtr.dll)

SelectOption(RequiredFiles)

WizardProcessPanel()
switch21=CallProcEx(bInstallImporter)
#if(switch21)
   SelectOption(MigrationWizard)
#else
   DeselectOption(MigrationWizard)
#endif
switch23=CallProcEx(bInstallWallpaper)
#if(switch23)
   SelectOption(Wallpaper)
#else
   DeselectOption(Wallpaper)
#endif


;////////////////////////////////////////////
;// C H E C K   F O R   D R I V E S P A C E
;////////////////////////////////////////////
:checkspace
CallProcEx(SetTarget2ToSymantecDir)
switch71 = FALSE
switch72 = FALSE

WizardPanel(WizNoDiskSpace, siwnvgtr.dll)
switch98 = CheckDiskSpace(TARGET)   ; Selected components fit on target?
#ifnot(switch98)
   WizardProcessPanel(); Display error if not
#else
        WizardExcludePanel(WizNoDiskSpace)
#endif

#if(switch71)
    Exit()
#endif
#if(switch72)
   WizardGotoPanel(WizSpecifyLocation)            ; Select another drive to install to
#endif

;////////////////////////////////////////////////////////////////
;// C R E A T E   S H O R T   N A M E S   F O R   T A R G E T S
;////////////////////////////////////////////////////////////////
:CreateShortName
CallProcEx(GetShort)          ;set TARGET4 to 8.3 version of TARGET

;////////////////////////////////////////////////////////////////
;// C R E A T E   T A R G E T   D I R E C T O R Y
;////////////////////////////////////////////////////////////////
CreateDirectory(CreateTargetDirectory)
CreateDirectory(CreateSharedDirectory)

;////////////////////////////////////////
;// R E S T O R E   D E F A U L T S ?
;////////////////////////////////////////
:RestoreDefaultsDialog
WizardPanel(WizRestoreDefaults, siwnvgtr.dll)

;Delete Navigator registry keys before updating
switch33 = FALSE
switch33 = Exists(ExistsFDLG4)

#if(switch33)
   switch33=CallProcEx(AlreadyInstalled)
   #if(switch33)
      CallProc(CheckForOldVersions)
      WizardProcessPanel()
      switch20=CallProcEx(bRestoreDefaults)
   #else
      switch20=TRUE
      WizardExcludePanel(WizRestoreDefaults)
   #endif
#else
   switch20=TRUE
   WizardExcludePanel(WizRestoreDefaults)
#endif

CallProcEx(GetShort)          ;set TARGET4 to 8.3 version of TARGET
#if(switch20)
   Delete(DelPrevSettings)
   CallProc(DelRegKeyNavigator)
   CallProc(DeleteNavigatorGroup)
#endif

;////////////////////////////////////////
;// C O P Y   F I L E S   D I A L O G
;////////////////////////////////////////
:CopyFilesDialog
WizardPanel(WizCopyFiles)
WizardProcessPanel()

;////////////////////////////////////////
;//        C O P Y   F I L E S
;////////////////////////////////////////
DisableUtils()
:CheckForDisk1
switch53=Exists(IsDisk1)
#ifnot(switch53)
   MessageBox(InsertDisk1)
   goto(CheckForDisk1)
#endif
switch22=CallProcEx(bInstallSymEvnt)
Copy()
EnableUtils()
CallProc(OverwriteSymevnt)
;Backup(CopyCtl3d)

;//////////////////////////////
;// Create program groups
;//////////////////////////////
ResetTarget(TutorialDir)
;CallProc(CreateTutorialLink)
CallProcEx(GetShort)          ;set TARGET4 to 8.3 version of TARGET
EnableWin95Shell()
Groups(NavigatorGroups)

;//////////////////////////////
;// Update Registry
;//////////////////////////////
#ifnot(switch20)
   #if(switch10)
      CallProc(Update1_0)
      CallProc(MoveIndexRegkeys)
      CallProc(EncryptFTPPasswords)
      CallProc(UpdateClearMenuLinks)
      CallProc(UpdateFassistRegistry)
   #else
      #if(switch11)
         CallProc(MoveIndexRegkeys)
         CallProc(EncryptFTPPasswords)
         CallProc(UpdateClearMenuLinks)
         CallProc(UpdateFassistRegistry)
      #endif
   #endif
#endif

CallProcEx(GetShort)          ;set TARGET4 to 8.3 version of TARGET
CallProc(RegisterUserInfo)
CallProc(AddRegistryInfo)
CallProc(StoreOriginalDesktop)

;///////////////////////////////////////////
;// Add Taskbar and Config to Run Once if needed
;///////////////////////////////////////////
#if(switch20)
   CallProc(CreateRunHistory)
   CallProc(AddRunOnce)
   CallProcEx(AddWelcomeToRun)
#else
   CallProc(AddConfigApply)
#endif

#if(switch20)
   CallProc(DeleteEMSFiles)
#endif

;////////////////////////////////////////////////////////////
;// Add Navigator dir to Explorer's per-app path
;////////////////////////////////////////////////////////////
CallProcEx(GetShort)          ;set TARGET4 to 8.3 version of TARGET
CallProc(RemoveFromExplorerPath)
CallProc(AddToExplorerPath)
;CallProcEx(GetShort)          ;set TARGET4 to 8.3 version of TARGET
;Backup(BackupAutoexec)
;switch53=CallProcEx(bAutoexecIsZeroLength)
;#if(switch53)
;   Delete(DelEmptyAutoexec)
;#endif
;switch53=Exists(ExistsAutoexec)
;#ifnot(switch53)
;   SilentModifyTF(AddEchoOff)
;#endif
;SilentModifyTF(AddToPath)
;SilentModifyTF(AddSharedToPath)

;//////////////////////////////
;// Update Usage Counts
;//////////////////////////////
CallProcEx(InstallShared)

;////////////////////////////////////
;// P R E P A R E   F O R   E X I T
;////////////////////////////////////
;  TECH SUPPORT DIALOGS
WizardPanel(WizTechSupport, siwnvgtr.dll)
WizardProcessPanel()

WizardPanel(WizHowToReach, siwnvgtr.dll)
WizardProcessPanel()

WizardPanel(WizCrossSell, siwnvgtr.dll)
WizardProcessPanel()

;  ONLINE REGISTRATION DIALOGS
WizardPanel(WizRegisterNow, siwnvgtr.dll)
WizardIncludePanel(WizSendRegistration)
WizardIncludePanel(WizOnlineMarketing)
WizardIncludePanel(WizOnlineRegistration)
WizardSetSkip(WizRegisterNow, WizFinished)
WizardSetSkip(WizFinished, WizFinished)
WizardProcessPanel()
WizardPanel(WizOnlineRegistration, siwnvgtr.dll)
WizardSetSkip(WizOnlineRegistration, WizFinished)
WizardSetSkip(WizFinished, WizFinished)
WizardProcessPanel()
WizardPanel(WizOnlineMarketing, siwnvgtr.dll)
WizardSetSkip(WizOnlineMarketing, WizFinished)
WizardSetSkip(WizFinished, WizFinished)
WizardProcessPanel()
WizardPanel(WizSendRegistration, siwnvgtr.dll)
WizardSetSkip(WizSendRegistration, WizFinished)
WizardSetSkip(WizFinished, WizFinished)
WizardProcessPanel()

;  SEE YA' DIALOG
WizardPanel(WizFinished, siwnvgtr.dll)
WizardExcludePanel(WizSendRegistration)
WizardExcludePanel(WizOnlineMarketing)
WizardExcludePanel(WizOnlineRegistration)
WizardSetSkip(WizFinished, WizFinished)
WizardProcessPanel()
switch73 = TRUE ;force reboot

;/////////////////////////////////////////////////////////////////////
;// C H E C K   F O R   F L O P P Y   B E F O R E   R E B O O T I N G
;/////////////////////////////////////////////////////////////////////

:CheckForFloppy
;WizardPanel(WizFloppyDialog, siwnvgtr.dll)
;#if(switch73)
;        switch80=CallProcEx(IsFloppyInDrive)
;        #if (switch80)
;                WizardProcessPanel()
;                WizardGotoPanel(WizFloppyDialog);
;        #endif
;#endif

;//////////////////////////////
;// C L E A N   U P
;//////////////////////////////
CallProcEx(GetShort)          ;set TARGET4 to 8.3 version of TARGET
delete(Leftovers)
;CallProcEx(RestoreStartup)
CallProcEx(FlushRegistry)
Delete(CustDLLDel)
delete(DeleteInstall)

;//////////////////////////////
;// G O O D B Y E
;//////////////////////////////

#if(switch73)
    ExitRestart()
#else
    Exit()
#endif

End()


;###########################################################################
;###########################################################################

;***************************************************************************
;* SubProc Executed When Install Takes Over As Shell
;***************************************************************************

[subproc]
SaveRegistry(SaveRegGroup)
Delete(WinInitDel)
EnableForceWrite()
EnableOverwrite()
Backup(CustDLLCopy)            ; Copy custom dll to windows dir
CallProc(UnattribSetup)
CallProc(ProcessNavVxDKey)
CallProcEx(RemoveFromRun)
CallProcEx(SuppressSymevnt)
DelFromIni(DelSymevntFromSystemIni)

Return()


;***************************************************************************
;* Dialog Info                                                             *
;***************************************************************************

[VersionSearch]
caption = "Searching for Compatible Product"
text1   = "Searching for a previous installation"
text2   = "of a compatible Symantec product."
appname = "symfdlg4.dll"
apppath = "C:\Program Files\Norton Navigator"

[NavigatrCopy:TypeSelect]
count = 3
caption = "Install Type Selection"
text = "Please select the type of install you wish to perform."
grouptext = "Install Types"
button1 = "&Express Setup"      ;switch91
button2 = "&Minimal Setup"      ;switch92
button3 = "&Custom Setup"       ;switch93
descrip1= "Installs the entire Norton Navigator product using our default settings."
descrip2= "Installs the minimum files needed to run Norton Navigator."
descrip3= "Installs only the components you select."

[NavigatrCopy:Primary]
caption = "Norton Navigator Main Component Selection"
button1 = "Select..."
button2 = "Select..."
button3 = "Select..."
button4 = "Select..."
button5 = "Select..."
text    = PriSelText

[PriSelText]
"Please select the items you wish to install."
"If a selection has a button to the right, you"
"can press it to select individual files or"
"components."

[NavigatrCopy:Component]
caption = "Norton Navigator Component Selection"
text    = "Please select the items you wish to install.  (Checked items will be installed.)"

[TargetDrive]
caption = "Select Installation Directory"
defpath = "C:\Program Files\Norton Navigator"
text    = "Please select the directory to which you wish to install this product."
reqspace= "Approximate disk space required:"

[NoSpace]
caption = "Insufficient Disk Space"
text    = idstext
radio1  = "&Change Drive"
radio2  = "&Deselect Components"
descrip1= "Choose this option to select another drive with sufficient disk space."
descrip2= "Choose this option to deselect components"
AllowContinue= 0

[idstext]
"There is insufficent disk space on the"
"current target drive (%c:).  The drive"
"has %u KB of space available, but the"
"installation will require approximately"
"%u KB.  Please choose one of the options"
"below or exit installation and delete"
"files to free more space."

[NavigatrCopy:CopyDialog]
caption = "Copying files..."
posx = -1
posy = -20


;***************************************************************************
;* Message Text                                                            *
;***************************************************************************

[cancel]
caption = "Exit Install?"
text    = "Are you sure that you want to exit?"

[cancelshell]
caption = "Exit Install?"
"You have chosen to cancel the Install"
"program. In order to reset the Windows"
"environment, Install will also restart"
"Windows. Are you sure you want to exit?"

[FileCopy]
copycaption             = "Installing Files"
errorcaption    = "Error Copying Files"
insertcaption   = "Insert Diskette"
Message                 = MessageText

[bye]
caption = "Installation Complete"
"Norton Navigator has been"
"successfully installed."

[byereboot]
caption = "Installation Complete"
"Norton Navigator has been"
"successfully installed."

[WindowsVersion]
3.10
"This product requires"
"Windows 3.1 or greater."

[NotImplemented]
caption = "Feature Not Implemented"
"This feature has not yet been implemented."

[ExitAtFinish]
caption = "Install Complete"
"Norton Navigator Installation has completed successfully."

[InsertDisk1]
caption="Error"
"Please insert Disk 1."

;***************************************************************************
;* File Exist verifications
;***************************************************************************

[ExistsFDLG4]
symfdlg4.dll, TARGET

[ExistsAutoexec]
c:\autoexec.bat

[IsDisk1]
siwnvgtr.dl_, SOURCE

;***************************************************************************
;* Delete Files                                                            *
;***************************************************************************

[WinInitDel]
wininit.ini,   WINDOWS

[CustDLLDel]
siwnvgtr.dll,  TEMPDIR

[Leftovers]
wnfdlg.reg, TARGET4
fassist.reg, TARGET4
symmenu.reg, TARGET4
wnfm.reg, TARGET4
uninstal.reg, TARGET4
navigatr.reg, TARGET4
addtoreg.exe, TARGET4
setup.siw, WINDOWS
ctl3d32.dll,   TARGET4

[DeleteInstall]
setup.exe,   SYSTEM

[DelPrevSettings]
filemgre.ems, TARGET4
fsvundo.dat, TARGET4

[DelEmptyAutoexec]
C:\AUTOEXEC.BAT

;***************************************************************************
;* External function calls (DLL)                                           *
;***************************************************************************

[StartupDlg]
dll = siwnvgtr.dll
function = StartupDialog

[RescueDlg]
dll = siwnvgtr.dll
function = RescueDialog

[CheckLFNTarget]
dll = siwnvgtr.dll
function = DriveSupportsLFN
location = TARGET

[CheckLFNCDrive]
dll = siwnvgtr.dll
function = DriveSupportsLFN
location = C

[CheckLFNWindows]
dll = siwnvgtr.dll
function = DriveSupportsLFN
location = WINDOWS

[CheckPrevVer]
dll = siwnvgtr.dll
function = CheckPrevVerPath

[UpdateInstFlag]
dll = siwnvgtr.dll
function = UpdateInstalledFlag

[GetShort]
dll = siwnvgtr.dll
function = ConvertToShortName

[ConfigureNU]
dll = siwnvgtr.dll
function = NortonStartUpOptions

[UnErase]
dll = siwnvgtr.dll
function = UnEraseInstall

[ReplaceOldFiles]
dll = siwnvgtr.dll
function = ReplaceOldFilesDialog

[CheckWinSpace]
dll = siwnvgtr.dll
function = WindowsDriveSpace

[RenameInfo]
dll = siwnvgtr.dll
function = RenameInfoDialog

[Memory]
dll = siwnvgtr.dll
function = InitMemory

[Rename]
dll = siwnvgtr.dll
function = RenameNUFiles

[ExitHookProc]
dll = siwnvgtr.dll
function = ReleaseDLL

[DoGroups]
dll = siwnvgtr.dll
function = CreateGroupItems

[IsFloppyInDrive]
dll = siwnvgtr.dll
function = IsFloppyInDrive

[AlreadyInstalled]
dll = siwnvgtr.dll
function = AlreadyInstalled

[SetTargetToAlreadyInstalled]
dll = siwnvgtr.dll
function = SetTargetToAlreadyInstalled

[AddToExplorerPath]
dll = siwnvgtr.dll
function = AddToExplorerPath

[RemoveFromExplorerPath]
dll = siwnvgtr.dll
function = RemoveFromExplorerPath

[DelRegKeyNavigator]
dll = siwnvgtr.dll
function = DelRegKeyNavigator

[DelRegKeyVxD]
dll = siwnvgtr.dll
function = DelRegKeyVxD

[SetDefaultDir]
dll = siwnvgtr.dll
function = SetDefaultDir

[CreateTargetDir]
dll = siwnvgtr.dll
function = CreateTargetDir

[HourglassOn]
dll = siwnvgtr.dll
function = HourglassOn

[HourglassOff]
dll = siwnvgtr.dll
function = HourglassOff

[SetTarget2ToSymantecDir]
dll = siwnvgtr.dll
function = SetTarget2ToSymantecDir

[CreateDesktops]
dll = siwnvgtr.dll
function = CreateDesktops

[DefaultConfig]
dll = siwnvgtr.dll
function = DefaultConfig

[AddWelcomeToRun]
dll = siwnvgtr.dll
function = AddWelcomeToRun

[AreTargetsSame]
dll = siwnvgtr.dll
function = AreTargetsSame

[InstallShared]
dll = siwnvgtr.dll
function = InstallShared

[RemoveFromRun]
dll = siwnvgtr.dll
function = RemoveFromRun

[DeleteDesktops]
dll = siwnvgtr.dll
function = DeleteDesktops

[DeleteQuicklaunch]
dll = siwnvgtr.dll
function = DeleteQuicklaunch

[FlushRegistry]
dll = siwnvgtr.dll
function = FlushRegistry

[TestFunction]
dll=siwnvgtr.dll
function=TestFunction

[SuppressStartup]
dll=siwnvgtr.dll
function=SuppressStartup

[RestoreStartup]
dll=siwnvgtr.dll
function=RestoreStartup

[AddRegistryInfo]
dll=siwnvgtr.dll
function=AddRegistryInfo

[StoreOriginalDesktop]
dll=siwnvgtr.dll
function=StoreOriginalDesktop

[AddRunOnce]
dll=siwnvgtr.dll
function=AddRunOnce

[bRestoreDefaults]
dll=siwnvgtr.dll
function=bRestoreDefaults

[OverwriteSymevnt]
dll=siwnvgtr.dll
function=OverwriteSymevnt

[bInstallImporter]
dll=siwnvgtr.dll
function=bInstallImporter

[bInstallWallpaper]
dll=siwnvgtr.dll
function=bInstallWallpaper

[AddConfigApply]
dll=siwnvgtr.dll
function=AddConfigApply

[ProcessNavVxDKey]
dll=siwnvgtr.dll
function=ProcessNavVxDKey

[RestoreNavVxDKey]
dll=siwnvgtr.dll
function=RestoreNavVxDKey

[UnattribSetup]
dll=siwnvgtr.dll
function=UnattribSetup

[bInstallSymEvnt]
dll=siwnvgtr.dll
function=bInstallSymEvnt

[bAutoexecIsZeroLength]
dll=siwnvgtr.dll
function=bAutoexecIsZeroLength

[CreateRunHistory]
dll=siwnvgtr.dll
function=CreateRunHistory

[SuppressSymevnt]
dll=siwnvgtr.dll
function=SuppressSymevnt

[RestoreSymevnt]
dll=siwnvgtr.dll
function=RestoreSymevnt

[CreateTutorialLink]
dll=siwnvgtr.dll
function=CreateTutorialLink

[DeleteEMSFiles]
dll=siwnvgtr.dll
function=DeleteEMSFiles

[bUserProfilesEnabled]
dll=siwnvgtr.dll
function=bUserProfilesEnabled

[RegisterUserInfo]
dll=siwnvgtr.dll
function=RegisterUserInfo

[CheckForOldVersions]
dll=siwnvgtr.dll
function=CheckForOldVersions

[MoveIndexRegkeys]
dll=siwnvgtr.dll
function=MoveIndexRegkeys

[EncryptFTPPasswords]
dll=siwnvgtr.dll
function=EncryptFTPPasswords

[UpdateClearMenuLinks]
dll=siwnvgtr.dll
function=UpdateClearMenuLinks

[UpdateFassistRegistry]
dll=siwnvgtr.dll
function=UpdateFassistRegistry

[Update1_0]
dll=siwnvgtr.dll
function=Update1_0

[DeleteNavigatorGroup]
dll=siwnvgtr.dll
function=DeleteNavigatorGroup

;***************************************************************************
;* Misc install functions                                                  *
;***************************************************************************

[Pix_Navigator]
color = %s\bigblu.rle
color = %s\compass.rle, 5, 5
color = %s\symantec.rle, -1, -1

[NavigatrCopy:Advo]
posx = 20
posy = 20
location = siwnvgtr.dll
count = 2
BitmapsOnly=1

[SaveRegGroup]
WINDOWS, system.nn, user.nn

[SymevntInSystemIni]
IniName=system.ini
SectionName=386Enh
device=*symevnt.386*

[DelSymevntFromSystemIni]
IniName=system.ini
SectionName=386Enh
device=*symevnt.386*

[ReadWriteQPD]
siw.qpd, TEMPDIR

;***************************************************************************
;* Set Directories                                                         *
;***************************************************************************

[CreateTargetDirectory]
%s, TARGET

[CreateSharedDirectory]
%s, TARGET2

[TutorialDir]
reset = TARGET5
location = %s\TUTORIAL, SOURCE

;***************************************************************************
;* File backup                                                             *
;***************************************************************************

[CustDLLCopy]
siwnvgtr.dll, siwnvgtr.dll, SOURCE, TEMPDIR

[BackupAutoexec]
c:\autoexec.bat, c:\autoexec.siw

[CopyCtl3d]
ctl3d32.dll, ctl3d32.dll, SYSTEM, TARGET

;***************************************************************************
;* Autoexec Mods                                                           *
;***************************************************************************

[AddEchoOff]
filespec = c:\autoexec.bat
filetype = autoexec
Create=1
CreateText= "@echo off"

[AddToPath]
filespec = c:\autoexec.bat
filetype = autoexec
Create=1
AddPath = TARGET4

[AddSharedToPath]
filespec = c:\autoexec.bat
filetype = autoexec
Create=1
AddPath = TARGET3

;***************************************************************************
;* SetShell section                                                        *
;***************************************************************************

[SetShell]
WinIniName = win.ini
SystemIniName = system.ini
Message = MessageBox.SetShellMessage
SysSectionName = boot
WinSectionName = windows
shell = %s\setup.exe
load =
run =
SetShellIfLoaded=
Backup = Backup.SetShellSave
Restore = Backup.SetShellRestore
Active=no
IfActiveList=LoadedList
SubProcess=SubProc

[SetShellSave]
win.ini, win.siw, WINDOWS, WINDOWS
system.ini, system.siw, WINDOWS, WINDOWS

[SetShellRestore]
system.siw, system.ini, WINDOWS, WINDOWS
win.siw, win.ini, WINDOWS, WINDOWS

[LoadedList]
s32evnt1.dll
s32fat8.dll
s32krnl8.dll
s32util8.dll
salthk16.dll
salthk32.dll
symevnt.386
symevnt1.dll
symkrnl8.dll
symkrnl8.vxd
tkke168.dll
tkke328.dll
ueclib.dll
dtsdll.dll
fassist.dll
fahook.dll
fassist.exe
filearch.exe
filemgr.exe
fvhex.dll
menucomp.dll
migrate.exe
nnconfig.exe
nnloader.exe
nnwelcm.exe
ntaskbar.exe
qminit.dll
s32butil.dll
s32rap8.dll
sfolders.dll
sfolders.exe
sfshellx.dll
sh30w32.dll
symapasc.exe
symapcmp.exe
symapcom.exe
symapcpd.exe
symapcpy.exe
symapdel.exe
symapenc.exe
symapexp.exe
symapfmt.exe
symaplbl.exe
symaplnk.exe
symapmkd.exe
symapmov.exe
symapprt.exe
symapren.exe
symaprun.exe
symapsyn.exe
symapudo.exe
symapuue.exe
symcred.dll
symdes4.dll
symems32.dll
symfdlg4.dll
symfsv4.dll
symidx32.dll
symidx32.exe
symmenu.dll
symmenu2.dll
symse1.dll
symsm.exe
wnmw16.dll
wnmw32.dll
wntchk.dll

[SetShellMessage]
caption  =  "Norton Navigator for Windows 95 Setup"
"Welcome to the Norton Navigator for"
"Windows 95 Setup.  Please select OK"
"to allow Setup to restart Windows and"
"continue the installation. Press"
"Cancel to exit Setup."


;***************************************************************************
;* Groups                                                                  *
;***************************************************************************

[NavigatorGroups]
"Norton Navigator", navigatr.grp

[Norton Navigator]
; KLUDGE - using 8.3 names to avoid problems with setting working dir using DDE
"Welcome to Norton Navigator",   nnwelcm.exe,      RequiredFiles,,TARGET4,,,,TARGET4
"Release Notes",                 readme.txt,       RequiredFiles,,TARGET4,,,,TARGET4
"Norton Navigator Control Center",  nnconfig.exe,  RequiredFiles,,TARGET4,,,,TARGET4
"Norton File Manager",           filemgr.exe,      RequiredFiles,,TARGET4,,,,TARGET4
"Norton FastFind",               filemgr.exe,      RequiredFiles, 80, TARGET4, filemgr.exe, TARGET4, "/SF", TARGET4
"File Archive Wizard",           filearch.exe,     RequiredFiles,,TARGET4,,,,TARGET4
"Norton Undo",                   symapudo.exe,     RequiredFiles,,TARGET4,,,,TARGET4
"Norton Taskbar",                ntaskbar.exe,     RequiredFiles,,TARGET4,,,,TARGET4
"Desktop Importer",              migrate.exe,      MigrationWizard,,TARGET4,,,,TARGET4
;"Tutorial",                tutorial.exe,       RequiredFiles, 1,TARGET5,siwnvgtr.dll,TARGET4,,TARGET5
;***************************************************************************
;* Copy                                                                    *
;***************************************************************************

[NavigatrCopy]
;SelectionType.ComponentName,   "SelectionDlgText",                                             Size,   Required?,<Files>?,ShowItem?

CopyMain.RequiredFiles,                 "Required Files - %ldK",               0,                       Y,                              N,              Y

CopyMain.MigrationWizard,               "Desktop Importer - %ldK",                                 0,                   N,                      N,            Y
CopyMain.Wallpaper,               "Wallpaper - %ldK",                                 0,                   N,                      N,            Y

;***************************************************************************
;* Taskbar - Default Desktops and Quicklaunch                              *
;***************************************************************************

[Quicklaunch]
;filename   = Description
filemgr.exe = "Norton File Manager"
nnconfig.exe= "Norton Navigator Control Center"

[Desktops]
Norton Navigator Desktop

[Norton Navigator Desktop]
;filename   = Desc.,                               Cmd. Line,  x, y, icon
nnwelcm.exe = "Welcome to Norton Navigator",                ,  2, 1
readme.txt  = "Norton Navigator Release Notes",             ,  2, 2
nnconfig.exe= "Norton Navigator Control Center",            ,  3, 1
filemgr.exe = "Norton File Manager",                        ,  4, 1
filemgr.exe = "Norton FastFind",                   "/SF",      4, 2, 80
filearch.exe= "File Archive Wizard",                        ,  4, 3
folder      = "Norton Applets",                             ,  5, 1
symapudo.exe= "Norton Undo",                                ,  5, 2
ntaskbar.exe= "Norton Taskbar",                             ,  6, 1
migrate.exe = "Desktop Importer",                           ,  6, 2
;tutorial.lnk= "Tutorial",                             ,  2, 3
Wallpaper = "nn.bmp"
;BkgndColor = "Dark Blue", "Filler", 0, 0, 128

[Norton Applets]
symapasc.exe= "Associate Files"
symapcmp.exe= "Norton Zip"
symapcom.exe= "Compare Files"
symapcpd.exe= "Copy Disk"
symapcpy.exe= "Copy Files"
symapdel.exe= "Delete Files"
symapenc.exe= "Encrypyt-Decrypt Files"
symapexp.exe= "Norton UnZip"
symapfmt.exe= "Format Disk"
symaplbl.exe= "Label Disk"
symaplnk.exe= "Create Shortcut"
symapmkd.exe= "Create Folder"
symapmov.exe= "Move Files"
symapprt.exe= "Print"
symapren.exe= "Rename Files"
symaprun.exe= "Run File"
symapsyn.exe= "Synchronize Folders"
symapuue.exe= "UUEncode Files"

;***************************************************************************
;* Wizard Panels                                                           *
;***************************************************************************
[WizWrongVersion]
Caption="Norton Navigator for Windows 95 Setup"
Title="Incorrect Version"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
ResourceId=102
Bitmap16=666
PanelFlags=First+Last

[WizNoWinSpace]
Caption="Norton Navigator for Windows 95 Setup"
Title="Low Disk Space"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
ResourceId=108
Bitmap16=666
PanelFlags=First+Last

[WizWelcome]
Caption="Norton Navigator for Windows 95 Setup"
Title="Welcome to Norton Navigator"
DlgProc=WelcomeDlgProc
PanelDataProc=WelcomeDataProc
Bitmap16=666
ResourceId=501
PanelFlags=First

[WizRequired]
Caption="Norton Navigator for Windows 95 Setup"
Title="Files Required For Upgrade"
DlgProc=_RequiredDlgProc@16
PanelDataProc=_RequiredDataProc@0
Bitmap16=666
ResourceId=508

[WizRequiredIntro]
Caption="Norton Navigator for Windows 95 Setup"
Title="Files Required For Upgrade"
DlgProc=_RequiredDlgProc@16
PanelDataProc=_RequiredDataProc@0
Bitmap16=666
ResourceId=509

[WizRequiredSuccess]
Caption="Norton Navigator for Windows 95 Setup"
Title="Required File Found"
DlgProc=_RequiredDlgProc@16
PanelDataProc=_RequiredDataProc@0
Bitmap16=666
ResourceId=552

[WizLicense]
Caption="Norton Navigator for Windows 95 Setup"
DlgProc=_LicenseDlgProc@16
PanelDataProc=_LicenseDataProc@0
ResourceId=502

[WizTechSupport]
Caption="Norton Navigator for Windows 95 Setup"
Title="Symantec Support Solutions"
DlgProc=_TechSupDlgProc@16
Bitmap16=207
ResourceId=507
PanelFlags=First

[WizSpecifyLocation_AlreadyExists]
Caption="Norton Navigator for Windows 95 Setup"
Title="Program Location"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
Bitmap16=666
ResourceId=135

[WizSpecifyLocation]
Caption="Norton Navigator for Windows 95 Setup"
Title="Program Location"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
Bitmap16=666
ResourceId=118

[WizOptionalComponents]
Caption="Norton Navigator for Windows 95 Setup"
Title="Optional Components"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
Bitmap16=666
ResourceId=136

[WizNoDiskSpace]
Caption="Norton Navigator for Windows 95 Setup"
Title="Low Disk Space"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
Bitmap16=666
ResourceId=106
PanelFlags=First

[WizRestoreDefaults]
Caption="Norton Navigator for Windows 95 Setup"
Title="Restore Default Settings?"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
Bitmap16=666
ResourceId=134

[WizCopyFiles]
Caption="Norton Navigator for Windows 95 Setup"
Title="Setup Review"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
Bitmap16=666
ResourceId=128

[WizFinished]
Caption="Norton Navigator for Windows 95 Setup"
Title="Setup Complete"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
Bitmap16=666
ResourceId=130
PanelFlags=Last+Finish

[WizFloppyDialog]
Caption="Norton Navigator for Windows 95 Setup"
Title="Remove Floppy Diskette"
DlgProc=RaptorDlgProc
PanelDataProc=DefaultDataProc
Bitmap16=666
ResourceId=109
PanelFlags=Last+First+Finish

[WizOnlineRegistration]
Caption="Norton Navigator for Windows 95 Setup"
DlgProc=_UsaRegDlgProc@16
PanelDataProc=_UsaRegDataProc@0
ResourceId=505
PanelFlags=Skip

[WizOnlineMarketing]
Caption="Norton Navigator for Windows 95 Setup"
DlgProc=_MarketingDlgProc@16
PanelDataProc=_MarketingDataProc@0
ResourceId=506
PanelFlags=Skip

[WizSendRegistration]
Caption="Norton Navigator for Windows 95 Setup"
Title="Send Us Your Form"
DlgProc=_SendRegDlgProc@16
PanelDataProc=_SendRegDataProc@0
ResourceId=514
Bitmap16=214
PanelFlags=Skip

[WizRegisterNow]
Caption="Norton Navigator for Windows 95 Setup"
Title="Register Now"
DlgProc=_RegNowDlgProc@16
PanelDataProc=_RegNowDataProc@0
ResourceId=504
Bitmap16=204
PanelFlags=Skip

[WizCrossSell]
Caption="Norton Navigator for Windows 95 Setup"
Title="Windows 95 Solutions"
DlgProc=_CrossSellDlgProc@16
PanelDataProc=_CrossSellDataProc@0
ResourceId=512
Bitmap16=212

[WizHowToReach]
Caption="Norton Navigator for Windows 95 Setup"
Title="How to Reach Us"
DlgProc=_ReachDlgProc@16
ResourceId=513
Bitmap16=213
