;/////////////////////////////////////////////
;// Symantec C++ 6.0 Install Script, Rev 5 //
;///////////////////////////////////////////

; Symantec C++ Standard 6.0
; 3.5 inch floppies

[InstallVersion]
3.1

;//////////////////////////////////////////////// Main Script
[process]
    switch98 = FALSE  ; // Standard?
    switch99 = FALSE  ; // CD?

	switch98 = TRUE

    ;// Prep
    Backup.scppinst                 ;// Copy this install DLL to Windows dir
    #ifnot switch98
        Bitmaps.ProfPix                   ;// Display SCPP image
    #else
        Bitmaps.StdPix
    #endif
    SymantecCpp = SetActiveCopy ;// Name copy section
    AllowIntlChars
    DisableUtils ;// Keeps NAV quiet

    CallProc.Welcome

    #if switch99
        CallProc.CDNote
    #endif

    ;//////// Check for memory requirements, throw
    ;//////// 60 for VGA, 61 for SVGA, 62 for > SVGA
    CallProc.InspectSystem

    ;//////// Selection
    #ifnot switch99
        CallProc.DeselectAllComponents
    #endif
    SelectOption.Req

    #ifnot switch99
        CallProc.ChooseInstallType
    #endif

	#if switch 99
    	SelectOption.ReqTargWin
        SelectOption.ReqTargDos
    #endif
    
    #if switch01
        ;// Base extensions selected (base is always selected)
        ;// Set by: Complete, Full Win, Full DOS
        SelectOption.AddOpt
    #endif
    #if switch02
        ;// Minimum Windows components selected
        ;// Set by: Min Win, Min Win/DOS
        SelectOption.ReqTargWin
        SelectOption.Widde
        SelectOption.Wcltls
        SelectOption.Wsrt
        SelectOption.Wlarge
        SelectOption.Wsmall
    #endif
    #if switch03
        ;// Full Windows selected
        ;// Set by Complete, Full WIn
        SelectOption.ReqTargWin
        SelectOption.WinDev
    #endif
    #if switch04
        ;// Minimum DOS seleced
        ;// Set by Min DOS, Min Win/DOS
        SelectOption.ReqTargDos
        SelectOption.Dcltls
        SelectOption.Dsmall
        SelectOption.Dlarge
        SelectOption.Ddosx
    #endif
    #if switch05
        ;// Full DOS selected
        ;// Set by Complete, Full DOS
        SelectOption.ReqTargDos
        SelectOption.DosDev
    #endif

    #if switch99
        switch06 = TRUE
    #endif

    #if switch06
        ;// Custom install was checked
        PrimarySelect
    #endif

    ;//////// Correct additional dependancies
    switch25 = IsOptionSelected.Wmfc
    #if switch25
        SelectOption.Wlarge
        SelectOption.ReqTargWin
    #endif

    CallProc.TestConsistency

    #if switch20
        ;// DOSX and source
        SelectOption.DOSXSrc
    #endif

    #if switch21
        ;// Win32 and source
        SelectOption.W32Src
    #endif

    #if switch22
        ;// DOS required components needed
        SelectOption.ReqTargDos
    #endif

    #if switch23
        ;// Windows required components needed
        SelectOption.ReqTargWin
        #if switch60
            SelectOption.W640cfg
        #endif

        #if switch61
            SelectOption.W800cfg
        #endif

        #if switch62
            SelectOption.W1024cfg
        #endif
    #endif

    #if switch24
        ;// Some debugger component selected
        SelectOption.ReqDB
    #endif

    ;//////// Select target drive
    TargetDrive
    #ifnot switch99
        CallProc.WarnIfOverwrite
        #if switch40
            ;// One chance to re-select
            TargetDrive
        #endif
    #endif

    #ifnot switch99
        ResetTarget.SetTarget2ToBin
        ResetTarget.SetTarget3ToHelp
        ResetTarget.SetTarget4ToWin32sInstDir
        ResetTarget.SetTarget5ToBin
    #else
        ResetTarget.CDSetTarget2ToBin
        ResetTarget.CDSetTarget3ToHelp
        ResetTarget.CDSetTarget4ToWin32sInstDir
        ResetTarget.CDSetTarget5ToLocalBin
    #endif

    ;//////// Modify autoexec
    ;// Backup system files
    Backup.OriginalSysFiles
    CallProc.TellOfBackup

    CallProc.InspectInclude     ;// Tests for previously chosen options
                                ;// Throws: 30->Windows (any), 31->MFC, 32->Win32s

    #ifnot switch30
        switch30=IsOptionSelected.ReqTargWin
    #endif
    #if switch30
        ;// Some form of Windows targeting chosen or in existence

        ;// Set switch for any part of MFC
        #ifnot switch31
            ;// If not previously selected
            switch31 = IsOptionSelected.Wmfc
        #endif

        ;//Set switch for any part of Win32s
        #ifnot switch32
            ;//If not previously selected
            switch32 = IsOptionSelected.Wlib32s
        #endif

        ;// Check for 32s and MFC
        #if switch31
            #if switch32
                ;// MFC and 32s chosen
                switch33 = TRUE
                switch31 = FALSE
                switch32 = FALSE
            #endif
        #endif
        #if switch31
            ;// MFC selected
            ModifyTextFile.MFCAutoexecSCPP
        #else
            #if switch32
                ;// 32s selected
                ModifyTextFile.32sAutoexecSCPP
            #else
                #if switch33
                    ;// 32s and MFC chosen
                    ModifyTextFile.32sMFCAutoexecSCPP
                #else
                    ;// Just plain Windows chosen
                    ModifyTextFile.Win16OnlyAutoexecSCPP
                #endif
            #endif
        #endif
    #else
        ;// DOS only
        ModifyTextFile.AutoexecSCPP
    #endif

    ;// Perform copy
    CallProc.PrepCustomAdvos
    #if switch99
        CallProc.ResetSourceToRealSource
    #endif
    copy
    CallProc.CleanupCustomAdvos
    
    #if switch99
        CallProc.CDROMAutoexecMod
    #endif
    
    ;// Modify system.ini
    switch41 = IsOptionSelected.Widde
    #if switch41
        CallProc.TellIniChanges
        DelFromIni.DelVxds
        AddToIni.AddVxds
    #endif

    ;// Deal with BlueSky
    switch44 = IsOptionSelected.Wbluesky
    #if switch44
        ;// Changes to win.ini
        ;// removed per orders -- CallProc.TellBlueskyChanges
        DelFromIni.BSExtenDel
        AddToIni.BSExtenAdd
        DelFromIni.BSBlueDel
        AddToIni.BSBlueAdd
        CallProc.FixupVPrgIni
    #endif

    ;// Deal with SFIND, from viper install script
    ; DelFromIni.OldViewer-Filemap
    ; DelFromIni.OldViewer-Parsers
    ; UpdateIni.AddViewer-Filemap
    ; UpdateIni.AddViewer-Parsers

    ;// Reconstitute SDK API help file
    switch42 = IsOptionSelected.Wapihlp
    #if switch42
        #ifnot switch99
            CallProc.MergeSplitFiles
        #endif
    #endif

    ;// Create groups
    #if switch30
        groups
    #endif

    switch43 = IsOptionSelected.Wlib32s
    #if switch43
        CallProc.Instruct32s
    #endif
    ;// Clean-up
    CallProc.ExitHookProc
    delete.delscppinst
    delete.delezmerge
    delete.delezmergepif
    EnableUtils

