;//////////////////////////////////////////////////////
;//  Norton Utilities for Windows 95 Product         //
;//  Install Script                                  //
;//                                                  //
;//  FOR VERSION 4.0+ OF SYMANTEC SETUP FOR WINDOWS  //
;//////////////////////////////////////////////////////
;
;    Switch Assignments
;----------------------------
;   45  -- install type logic
;   49  -- intl char
;   60  -- Put SmartCan in Startup Group
;   61  -- Put System Doctor in Startup Group
;   63  -- Custom Install
;   64  -- Complete Install
;   67  -- Default install location
;   68  -- New install location
;   69  -- Make rescue disk
;   71  -- No disk space, deselect components
;   72  -- No disk space, change drive
;   73  -- Reboot when done
;   74  -- Don't reboot when done
;   75  -- Rename old DOS utilities
;   76  -- No space on Windows drive
;   77  -- Rename DOS files
;   78  -- Previously installed
;   79  -- Add install path to autoexec.bat
;   80  -- Is a diskette in the drive.
;   81  -- A older smartcan dir was found.
;   85  -- GUI Debug
;   86  -- QA Debug
;   87

[InstallVersion]
4.0

[Process]
EnableForceWrite()
EnableOverwrite()
SetInternalFlag(1)
Bitmaps(Pix)                   
DisableHelp()                  

Backup(CustDLLCopy)            

CallProc(Memory)                       ;///////////////////////
CallProc( RESTORENAV )                 ;// INITIALIZE  MEMORY
;switch99=CallProcEx(SymEventExists)    ;///////////////////////
;#if(switch99)
;    CallProc(RenameSymEventVXDBack)
;#endif
                                       
switch85 = FALSE  ; ui 
switch86 = FALSE  ; qa  
switch87 = TRUE   ; QPD/SKU

WizardPanel(WrongVersion, siwnu.dll)   ;////////////////////////////////
switch99 = IsWinVerGTE(0395)           ;//  V E R S I O N   C H E C K
#ifnot(switch99)                       ;////////////////////////////////
    WizardProcessPanel()
    Exit()      
#endif    

SetActiveCopy(NUCopy, install.inf)

WizardPanel(NoWinSpace, siwnu.dll)     ;////////////////////////////
CallProc(CheckWinSpace)                ;//  SPACE ON WINDOWS DRIVE
#if(switch76)                          ;////////////////////////////
    WizardProcessPanel()
    Exit()    
#endif    
    
WizardPanel(Welcome, siwnu.dll)        ;///////////////////
WizardProcessPanel()                   ;//  W E L C O M E  
                                       ;///////////////////

WizardPanel(License, siwnu.dll)        ;///////////////////
WizardProcessPanel()                   ;//  L I C E N S E  
                                       ;///////////////////

#if(switch87)                          ;/////////////////////    
    switch99 = Exists(Tomahawk)        ;//  R E Q U I R E D      
    #ifnot(switch99)                   ;/////////////////////   
        WizardGotoPanel(InstallType)
    #endif
    WizardPanel(RequiredIntro, siwnu.dll)
    WizardProcessPanel()
    WizardPanel(Required, siwnu.dll)    
    WizardProcessPanel()
    WizardPanel(RequiredSuccess, siwnu.dll)    
    WizardProcessPanel()
#endif

WizardPanel(InstallType, siwnu.dll)    ;///////////////////
WizardExcludePanel(RequiredIntro)      ;//  I N S T A L L
WizardExcludePanel(Required)           ;///////////////////
WizardExcludePanel(RequiredSuccess)
WizardProcessPanel()                   
switch45= FALSE;                       

#if(switch64)
    SelectOption(diskedit)
    SelectOption(ndiags)
    SelectOption(ndd)
    SelectOption(rescue)
    SelectOption(spacewiz)
    SelectOption(speedisk)
    SelectOption(unerase)
    SelectOption(unformat)
    SelectOption(imagew)
    SelectOption(nddw)
    SelectOption(rescuew)
    SelectOption(sdw)
    SelectOption(spacewiz)
    SelectOption(sysinfow)
    SelectOption(sysdocw)
    SelectOption(unerasew)
    SelectOption(ndrvex)
#endif

WizardPanel(SearchInfo, siwnu.dll)     ;/////////////////
WizardProcessPanel()                   ;// S E A R C H   
WizardExcludePanel(SearchInfo)         ;/////////////////

:FindSmartCanDlg
WizardPanel(FindSmartCanDialog, siwnu.dll)
CallProc( FindSmartCan )               ;////////////////////
#if (switch81)                         ;// S M A R T C A N   
   WizardProcessPanel()                ;////////////////////
#else    
   WizardExcludePanel(FindSmartCanDialog)    
#endif    
    
    
    

:TargetDirs
switch02 = CallProcEx(CheckLFNTarget)  ;///////////////////
switch03 = CallProcEx(CheckLFNCDrive)  ;//  T A R G E T S  
switch04 = CallProcEx(CheckLFNWindows) ;///////////////////

#ifnot(switch02)
   ResetTarget(TargetExt)      ; Set 8.3 application extensions folder
#endif

switch99 = CallProcEx(FindSharedComponents) 
#ifnot(switch99)                       ;////////////////////     
   #ifnot(switch03)                    ;// S H A R E D I R       
      GetSymantecDir()                 ;////////////////////
      ResetTarget(TargetShared)
   #endif                              
#endif                                 
                                       
GetPrevVerSize()                       
switch98 = TRUE 