switch50 = IsRebootRequested
#ifnot switch50
   End.ByeNoReboot
#else
   End.ByeReboot
#endif

;//////////////////////////////////////////////// Shared Custom DLL item

[SubProc]
Return

[scppinst]
scppinst.dl_, scppinst.dll, SOURCE, WINDOWS

[delscppinst]
scppinst.dll, WINDOWS

[Welcome]
dll=scppinst.dll
function=ShowWelcomeDialog

[StdWelcome]
dll=scppinst.dll
function=ShowStdWelcomeDialog

[InspectSystem]
dll=scppinst.dll
function=InspectSystem

[DeselectAllComponents]
dll=scppinst.dll
function=DeselectAllComponents

[ChooseInstallType]
dll=scppinst.dll
function=ChooseInstallType

[StdChooseInstallType]
dll=scppinst.dll
function=StdChooseInstallType

[TestConsistency]
dll=scppinst.dll
function=TestConsistency

[TellOfBackup]
dll=scppinst.dll
function=TellBackup

[InspectInclude]
dll=scppinst.dll
function=InspectInclude

[WarnIfOverwrite]
dll=scppinst.dll
function=WarnIfOverwrite

[MergeSplitFiles]
dll=scppinst.dll
function=MergeSplitFiles

[Instruct32s]
dll=scppinst.dll
function=Instruct32s

[TellIniChanges]
dll=scppinst.dll
function=TellIniChanges

[TellBlueskyChanges]
dll=scppinst.dll
function=TellBlueskyChanges

[CDNote]
dll=scppinst.dll
function=CDNote

[ResetSourceToRealSource]
dll=scppinst.dll
function=CDSourceAdjust

[ExitHookProc]
dll=scppinst.dll
function=UnlockScppinstDll

[PrepCustomAdvos]
dll=scppinst.dll
function=PrepCustomAdvos

[CleanupCustomAdvos]
dll=scppinst.dll
function=CleanupCustomAdvos

[CDROMAutoexecMod]
dll=scppinst.dll
function=CDROMAutoexecMod

[FixupVPrgIni]
dll=scppinst.dll
function=FixupVPrgIni

[SymantecCpp:ZipHook]
dll = scppinst.dll
function = SCPPZipHook

;/////////////////////////////////////////////////////////
[SymantecCpp]
copymain.Req,       "Required Files ",                        880, Y, N, N
;// Windows Development
copymain.WinDev,    "Windows Development ",                   0, N, Y, Y
copysub.Widde,      "Windows Integrated Environment ",       6416
copysub.Wsrt,       "Symantec Resource Toolkit ",             968
copysub.Wbluesky,   "Visual Programmer ",                    1264
copysub.Wadvtls,	"Hot-spot editor",						  300
copysub.Wcltls,		"Help file compiler",				      200
copysub.Dcltls,		"Command-line libriarian",				  300
copysub.Wcpphlp,    "Standard C/C++ Libraries Help ",         344
copysub.Wapihlp,    "Windows API Help ",                     3312
copysub.Wpenhlp,    "Pen and Multimedia Help ",               704
copysub.Wmfchlp,    "MFC Help ",                             2544
copysub.Wsmall,     "Small memory model libraries ",          320
copysub.Wmedium,    "Medium memory model libraries ",         328
copysub.Wcompact,   "Compact memory model libraries ",        344
copysub.Wlarge,     "Large memory model libraries ",          360
copysub.Wmfc,       "Microsoft Foundation Classes ",         9727
copysub.Wmfcexam,   "MFC example code ",                     3584
copysub.Wmfcsrc,    "MFC source code ",                      1504
copysub.Wwinexam,   "General Windows example code ",          864
;// Dos development
copymain.DosDev,    "DOS Development ",                         0, N, Y, Y
copysub.Dsmall,     "Small memory model libraries ",          288
copysub.Dmedium,    "Medium memory model libraries ",         280
copysub.Dcompact,   "Compact memory model libraries ",        296
copysub.Dlarge,     "Large memory model libraries ",          304
copysub.Ddosexam,   "DOS example code",                       200
copymain.ReqTargDos, "Required Components to target DOS ",      8, N, N, N
copymain.ReqTargWin, "Required components to target ",        968, N, N, N
copymain.ReqDB,      "Required Debugger components ",          168, N, N, N
copymain.DOSXSrc,    "32-bit DOS source code ",                744, N, N, N
copymain.W32Src,     "Win32 library source code ",             128, N, N, N
copymain.W640cfg,    "VGA configuration files",                      2, N, N, N
copymain.W800cfg,    "SuperVGA configuration files",                 2, N, N, N
copymain.W1024cfg,   "High resolution configuration files",          2, N, N, N


[disks]
1=A:\, "Symantec C++, Disk 1"
2=A:\, "Symantec C++, Disk 2"
3=A:\, "Symantec C++, Disk 3"
4=A:\, "Symantec C++, Disk 4"
5=A:\, "Symantec C++, Disk 5"
6=A:\, "Symantec C++, Disk 6"
7=A:\, "Symantec C++, Disk 7"
8=A:\, "Symantec C++, Disk 8"
9=A:\, "Symantec C++, Disk 9"
10=A:\, "Symantec C++, Disk 10"
11=A:\, "Symantec C++, Disk 11"
12=A:\, "Symantec C++, Disk 12"