WizardPanel(Bogus, siwnu.dll)          ;//////////////////////
#if(switch45)                          ;// SELECT COMPONENTS
   WizardGotoPanel(InstallType)        ;//////////////////////
#endif

#if(switch64)
   WizardGotoPanel(SpecifyLocation)  
#endif

:compselect                            
GetPrevVerSize()                       
PrimarySelect()                        

#ifnot(switch98)
   goto(CheckSpace)            
#endif

:InstallLocation                       ;/////////////////////
WizardPanel(SpecifyLocation, siwnu.dll);// L O C A T I O N
switch45=TRUE                          ;/////////////////////
WizardIncludePanel(NoDiskSpace)
WizardIncludePanel(CompressDialog)
WizardProcessPanel()                   
#if(switch49) ;intlchar
   WizardGotoPanel(SpecifyLocation)       
#endif


:CompressedDialog
WizardPanel(CompressDialog, siwnu.dll) ;////////////////////////////////
switch40 = IsDriveCompressed(WINDOWS)  ;// C O M P R E S S E D   D R V 
#if(switch40)                          ;////////////////////////////////
   WizardProcessPanel()
#else    
   switch40 = IsDriveCompressed(TARGET)    
   #if(switch40)    
       WizardProcessPanel()    
   #else    
       WizardExcludePanel(CompressDialog)    
   #endif    
#endif    
    
:checkspace
WizardPanel(NoDiskSpace, siwnu.dll)    ;////////////////////////
switch71 = FALSE                       ;// D R I V E S P A C E
switch72 = FALSE                       ;////////////////////////
switch98 = CheckDiskSpace(TARGET)   
#ifnot(switch98)    
   WizardProcessPanel()    
#else    
   WizardExcludePanel(NoDiskSpace)    
#endif    
#if(switch71)    
    Exit()    
#endif    
#if(switch72)    
    WizardGotoPanel(SpecifyLocation)    
#endif    

WizardPanel(NprotectDlg, siwnu.dll)    ;////////////////////
switch99 = IsOptionSelected(unerasew)  ;// N P R O T E C T
#if(switch99)                          ;////////////////////
    WizardProcessPanel()
#else    
    WizardExcludePanel(NprotectDlg)    
#endif    
    
WizardPanel(SysdocDlg, siwnu.dll)      ;//////////////////
switch99 = IsOptionSelected(sysdocw)   ;//  S Y S D O C
#if(switch99)                          ;//////////////////
    WizardProcessPanel()
#else    
    WizardExcludePanel(SysdocDlg)    
#endif    

WizardPanel(RescueDlg, siwnu.dll)      ;/////////////////
switch99 = IsOptionSelected(rescuew)   ;//  R E S C U E
#if(switch99)                          ;/////////////////
   WizardProcessPanel()
#else    
   WizardExcludePanel(RescueDlg)    
#endif    

:CopyFilesDialog                       ;////////////////////////
WizardPanel(CopyFiles, siwnu.dll)      ;// C O P Y   F I L E S  
WizardProcessPanel()                   ;////////////////////////

CreateDirectory(CreateExtDir)          ;//////////////////////////
CreateDirectory(CreateSharedDir)       ;// C R E A T E   D I R S
                                       ;//////////////////////////
Delete( DeleteCommonDLLs )             
switch99 = CallProcEx(SmartcanVxD)     
             
switch30 = Exists(SymevntFind)         

Backup(SymevntTemp)                    ;/////////////////////////////
switch99 = CallProcEx(SymevntAsNew)    ;// SYMEVNT VERSION CHECKING
#ifnot(switch99)                       ;/////////////////////////////
    DeselectOption(symevnt)
#endif
Delete(SymevntTempDel)

Backup(InfodeskTemp)
switch99 = CallProcEx(InfodeskAsNew)
#ifnot(switch99)
    DeselectOption(infodesk)
#endif
Delete(InfodeskTempDel)
                                       ;/////////////////
DisableUtils()                         ;// COPY FILES 
Copy()                                 ;/////////////////
EnableUtils()
                                       
switch99 = Exists(SymevntFind)         ;/////////////////////
#if(switch99)                          ;// REPLACE SYMEVENT
    Backup(SymevntCopy)                ;/////////////////////
#endif
switch99 = Exists(Symevnt16Find)
#if(switch99)
    Backup(Symevnt16Copy)
#endif
switch99 = Exists(Symevnt32Find)
#if(switch99)
    Backup(Symevnt32Copy)
#endif

CallProcEx(NukeOldSymReg)
                                       ;//////////////////////////
CallProcEx( RemNDD )                   ;// R E M   O U T   N D D
                                       ;//////////////////////////

switch99=Exists(FindSymantec)          ;/////////////////////
#ifnot(switch99)                       ;// I N F O D E S K
    Backup(BackupSymantec)             ;/////////////////////
#endif
Delete(DelSymantec)
SilentModifyTF(DelSymantecContents)
SilentModifyTF(AddSymantecContents)
Launch(UpdateHelpIndex)

WizardExcludePanel(CopyFiles)
WizardExcludePanel(RescueDlg)
WizardExcludePanel(SysdocDlg)
WizardExcludePanel(NprotectDlg)
WizardExcludePanel(NoDiskSpace)
WizardExcludePanel(CompressDialog)
WizardExcludePanel(SpecifyLocation)
WizardExcludePanel(Bogus)
WizardExcludePanel(SpecifyLocation)
WizardExcludePanel(FindSmartCanDialog)
WizardExcludePanel(SearchInfo)
WizardExcludePanel(InstallType)
WizardExcludePanel(License)
WizardExcludePanel(Welcome)
WizardExcludePanel(NoWinSpace)         
WizardExcludePanel(WrongVersion)       
                                       
                                       ;//////////////////