[SymantecCpp.disk1]
hidde.zp!,     "Integrated Development and Debugging Environment",  Link:Widde,      zipddirs
wutils1.zp!,   "Windows-hosted utilities",                          Link:Widde,      zipddirs

[SymantecCpp.disk2]
dosexam.zp!,   "DOS sample code",                                   Link:Ddosexam,   zipddirs
mfcread.zp!,   "MFC readmes",                                       Link:Wmfc,       zipddirs
mfcsrc.zp!,    "MFC source files",                                  Link:Wmfcsrc,    zipddirs
vprg.zp!,      "Visual Programmer",                                 Link:Wbluesky,   zipddirs
w1024cfg.zp!,  "High resolution configuration files",               Link:W1024cfg,   zipddirs
w640cfg.zp!,   "VGA configuration files",                           Link:W640cfg,    zipddirs
w800cfg.zp!,   "Super VGA configuration files",                     Link:W800cfg,    zipddirs

[SymantecCpp.disk3]
hmfc1.zp!,     "MFC Help",                                          Link:Wmfchlp,    zipddirs
hwinapi2.zp!,   "Windows API help",                                 Link:Wapihlp,    zipddirs

[SymantecCpp.disk4]
hwinapi1.zp!,  "Windows API help",                                  Link:Wapihlp,    zipddirs
widde2.zp!,    "Integrated Development and Debugging Environment",  Link:Widde,      zipddirs
wwrescmp.zp!,  "Windows-hosted resource compiler",                  Link:Widde,      zipddirs

[SymantecCpp.disk5]
hpenmm.zp!,    "Pen and Multimedia help",                           Link:Wpenhlp,    zipddirs
mfcincl.zp!,   "MFC Include Files",                                 Link:Wmfc,       zipddirs
mfcsamp.zp!,   "MFC Classes example code",                          Link:Wmfcexam,   zipddirs

[SymantecCpp.disk6]
hwinapi3.zp!,  "Windows API help",                                  Link:Wapihlp,    zipddirs
wcmplr1.zp!,   "Windows-hosted compiler",                           Link:Widde,      zipddirs
wcmplr2.zp!,   "Windows-hosted compiler",                           Link:Widde,      zipddirs
wincl.zp!,     "Windows include files",                             Link:ReqTargWin, zipddirs

[SymantecCpp.disk7]
mfcdlld.zp!,   "MFC debug DLLs",                                    Link:Wmfc,       zipddirs
mfclibd1.zp!,  "MFC exe debug libraries",                           Link:Wmfc,       zipddirs

[SymantecCpp.disk8]
hcpp.zp!,      "Standard Libraries Help Files",                     Link:Wcpphlp,    zipddirs
mfclib1.zp!,   "MFC exe libraries",                                 Link:Wmfc,       zipddirs
widde1.zp!,    "Integrated Development and Debugging Environment",  Link:Widde,      zipddirs

[SymantecCpp.disk9]
mfclib3.zp!,   "MFC import libraries",                              Link:Wmfc,       zipddirs
mfclibd2.zp!,  "MFC DLL debug libraries",                           Link:Wmfc,       zipddirs
widde3.zp!,    "Integrated Development and Debugging Environment",  Link:Widde,      zipddirs

[SymantecCpp.disk10]
hmfc2.zp!,     "MFC Help",                                          Link:Wmfchlp,    zipddirs
hmfc3.zp!,     "MFC Help",                                          Link:Wmfchlp,    zipddirs
wcvpk.zp!,     "Windows-hosted CV4 information packer",             Link:Widde,      zipddirs
wsrt.zp!,      "Symantec Resource Toolkit",                         Link:Wsrt,       zipddirs