CallProc(ProcessPIF)                   ;// R E G I N F O
SetRegistration(SetSymUtil32)          ;//////////////////

                                       ;//////////////////////////
CallProcEx(UsageCounts)                ;// U S A G E  C O U N T S
                                       ;//////////////////////////

ResetTarget(TargetSharedShort)         ;//////////////////////////
CallProcEx(GetShort)                   ;// S H O R T   N A M E S  
ResetTarget(TargetSharedSave)          ;//////////////////////////
ResetTarget(TargetShort)
CallProcEx(GetShort)           
ResetTarget(TargetSave)        
ResetTarget(TargetExtShort)
CallProcEx(GetShort)           

MergeRegFile(NuReg)                    ;//////////////////////
                                       ;//  R E G I S T R Y  
switch99 = IsOptionSelected(diskedit)  ;//////////////////////
#if(switch99)
   MergeRegFile(DiskeditReg)           
#endif

switch99 = IsOptionSelected(ndiags)
#if(switch99)
   MergeRegFile(NdiagsReg)           
#endif

switch99 = IsOptionSelected(ndd)
#if(switch99)
   MergeRegFile(NddReg)           
#endif

switch99 = IsOptionSelected(spacewiz)
#if(switch99)
   MergeRegFile(SpacewizReg)           
#endif

switch99 = IsOptionSelected(unerase)
#if(switch99)
   MergeRegFile(UneraseReg)           
#endif

switch99 = IsOptionSelected(unformat)
#if(switch99)
   MergeRegFile(UnformatReg)           
#endif

switch99 = IsOptionSelected(unerasew)  
#if(switch99)                          
   MergeRegFile(SmartcanReg)           
#endif

switch99 = IsOptionSelected(nddw)
#if(switch99)
   MergeRegFile(NddwReg)
#endif

switch99 = IsOptionSelected(sdw)
#if(switch99)
   MergeRegFile(SdwReg)
#endif

switch99 = IsOptionSelected(imagew)
#if(switch99)
   MergeRegFile(ImagewReg)
#endif

switch99 = IsOptionSelected(rescuew)
#if(switch99)
   MergeRegFile(RescuewReg)
#endif

switch99 = IsOptionSelected(sysinfow)
#if(switch99)
   MergeRegFile(SysinfowReg)
#endif

switch99 = IsOptionSelected(sysdocw)
#if(switch99)
   MergeRegFile(SysdocwReg)
#endif

switch99 = IsOptionSelected(spacewizw)
#if(switch99)
   MergeRegFile(SpacewizwReg)
#endif

switch99 = IsOptionSelected(ndrvex)
#if(switch99)
   MergeRegFile(NdrvexReg)
#endif

#if(switch60)
   MergeRegFile(SmartcanEnableReg) 
#endif

#ifnot(switch61)                       
   DeselectOption(SysdocStart)         
#endif

#ifnot(switch60)
   DeselectOption(bkprocstart)
#endif

EnableWin95Shell()                     ;////////////////////////////////
Groups()                               ;// P R O G R A M   G R O U P S
                                       ;////////////////////////////////
:RunRescue
WizardIncludePanel(FloppyDialogRescue)     ;////////////////////////
WizardPanel(FloppyDialogRescue, siwnu.dll) ;// R U N   R E S C U E
                                           ;////////////////////////
switch99 = IsOptionSelected(rescuew)
#if(switch99)
    #if (switch69)
        switch80 = FALSE;
        CallProc(FloppyInDrive)
        #if (switch80)
            WizardProcessPanel()
            WizardGotoPanel(FloppyDialogRescue)
        #endif
        ; Backup(RescueCopy)          ; Put all files in System folder
        CallProc(SetEnv)
        ExecChildProcess(RescueRun) ; Run Rescue
    #endif
#endif

WizardExcludePanel(FloppyDialogRescue)
; Delete(RescueDel)               ; Always del in case left from prev instal

:DebugLabel1

:RenameOldStuff                        ;///////////////////////////
WizardPanel(RenameInfo, siwnu.dll)     ;// R E N A M E   I N F O   
#if(switch85)                          ;///////////////////////////
    WizardProcessPanel()
#else
    #if (switch77)
        WizardProcessPanel()
        CallProc( Rename )
    #else
        WizardExcludePanel(RenameInfo)
    #endif
#endif

switch99=Exists(AutoexecFind)          ;//////////////////////////
#if(switch99)                          ;// U P D A T E   P A T H
    Backup(SaveAutoexec)               ;//////////////////////////
    switch06=IsOptionSelected(ndd)
    switch07=IsOptionSelected(unerasew)
    SilentModifyTF(Autoexec)
#endif

#if(switch79)                          
    SilentModifyTF(AutoexecPath)       
#endif

CallProcEx(UpdateInstFlag)             ;//////////////////////////////
                                       ;//      C L E A N   U P
                                       ;//////////////////////////////
WizardPanel(TechSupport, siwnu.dll)       
WizardProcessPanel()                   
WizardPanel(ReachUs, siwnu.dll)       
WizardProcessPanel()                   
WizardPanel(CrossMarket, siwnu.dll)       
WizardProcessPanel()                   