[SymantecCpp.disk11]
mfcdll.zp!,    "MFC DLLs",                                          Link:Wmfc,       zipddirs
mfclib2.zp!,   "MFC DLL libraries",                                 Link:Wmfc,       zipddirs
readmes.zp!,   "'Readme' files",                                    Link:Req,        zipddirs
widde4.zp!,    "Integrated Development and Debugging Environment",  Link:Widde,      zipddirs
wlcompct.zp!,  "Windows compact memory model",                      Link:Wcompact,   zipddirs
wlinker.zp!,   "Windows-hosted linker",                             Link:Widde,      zipddirs
wllarge.zp!,   "Windows large memory model",                        Link:Wlarge,     zipddirs
wlmedium.zp!,  "Windows medium memory model",                       Link:Wmedium,    zipddirs
wlsmall.zp!,   "Windows small memory model",                        Link:Wsmall,     zipddirs

[SymantecCpp.disk12]
cutils1.zp!,   "Command-line utilities",                            Link:Dcltls,     zipddirs
dlcompct.zp!,  "DOS compact memory model",                          Link:Dcompact,   zipddirs
dllarge.zp!,   "DOS large memory model",                            Link:Dlarge,     zipddirs
dlmedium.zp!,  "DOS medium model",                                  Link:Dmedium,    zipddirs
dlsmall.zp!,   "DOS small memory model",                            Link:Dsmall,     zipddirs
dwdbxtra.zp!,  "Debugger components",                               Link:ReqDB,      zipddirs
dwincl.zp!,   "DOS and Windows include files",                      Link:Req,        zipddirs
wcutils.zp!,   "Command-line Windows utilities",                    Link:Wcltls,     zipddirs
wimplib.zp!,   "Windows import librarian",                          Link:ReqTargWin, zipddirs
winexam.zp!,   "Windows example code",                              Link:Wwinexam,   zipddirs
wlallmod.zp!,  "Windows libraries for all memory models",           Link:ReqTargWin, zipddirs
wmake.zp!,     "Windows-hosted make",                               Link:Widde,      zipddirs
wutils2.zp!,   "Advanced Windows utilities and files",              Link:Wadvtls,    zipddirs

;/////////////////////////////////////////////////////////

[SymantecCpp:CopyDialog]
caption = "Expanding Files..."       ; Caption of dialog
posx = -10                         ; x location of dialog
posy = -10                         ; y location of dialog

[SymantecCpp:Primary]
caption = "Symantec C++ Custom Installation"
button1 = "Components"
button2 = "Components"
button3 = "Components"
; button4 = "Components"
; button5 = "Components"
text = SymCppCustInstText

[SymCppCustInstText]
"Select the items you wish to install.  Select a button"
"on the right to view and choose individual components."

[SymantecCpp:Component]
caption = "Component Selection"    ; Caption of dialog
                                   ; Descriptive text
text = "Please choose the components you wish to install.  Highlighted items are selected."

;//////////////////////////////////////////////// Groups

[groups]
"Symantec C++", symcpp6.grp

[Symantec C++]
"Symantec C++",                 scw.exe,        Widde,      0,  TARGET5
"Symantec Resource Toolkit",    srt.exe,        Wsrt,       0,  TARGET2
"Visual Programmer",            vprg.exe,       Wbluesky,   0,  TARGET5
"Crash Analyzer",               scaw.exe,       Widde,      0,  TARGET5
"Execution Monitor",            med.exe,        Widde,      0,  TARGET5
"Hotspot Editor",               shed.exe,       Widde,      0,  TARGET5
"Remote Debugger",              rmserwin.exe,   Wnetdb,     0,  TARGET5
"Network Debugger",             rmnetwin.exe,   Wnetdb,     0,  TARGET5
"Windows 3.1 SDK",              win31wh.hlp,    Wapihlp,    0,  TARGET3, winhelp.exe, WINDOWS
"MCI Command Strings",          mcistrwh.hlp,   Wpenhlp,    0,  TARGET3, winhelp.exe, WINDOWS
"Pen API",                      penapiwh.hlp,   Wpenhlp,    0,  TARGET3, winhelp.exe, WINDOWS
"Multimedia Reference",         win31mwh.hlp,   Wpenhlp,    0,  TARGET3, winhelp.exe, WINDOWS
"Win32s Programmer Reference",  win32s.hlp,     Wpenhlp,    0,  TARGET3, winhelp.exe, WINDOWS
"Symantec C++ Libraries",       scwfunc.hlp,    Wcpphlp,    0,  TARGET3, winhelp.exe, WINDOWS
"MFC Help",                     mfc.hlp,        Wmfchlp,    0,  TARGET3, winhelp.exe, WINDOWS
"MFC Tech Notes",               mfcnotes.hlp,   Wmfchlp,    0,  TARGET3, winhelp.exe, WINDOWS
"MFC Samples Help",             mfcsamp.hlp,    Wmfchlp,    0,  TARGET3, winhelp.exe, WINDOWS
"Win32s Setup",                 setup.exe,      Wlib32s,    0,  TARGET4


;//////////////////////////////////////////////// Message Boxes

[ByeNoReboot]
caption = "Symantec C++ - Install Complete"
"Please review the files in the Readme directory for last"
"minute changes and technical notes."
" "
"If you wish to close other running applications, you"
"may do so now by switching to them, via the task list,"
"prior to closing this dialog."
" "
"Restarting Windows is suggested."

[ByeReboot]
caption = "Symantec C++ - Install Complete"
"Please review the files in the Readme directory for last"
"minute changes and technical notes."
" "
"If you wish to close other running applications, you"
"may do so now by switching to them, via the task list,"
"prior to closing this dialog."
" "
"Rebooting now is recommended.  Please remove any"
"floppy disks from the drives."

;//////////////////////////////////////////////// Modification routines

;///////////////////////////////// Autoexec modifications

;////////////////// Win 3.1 only

[Win16OnlyAutoexecSCPP]
caption   = "Symantec C++ 6.0 -- Modify AUTOEXEC.BAT File"
text1    = "The following line(s) need to be changed in your autoexec.bat file:"
FileSpec   = c:\autoexec.bat
filetype = autoexec
rem1 = "rem"            
rem2 =
rem3 =
rem4 =
findrems = 0
EditCaption = "Editing AUTOEXEC.BAT"
EditError1 = "A problem was encountered preparing the new autoexec.bat"
EditError2 = " "
EditError3 = "You should:"
EditError4 = "1. Review the lines that need to be added"
EditError5 = "2. Select the 'Save the required changes to new file's option"
EditError6 = "3. Continue and complete the Install Process"
EditError7 = "4. Make the changes to the autoexec.bat file later"

AddPath   = TARGET2
AddItems   = Win16OnlyAutoexecAddItems
RemItems   = Win16OnlyAutoexecRemItems

[Win16OnlyAutoexecRemItems]
"set include=*"
"set lib=*"
"set help=*"

[Win16OnlyAutoexecAddItems]
"set include=|s\include;|s\include\win16", target, target
"set lib=%s\lib", TARGET
"set help=%s\help", TARGET


;////////////////// With MFC

[MFCAutoexecSCPP]
caption   = "Symantec C++ 6.0 -- Modify AUTOEXEC.BAT File"
text1    = "The following line(s) need to be changed in your autoexec.bat file:"
FileSpec   = c:\autoexec.bat
filetype = autoexec
rem1 = "rem"            
rem2 =
rem3 =
rem4 =
findrems = 0
EditCaption = "Editing AUTOEXEC.BAT"
EditError1 = "A problem was encountered preparing the new autoexec.bat"
EditError2 = " "
EditError3 = "You should:"
EditError4 = "1. Review the lines that need to be added"
EditError5 = "2. Select the 'Save the required changes to new file's option"
EditError6 = "3. Continue and complete the Install Process"
EditError7 = "4. Make the changes to the autoexec.bat file later"

AddPath   = TARGET2
AddItems   = MFCAutoexecAddItems
RemItems   = MFCAutoexecRemItems

[MFCAutoexecRemItems]
"set include=*"
"set lib=*"
"set help=*"

[MFCAutoexecAddItems]
"set include=|s\include;|s\include\win16;|s\mfc\include", target, target, target
"set lib=|s\lib;|s\mfc\lib", TARGET, TARGET
"set help=%s\help", TARGET


;////////////////// With Win32s