WizardPanel(Finished, siwnu.dll)       ;////////////////////
WizardProcessPanel()                   ;// PREPARE FOR EXIT
;switch73 = FALSE                      ;////////////////////

:CheckForFloppy                            ;////////////////////
WizardPanel(FloppyDialogFinish, siwnu.dll) ;// CHECK FOR FLOPPY
#if(switch73)                              ;////////////////////
    switch80 = FALSE;
    CallProc(FloppyInDrive)
    #if (switch80)
        WizardProcessPanel()
        WizardGotoPanel(FloppyDialogFinish)
    #endif
#endif

switch99 = IsOptionSelected(rescuew)   ;////////////////////////
#if(switch99)                          ;// DELETE LEFTOVER DLLS
    #if (switch69)                     ;////////////////////////
        Delete(RescueDel)
    #endif
#endif

Delete(CustDLLDel)
Delete(Leftovers)

#if(switch73)
    ExitReboot()
#endif

Exit()

End()

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

;/////////////////////////
;//     S U B P R O C 
;/////////////////////////
[SubProc]
Backup(CustDLLCopy)            ; Copy custom dll to windows dir
CallProc( PROCESSNAV )
DelFromIni(DelVxds)            ; Remove Symevnt from SYSTEM.INI
MakeFilesReadWrite( SETUPFILES )
Return()