[32sAutoexecSCPP]
caption   = "Symantec C++ 6.0 -- Modify AUTOEXEC.BAT File"
text1    = "The following line(s) need to be changed in your autoexec.bat file:"
FileSpec   = c:\autoexec.bat
filetype = autoexec
rem1 = "rem"            
rem2 =
rem3 =
rem4 =
findrems = 0
EditCaption = "Editing AUTOEXEC.BAT"
EditError1 = "A problem was encountered preparing the new autoexec.bat"
EditError2 = " "
EditError3 = "You should:"
EditError4 = "1. Review the lines that need to be added"
EditError5 = "2. Select the 'Save the required changes to new file's option"
EditError6 = "3. Continue and complete the Install Process"
EditError7 = "4. Make the changes to the autoexec.bat file later"

AddPath   = TARGET2
AddItems   = 32sAutoexecAddItems
RemItems   = 32sAutoexecRemItems

[32sAutoexecRemItems]
"set include=*"
"set lib=*"
"set help=*"

[32sAutoexecAddItems]
"set include=|s\include;|s\include\win16;|s\include\win32", target, target, target
"set lib=%s\lib", TARGET
"set help=%s\help", TARGET


;////////////////// With Win32s and MFC

[32sMFCAutoexecSCPP]
caption   = "Symantec C++ 6.0 -- Modify AUTOEXEC.BAT File"
text1    = "The following line(s) need to be changed in your autoexec.bat file:"
FileSpec   = c:\autoexec.bat
filetype = autoexec
rem1 = "rem"            
rem2 =
rem3 =
rem4 =
findrems = 0
EditCaption = "Editing AUTOEXEC.BAT"
EditError1 = "A problem was encountered preparing the new autoexec.bat"
EditError2 = " "
EditError3 = "You should:"
EditError4 = "1. Review the lines that need to be added"
EditError5 = "2. Select the 'Save the required changes to new file's option"
EditError6 = "3. Continue and complete the Install Process"
EditError7 = "4. Make the changes to the autoexec.bat file later"

AddPath   = TARGET2
AddItems   = 32sMFCAutoexecAddItems
RemItems   = 32sMFCAutoexecRemItems

[32sMFCAutoexecRemItems]
"set include=*"
"set lib=*"
"set help=*"

[32sMFCAutoexecAddItems]
"set include=|s\include;|s\include\win16;|s\include\win32;|s\mfc\include", target, target, target, target
"set lib=|s\lib;|s\mfc\lib", TARGET, TARGET
"set help=%s\help", TARGET


;////////////////// DOS only

[AutoexecSCPP]
caption   = "Symantec C++ 6.0 -- Modify AUTOEXEC.BAT File"
text1    = "The following line(s) need to be changed in your autoexec.bat file:"
FileSpec   = c:\autoexec.bat
filetype = autoexec
rem1 = "rem"            
rem2 =
rem3 =
rem4 =
findrems = 0
EditCaption = "Editing AUTOEXEC.BAT"
EditError1 = "A problem was encountered preparing the new autoexec.bat"
EditError2 = " "
EditError3 = "You should:"
EditError4 = "1. Review the lines that need to be added"
EditError5 = "2. Select the 'Save the required changes to new file's option"
EditError6 = "3. Continue and complete the Install Process"
EditError7 = "4. Make the changes to the autoexec.bat file later"

AddPath   = TARGET2
AddItems   = AutoexecAddItems
RemItems   = AutoexecRemItems

[AutoexecRemItems]
"set include=*"
"set lib=*"
"set help=*"

[AutoexecAddItems]
"set include=%s\include", target
"set lib=%s\lib", TARGET


;///////////////////////////////// system.ini modifications

[DelVxds]
IniName = system.ini
SectionName = 386enh
device = *vcv.386
device = *cvw1.386
device = *vmb.386
device = *tddebug.386
device = *mslook.386
device = *windebug.386
device = *scwdebug.386

[AddVxds]
IniName = system.ini
SectionName = 386enh
device = %s\scwdebug.386, target2
device = %s\windebug.386, target2

;///////////////////////////////// win.ini modifications
[BSExtenDel]
IniName = win.ini
SectionName = Extensions
WMP = *WMP
WM5 = *WM5

[BSExtenAdd]
IniName = win.ini
SectionName = Extensions
WMP=%s\VPRG.EXE ^.WMP, target2
WM5=%s\VPRG.EXE ^.WM5, target2