;/////////////////////////
;//    S E T S H E L L 
;/////////////////////////
[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
IfActiveList=LoadedList
SubProcess=SubProc
Active = NO

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

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

[LoadedList]
ueproc32.exe
infodesk.dll
nddbmp32.dll
ndrvex.dll
numisc.dll
nuthk168.dll
nuthk328.dll
nwcalls.dll
pgnorton.dll
salthk16.dll
salthk32.dll
sd32eng.dll
sensor32.dll
siwnu.dll
s32gui8.dll
s32krnl8.dll
s32evnt1.dll
s32dmap8.dll
s32fat8.dll
s32fmt8.dll
s32mail8.dll
s32mthk8.dll
s32npt8.dll
s32sys8.dll
s32util8.dll
s32stat.dll
symkrnl8.dll
symmthk8.dll
symkrnl8.dll
symevnt1.dll
tkke168.dll
tkke328.dll
uebmp32.dll
ushellex.dll
ushellhk.dll

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

[SETUPFILES]
Setup.exe, WINDOWS
Setup.exe, SYSTEM

;///////////////////////////////
;//  EXTERNAL FUNCTION CALLS 
;///////////////////////////////
[SymEventExists]
dll = siwnu.dll
function = RegKeyExists
hive = SIWHKEY_LOCAL_MACHINE
subkey = "System\CurrentControlSet\Services\VxD\SYMEVNT"

[RenameSymEventVXD]
dll = siwnu.dll
function = RenameRegValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "System\CurrentControlSet\Services\VxD\SYMEVNT"
currentvalue = StaticVxD
newvalue = NStaticVxD

[RenameSymEventVXDBack]
dll = siwnu.dll
function = RenameRegValue
hive = SIWHKEY_LOCAL_MACHINE
subkey = "System\CurrentControlSet\Services\VxD\SYMEVNT"
currentvalue = NStaticVxD
newvalue = StaticVxD

[RemNDD]
dll = siwnu.dll
function = RemAutoexecLine
rem = ndd

[NukeOldSymReg]
dll = siwnu.dll
function = NukeOldSymEventRegEntries

[SetEnv]
dll = siwnu.dll
function = SetPath

[AlreadyInstalled]
dll = siwnu.dll
function = AlreadyInstalled

[DebugStub]
dll = siwnu.dll
function = DebugStub

[ShowTargets]
dll = siwnu.dll
function = ShowTargets

[Warning]
dll = siwnu.dll
function = WarningDialog

[Register]
dll = siwnu.dll
function = RegisterDialog

[CompressedDrive]
dll = siwnu.dll
function = CompressedDialog

[FindSymevntDll]
dll = siwnu.dll
function = FindSymevnt

[NukeSymevntDll]
dll = siwnu.dll
function = NukeSymevnt

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

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

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

[FindSharedComponents]
dll = siwnu.dll
function = FindSharedComponents

[CheckPrevVer]
dll = siwnu.dll
function = CheckPrevVerPath

[UpdateInstFlag]
dll = siwnu.dll
function = UpdateInstalledFlag

[UsageCounts]
dll = siwnu.dll
function = IncrementUsageCounts

[GetShort]
dll = siwnu.dll
function = ConvertToShortName

[ConfigureNU]
dll = siwnu.dll
function = NortonStartUpOptions

[ReplaceOldFiles]
dll = siwnu.dll
function = ReplaceOldFilesDialog

[CheckWinSpace]
dll = siwnu.dll
function = WindowsDriveSpace

[Memory]
dll = siwnu.dll
function = InitMemory

[Rename]
dll = siwnu.dll
function = RenameNUFiles

[ProcessPIF]
dll = siwnu.dll
function = ProcessPifFiles

[ExitHookProc]
dll = siwnu.dll
function = ReleaseDLL

[DoGroups]
dll = siwnu.dll
function = CreateGroupItems

[FloppyInDrive]
dll = siwnu.dll
function = IsFloppyInDrive

[FindSmartCan]
dll = siwnu.dll
function = FindSmartCanDirectory

[PROCESSNAV]
dll = siwnu.dll
function = ProcessNavVxDKey

[RESTORENAV]
dll = siwnu.dll
function = RestoreNavVxDKey

[Tomahawk]
siw.qpd, SOURCE

;//////////////////////////
;// D I A L O G  T E X T  
;//////////////////////////
[NUCopy:TypeSelect]
count = 2
caption = "Norton Utilities for Windows 95 Setup Type"
text = "Please select the type of install you want to perform."
grouptext = "Install Types"
button1 = "&Complete Install"
button2 = "C&ustom Install"
descrip1 = "Installs all of the DOS and Windows Norton Utilities for Windows 95.  This will require xx.x MB of disk space."
descrip2 = "Lets you choose which Norton Utilities modules to install.  If you need more options later, you can run install again."

[NUCopy:Primary]
caption = "Norton Utilities for Windows 95 Main Selection"
button1 = "Select..."
button2 = "Select..."
button3 = "Select..."
button4 = "Select..."
button5 = "Select..."
text = App1Text

[App1Text]
"Please select the items you want to install.  If a selection"
"has a button to the right, you can select individual files or"
"components."

[NUCopy:Component]
caption = "Norton Utilities for Windows 95 Component Selection"
text    = "Select/Deselect the components you want to install.  Checked items will be installed."

[NUCopy:CopyDialog]
caption = "Copying Norton Utilities Files..."
posx = -10
posy = -10

[NUCopy:Advo]
posx = 20
posy = 20
location = siwnu.dll
count = 6
BitmapsOnly=1

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

[AdvoText]
"Please take a moment to complete the Product 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 Norton Utilities for Windows 95!"

;*****************
;* Message Text  *
;*****************
[VersionSearch]
caption =  "Searching for Previous Version"
apppath =  C:\NU

[SymantecDir]
caption = "Searching for Shared Directory"
appname = "symcfg.bin"
apppath = C:\SYMANTEC

[TargetDrive]
caption =  "Install Norton Utilities for Windows 95 Files"
defpath =  C:\NU
text    =  "Please select the drive/folder where you want to install Norton Utilities."
reqspace=  "Approximate additional disk space required"

[TargetDriveLFN]
caption =  "Install Norton Utilities for Windows 95 Files"
defpath =  "C:\Program Files\Norton Utilities"
text    =  "Please select the drive/folder where you want to install Norton Utilities."
reqspace=  "Approximate additional disk space required"

[FileCopy]
copycaption   =  "Installing Norton Utilitites for Windows 95 "
errorcaption  =  "Error Copying Files"
insertcaption =  "Insert Diskette"
Message       =   MessageText

[Cancel]
caption = "Norton Utilities for Windows 95 Setup Wizard"
text    = "Are you sure you want to exit?"

[CancelShell]
caption = "Norton Utilities for Windows 95 Setup Wizard"
"You have selected to exit Setup. In order "
"to reset the Windows environment, Setup "
"will need to restart your computer."
"Are you sure you want to exit?"

;/////////////////////////
;// SHARED COMPONENTS
;/////////////////////////
[SharedComponents]
Component = s32evnt1.dll
Component = s32stat.dll
Component = symevnt.386
Component = symevnt1.dll
Component = s32fat8.dll
Component = s32gui8.dll
Component = s32krnl8.dll
Component = s32util8.dll
Component = salthk16.dll
Component = salthk32.dll
Component = symkrnl8.dll
Component = symkrnl8.vxd
Component = tkke168.dll
Component = tkke328.dll
Component = infodesk.cnt
Component = infodesk.hlp
Component = infodesk.dll
Component = symantec.cnt
Component = symgloss.hlp

;///////////////////////////////
;//       T A R G E T S
;///////////////////////////////

[TargetShort]
reset = TARGET4
location = %s, TARGET

[TargetSave]
reset = TARGET3
location = %s, TARGET4

[TargetExt]
reset = TARGET2
location = "System"
relative = 1
relativeto = TARGET

[TargetExtLFN]
reset = TARGET2
location = "System"
relative = 1
relativeto = TARGET

[TargetExtShort]
reset = TARGET4
location = %s, TARGET2

[TargetShared]
reset = TARGET3
location = %s, TARGET5

[TargetSharedShort]
reset = TARGET4
location = %s, TARGET3

[TargetSharedSave]
reset = TARGET5
location = %s, TARGET4

[CreateExtDir]
%s, TARGET2

[CreateSharedDir]
%s, TARGET3

;///////////////////////////
;// F I L E   B A C K U P   
;///////////////////////////
[SaveSysIni]
system.ini, system.nu, WINDOWS, WINDOWS

[AutoexecFind]
c:\autoexec.bat

[SaveAutoexec]
c:\autoexec.bat, c:\autoexec.nu

[SaveSysIniLFN]
system.ini, "System.ini copy prior to NU install", WINDOWS, WINDOWS

[SaveAutoexecLFN]
c:\autoexec.bat, "c:\Autoexec.bat copy prior to NU install"

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

[SymevntFind]
symevnt.386, SYSTEM
symevnt1.dll, SYSTEM

[SymevntCopy]
symevnt.386, symevnt.386, TARGET3, SYSTEM
symevnt1.dll, symevnt1.dll, TARGET3, SYSTEM

[RescueCopy]
rescue.exe,   rescue.exe,   TARGET3, TARGET4
rescue32.exe, rescue32.exe, TARGET3, TARGET4
s32stat.dll,  s32stat.dll,  TARGET5, TARGET4

[RescueRun]
"%s\rescue32.exe /INSTALL", TARGET3

[FindSymantec]
symantec.cnt,   Target3

[BackupSymantec]
symantec.cnt, symantec.cnt, Target2, Target3

;*****************
;* Delete Files  *
;*****************
[DelSymantec]
symantec.cnt,   Target2

[DeleteCommonDLLs]
salthk16.dll,  TARGET2
salthk32.dll,  TARGET2 
s32evnt1.dll,  TARGET2
s32evnt1.dll,  TARGET3
s32fat8.dll,   TARGET2
s32gui8.dll,   TARGET2
s32krnl8.dll,  TARGET2
s32stat.dll,   TARGET2
s32stat.dll,   TARGET3
s32fat6.dll,   TARGET2
s32gui6.dll,   TARGET2
s32krnl6.dll,  TARGET2
s32util6.dll,  TARGET2
s32util8.dll,  TARGET2
symevnt.386,   TARGET2 
symevnt1.dll,  TARGET2 
symevnt.386,   TARGET3
symevnt1.dll,  TARGET3 
symkrnl8.dll,  TARGET2
symkrnl8.vxd,  TARGET2
tkke168.dll,   TARGET2 
tkke328.dll,   TARGET2 
symkrnl6.dll,  TARGET2
symkrnl6.vxd,  TARGET2
tkke166.dll,   TARGET2 
tkke326.dll,   TARGET2 
glossary.hlp,  TARGET2
infodesk.cnt,  TARGET2
infodesk.hlp,  TARGET2
infodesk.dll,  TARGET2
infodesk.dll,  TARGET3
numisc.dll,    TARGET2
numisc.dll,    TARGET3
ushellex.dll,  TARGET2
ushellhk.dll,  TARGET2
nddbmp32.dll,  TARGET2
nuthk166.dll,  TARGET2
nuthk326.dll,  TARGET2
sd32eng.dll,   TARGET2
sysinfo.vxd,   TARGET2
ndrvex.dll,    TARGET2
pipedlg.dat,   TARGET
pipeline.cfg,  TARGET
scstop.exe,    TARGET
siw.gid,       TARGET
siwpipl.exe,   TARGET
               
[RescueDel]
rescue.exe,    TARGET4
rescue32.exe,  TARGET4
s32stat.dll,   TARGET4

[CustDLLDel]
siwnu.dll,     WINDOWS
siwnu.dll,     TEMPDIR
siwisl.dll,    WINDOWS
siwisl16.dll,  WINDOWS
version.dll,   TARGET

[Leftovers]
siwnu.dll,     WINDOWS
siwnu.dll,     TEMPDIR
win.siw,       WINDOWS
system.siw,    WINDOWS
setup.exe,     SYSTEM

[SymevntTempDel]
symevnt.386, TEMPDIR

[InfodeskTempDel]
infodesk.dll, TEMPDIR

[SymevntAsNew]
dll = siwnu.dll
function = IsFileAsNew
file = SYMEVNT.386

[InfodeskAsNew]
dll = siwnu.dll
function = IsFileAsNew
file = INFODESK.DLL

;*************************************
;* System.ini / Autoexec.bat Mods    *
;*************************************
[AddSymantecContents]
FileSpec   = %s\symantec.cnt, Target3
filetype   = text
Create     = 0
CreateText =
rem1       = "rem"
FindRems   = 0
AddItems   = SymantecAddItems

[DelSymantecContents]
FileSpec   = %s\symantec.cnt, Target3
filetype   = text
Create     = 0
CreateText =
rem1       = "rem"
FindRems   = 0
DelItems   = SymantecDelItems

[SymantecAddItems]
":INCLUDE NUDESK.CNT", APPEND

[SymantecDelItems]
*NUDESK.CNT*

[CheckNDD]
file=c:\autoexec.bat
finditems=FindNDD

[FindNDD]
ndd
ndd.exe

[AutoExec]
FileSpec   = c:\autoexec.bat
filetype   = autoexec
Create     = 0
CreateText =
rem1       = "rem"
FindRems   = 0
RemItems   = AutoexecRemItems

[AutoExecAddNDD]
FileSpec   = c:\autoexec.bat
filetype   = autoexec
Create     = 0
CreateText =
rem1       = "rem"
FindRems   = 0
RemItems   = AutoexecRemItems
AddItems   = AutoexecAddItems

[AutoexecRemItems]
"*smartcan*", switch07
"*\smartcan*", switch07

[AutoexecAddItems]
"%s\NDD.EXE C: /Q", TARGET3, PutMeAfterThis=AutoexecAfterThis, switch06

[AutoexecAfterThis]
ndd
ndd.exe
*\ndd
*\ndd.exe

[AutoexecPath]
FileSpec   = c:\autoexec.bat
filetype   = autoexec
Create     = 1
CreateText =
rem1       = "rem"
FindRems   = 0
AddPath    = TARGET3

[DelVxds]
IniName = system.ini
SectionName = 386enh
device=*symevnt.386*
device=*awdos.386*  
device=*vpcaw.386*  
device=*vfintd.386*
device=*vfintd.386*
device=*vnss.386*

[InfodeskTemp]
infodesk.dll, infodesk.dll, SOURCE, TEMPDIR

[SymevntTemp]                                ;/////////////////////
symevnt.386, symevnt.386, SOURCE, TEMPDIR    ;// S Y M E V E N T
                                             ;/////////////////////
[SymevntFind]
symevnt.386, SYSTEM

[SymevntCopy]
symevnt.386, symevnt.386, TARGET3, SYSTEM

[Symevnt16Find]
symevnt1.dll, SYSTEM

[Symevnt16Copy]
symevnt1.dll, symevnt1.dll, TARGET3, SYSTEM

[Symevnt32Find]
s32evnt1.dll, SYSTEM

[Symevnt32Copy]
s32evnt1.dll, s32evnt1.dll, TARGET3, SYSTEM

;///////////////////////////
;// Registry Modifications   
;///////////////////////////

[DiskeditReg]
file = %s\diskedit.reg, TARGET2

[NdiagsReg]
file = %s\ndiags.reg, TARGET2

[NddReg]
file = %s\ndd.reg, TARGET2

[SpacewizReg]
file = %s\spacewiz.reg, TARGET2

[UneraseReg]
file = %s\unerase.reg, TARGET2

[UnformatReg]
file = %s\unformat.reg, TARGET2

[NuReg]
file = %s\nu.reg, TARGET2

[SmartcanReg]
file = %s\nprotect.reg, TARGET2

[SmartcanEnableReg]
file = %s\nproton.reg, TARGET2

[NddwReg]
file = %s\ndd32.reg, TARGET2

[SdwReg]
file = %s\sd32.reg, TARGET2

[ImagewReg]
file = %s\image32.reg, TARGET2

[RescuewReg]
file = %s\rescue32.reg, TARGET2

[SysinfowReg]
file = %s\si32.reg, TARGET2

[SysdocwReg]
file = %s\sysdoc32.reg, TARGET2

[SpacewizwReg]
file = %s\sw32.reg, TARGET2

[NdrvexReg]
file = %s\ndrvex.reg, TARGET2

[RegUpdate]
key = "HKEY_LOCAL_MACHINE"
subkey = "SOFTWARE\Symantec\Norton Utilities\Install\9.0\Components"

[SmartcanVxD]
dll = siwnu.dll
function = DeleteRegistryKey
hive = SIWHKEY_LOCAL_MACHINE
subkey = "System\CurrentControlSet\Services\VxD\SMARTCAN"

;/////////////////////////////
;//  Misc install functions
;/////////////////////////////
[UpdateHelpIndex]
"winhelp.exe -g %s\infodesk.hlp", Target3

[Pix]
color = %s\nu.bmp, 1, 1
color = %s\symlogo.rle, -1, 1

[VerDll]
ver.dll, system

[SetSymUtil32]
s32util8.dll, TARGET3

[WindowsVersion]
3.95
"Norton Utilities for Windows 95 requires"
"Windows 95 in order to install."

[Registration]
dll = s32util8.dll
string = "Symantec Install for Windows"
active = no
serialize = 0

;/////////////////
;// G R O U P S
;/////////////////
[groups]
"Norton Utilities", nu.grp
"Startup",          startup.grp

[Norton Utilities]
"Disk Editor",             diskedit.pif,   diskedit,  0,  TARGET3, diskedit.ico, TARGET3
"Norton Diagnostics",      ndiags.pif,     ndiags,    0,  TARGET3, ndiags.ico, TARGET3
"Norton Disk Doctor",      ndd32.exe,      nddw,      0,  TARGET3
"Rescue Disk",             rescue32.exe,   rescuew,   0,  TARGET3
"Space Wizard",            sw32.exe,       spacewizw, 0,  TARGET3
"Speed Disk",              sd32.exe,       sdw,       0,  TARGET3
"System Information",      si32.exe,       sysinfow,  0,  TARGET3
"Norton System Doctor",    sysdoc32.exe,   sysdocw,   0,  TARGET3
"UnErase Wizard",          ue32.exe,       unerasew,  0,  TARGET3
"Image",                   image32.exe,    imagew,    0,  TARGET3
"Info Desk",               infodesk.hlp,   basefiles, 0,  TARGET5, infodesk.ico, TARGET4

[Startup]
"Norton System Doctor", sysdoc32.exe, sysdocstart, 0, TARGET3, sysdoc32.exe, TARGET3, " "

;/////////////////////////////
;// C O P Y   S E C T I O N
;/////////////////////////////
[NUCopy]
CopyMain.BaseFiles,    "Norton Utilities Base Files - %ldK",           0, Y, N, Y
CopySub.sysdocstart,   " "
CopyMain.SharedFiles,  "Norton Utilities Shared Files - %ldK",         0, Y, N, Y
CopySub.symevnt,       " "
CopySub.infodesk,      " "

CopyMain.DosUtils,     "Norton DOS Utilities - %ldK",                  0, N, Y, Y
CopySub.diskedit,      "Disk Editor - %ldK"
CopySub.ndiags,        "Norton Diagnostics - %ldK"
CopySub.ndd,           "Norton Disk Doctor - %ldK"
CopySub.spacewiz,      "Space Wizard - %ldK"
CopySub.unerase,       "UnErase - %ldK"
CopySub.unformat,      "Unformat - %ldK"

CopyMain.WinUtils,     "Norton Windows Utilities - %ldK",              0, N, Y, Y
CopySub.imagew,        "Image - %ldK"
CopySub.nddw,          "Norton Disk Doctor - %ldK"
CopySub.rescuew,       "Rescue Disk - %ldK"
CopySub.sdw,           "Speed Disk - %ldK"
CopySub.spacewizw,     "Space Wizard - %ldK"
CopySub.sysinfow,      "System Information - %ldK"
CopySub.sysdocw,       "Norton System Doctor - %ldK"
CopySub.unerasew,      "UnErase Wizard - %ldK"
CopySub.ndrvex,        "Shell Extensions - %ldK"

CopyMain.DoNotRemove,   "For uninstall bug - %ldK",              0, N, N, N
CopySub.xxx,            "Bogus Field - %ldK"
CopySub.yyy,            "Bogus Field - %ldK"

;/////////////////////////////////
;// W I Z A R D   D I A L O G S
;/////////////////////////////////
[WrongVersion]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Incorrect Version"
DlgProc=_PanelDlgProc@16
ResourceId=102
Bitmap16=601
PanelDataProc=_DefaultDataProc@0
PanelFlags=First+Last

[NoWinSpace]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Low Disk Space"
DlgProc=_PanelDlgProc@16
ResourceId=108
Bitmap16=610
PanelDataProc=_DefaultDataProc@0
PanelFlags=First+Last

[Welcome]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Welcome to Norton Utilities"
DlgProc=_WelcomeDlgProc@16
ResourceId=501
Bitmap16=602
PanelDataProc=_WelcomeDataProc@0
PanelFlags=First

[InstallType]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Setup Type"
DlgProc=PanelDlgProc
ResourceId=114
Bitmap16=603
PanelDataProc=_DefaultDataProc@0

[SearchInfo]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Exploring Drives"
DlgProc=PanelDlgProc
ResourceId=116
Bitmap16=605
PanelDataProc=_DefaultDataProc@0
PanelFlags=First+Last+Finish

[SpecifyLocation]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Program Location"
DlgProc=PanelDlgProc
ResourceId=118
Bitmap16=604
PanelDataProc=_DefaultDataProc@0

[CompressDialog]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Compressed Drive Information"
DlgProc=PanelDlgProc
ResourceId=104
Bitmap16=609
PanelDataProc=_DefaultDataProc@0

[NoDiskSpace]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Low Disk Space"
DlgProc=PanelDlgProc
ResourceId=106
Bitmap16=610
PanelDataProc=_DefaultDataProc@0

[FindSmartCanDialog]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="SmartCan Update Notice"
DlgProc=PanelDlgProc
ResourceId=132
Bitmap16=611
PanelDataProc=_DefaultDataProc@0

[StartupDlg]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Initial Settings"
DlgProc=PanelDlgProc
ResourceId=122
Bitmap16=613
PanelDataProc=_DefaultDataProc@0

[NprotectDlg]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Norton Protection"
DlgProc=PanelDlgProc
ResourceId=140
Bitmap16=611
PanelDataProc=_DefaultDataProc@0

[SysdocDlg]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="System Doctor"
DlgProc=PanelDlgProc
ResourceId=141
Bitmap16=612
PanelDataProc=_DefaultDataProc@0

[RescueDlg]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Create Rescue Disk"
DlgProc=PanelDlgProc
ResourceId=124
Bitmap16=620
PanelDataProc=_DefaultDataProc@0

[RenameInfo]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Renaming Files"
DlgProc=PanelDlgProc
ResourceId=126
Bitmap16=614
PanelDataProc=_DefaultDataProc@0
PanelFlags=First

[CopyFiles]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Setup Review"
DlgProc=PanelDlgProc
ResourceId=128
Bitmap16=613
PanelDataProc=_DefaultDataProc@0

[Finished]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Setup Complete"
DlgProc=PanelDlgProc
ResourceId=130
Bitmap16=619
PanelDataProc=_DefaultDataProc@0
PanelFlags=First+Last+Finish

[Bogus]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Setup Complete"
DlgProc=PanelDlgProc
ResourceId=130
Bitmap16=619
PanelDataProc=_DefaultDataProc@0
PanelFlags=First+Last+Finish

[FloppyDialogRescue]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Remove Floppy Diskette"
DlgProc=PanelDlgProc
ResourceId=109
Bitmap16=618
PanelDataProc=_DefaultDataProc@0
PanelFlags=First

[FloppyDialogFinish]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Remove Floppy Diskette"
DlgProc=PanelDlgProc
ResourceId=109
Bitmap16=618
PanelDataProc=_DefaultDataProc@0
PanelFlags=First

[RequiredIntro]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Files Required for Upgrade"
DlgProc=_RequiredDlgProc@16
ResourceId=509
Bitmap16=602
Data=_EnumQPD@4
PanelDataProc=_RequiredDataProc@0

[Required]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Files Required for Upgrade"
DlgProc=_RequiredDlgProc@16
ResourceId=508
Bitmap16=602
Data=_EnumQPD@4
PanelDataProc=_RequiredDataProc@0

[RequiredSuccess]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Required File Found"
ResourceId=552
Bitmap16=602
PanelFlags=First

[License]
Caption="Online License Agreement"
DlgProc=_LicenseDlgProc@16
ResourceId=502
PanelDataProc=_LicenseDataProc@0

[TechSupport]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Symantec Support Solutions"
DlgProc=_TechSupDlgProc@16
ResourceId=507
Bitmap16=207
PanelFlags=First

[ReachUs]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="How to Reach Us"
DlgProc=_ReachDlgProc@16
ResourceId=513
Bitmap16=213

[CrossMarket]
Caption="Norton Utilities For Windows 95 Setup Wizard"
Title="Windows 95 Solutions"
DlgProc=_CrossSellDlgProc@16
PanelDataProc=_CrossSellDataProc@0 
ResourceId=512
Bitmap16=212