[BSBlueDel]
IniName = win.ini
SectionName = "Blue Sky SWC"
VPRG=*ini
"EFM Setup File"=*ini
"Settings Directory"=*settings

[BSBlueAdd]
IniName = win.ini
SectionName = "Blue Sky SWC"
VPRG= %s\vprg.ini, target2
"EFM Setup File"= %s\efm.ini, target2
"Settings Directory"= %s\settings, target2
WINSMFC=%s\winsmfc.ini, target2

;///////////////////////////////// ndw.ini modifications
[AddViewer-Filemap]
IniName=ndw.ini
SectionName=Viewer-Filemap
TXT=DOC.PRS
DOC=DOC.PRS
WPS=DOC.PRS
SAM=DOC.PRS
BAT=DOC.PRS
INI=DOC.PRS
SYS="DOC.PRS HEX.PRS"
EXE=PROG.PRS
DLL=PROG.PRS
PRS=PROG.PRS
DSP=PROG.PRS
NSS=PROG.PRS
OVL=PROG.PRS
OVR=PROG.PRS
OV1=PROG.PRS
OV2=PROG.PRS
OV3=PROG.PRS
OV4=PROG.PRS
COM="PROG.PRS HEX.PRS"
ZIP=ZIP.PRS
ZOO=ZIP.PRS
ARC=ZIP.PRS
PAK=ZIP.PRS
LZH=ZIP.PRS
_SE="DOC.PRS HEX.PRS"

[AddViewer-Parsers]
IniName=ndw.ini
SectionName=Viewer-Parsers
DOC.PRS="Documents & Text"
ZIP.PRS="Compressed Archives"
PROG.PRS=Programs
HEX.PRS="Hex Dump"

[OldViewer-Filemap]
IniName = ndw.ini
SectionName = Viewer-Filemap     
TXT=*
DOC=*
WPS=*
SAM=*
BAT=*
INI=*
SYS=*
EXE=*
DLL=*
PRS=*
DSP=*
NSS=*
OVL=*
OVR=*
OV1=*
OV2=*
OV3=*
OV4=*
COM=*
ZIP=*
ZOO=*
ARC=*
PAK=*
LZH=*
_SE=*

[OldViewer-Parsers]
IniName = ndw.ini
SectionName = Viewer-Parsers
DOC.PRS=*
ZIP.PRS=*
PROG.PRS=*
HEX.PRS=*


;///////////////////////////////// Target options

[SetTarget2ToBin]
reset = TARGET2
location = %s\bin, TARGET

[SetTarget3ToHelp]
reset = TARGET3
location = %s\help, TARGET

[SetTarget4ToWin32sInstDir]
reset = TARGET4
location = %s\win32s\floppy, TARGET

[SetTarget5ToBin]
reset = TARGET5
location = %s\bin, TARGET

[CDSetTarget2ToBin]
reset = TARGET2
location = %s\bin, SOURCE

[CDSetTarget3ToHelp]
reset = TARGET3
location = %s\help, SOURCE

[CDSetTarget4ToWin32sInstDir]
reset = TARGET4
location = %s\win32s\floppy, SOURCE

[CDSetTarget5ToLocalBin]
reset = TARGET5
location = %s\bin, TARGET

;//////////////////////////////////////////////// Additional Routines

[TargetDrive]
caption =  "Install Symantec C++ To..."
defpath =  C:\SC
text   =  "Please select the drive and directory you wish to install Symantec C++ to:"
reqspace=  "Approximate disk space required"

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

[OriginalSysFiles]
system.ini, system.sc0, WINDOWS, WINDOWS
win.ini, win.sc0, WINDOWS, WINDOWS
c:\autoexec.bat, c:\autoexec.sc0, DUMMY, DUMMY

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

[cancel]
caption = "Symantec C++ Install"
text   = "Are you sure you want to exit?"

[cancelshell]
caption = "Symantec C++"
text = "When you cancel Install, \nWindows will exit to the DOS prompt\nso that we can reset the Windows environment.\nAre you sure you want to exit?"

[ProfPix]
color = %s\scppprof.bm_

[StdPix]
color = %s\scppstd.bm_

[WindowsVersion]
3.10        ; Note the 2 digit minor version.  This is necessary!
"Symantec C++ requires"
"Windows version 3.1 or greater."



