home *** CD-ROM | disk | FTP | other *** search
INI File | 1994-04-25 | 12.3 KB | 458 lines |
- ;***************************************************************************
- ;* Time Line 6 - 1.44 Netuser Install Script *
- ;* *
- ;* For use with version 3.1+ of the Symantec Install for Windows *
- ;***************************************************************************
-
-
- [InstallVersion]
- 3.2
-
- [process]
- Bitmaps.pix
-
- NetUserInstall
- AllowIntlChars
- NetuserFiles = SetActiveCopy
-
- switch16 = VersionSearch.VersionSearch
-
- ResetTarget.reset3
- GetPrevVerSize
-
- #if switch16
- MessageBox.CopyFiles
- #endif
-
- TargetDrive
-
- switch01 = CheckDiskSpace.TARGET
- #ifnot switch01
- MessageBox.insuffspace
- Exit
- #endif
-
- Backup.custdll
-
- switch32 = Exists.ConfigFileOnDisk
- #ifnot switch32
- GoTo.LableOne
- #endif
-
- switch14 = Verifystartup.CheckShareInConfig
-
- #ifnot switch14
- switch32 = Exists.AutoexecFileOnDisk
- #ifnot switch32
- GoTo.LableOne
- #endif
- switch15 = Verifystartup.CheckShareInAutoexec
- not.switch15
- #else
- switch15 = FALSE
- #endif
-
- switch16 = Verifystartup.CheckSQLStartInAutoexec
-
- #if switch16
- switch16 = MessageYesNo.SQLStartMessage
- #else
- switch16 = TRUE
- #endif
-
- ModifyTextFile.autoexecFile
-
- :LableOne
-
- DisableUtils
- copy
- EnableUtils
-
- CallProc.RegOLE
- UpdateIni.AddAssoc
- UpdateIni.addodbc
- UpdateIni.addodbcisam
- UpdateIni.addodbcinst
- UpdateIni.TL6iniFile
- UpdateIni.addsystem
- DelFromIni.delodbcinst
-
- groups
-
- Backup.SaveEm
-
- switch10=exists.CheckEm
- #ifnot switch10
- Backup.original
- #endif
-
- switch19 = MessageYesNo.Readme
-
- #if switch19
- ExecChildProcess.DisplayReadMe
- #endif
-
- Delete.custdllDel
-
- switch19 = MessageYesNo.RetrunToWindows
-
- #if switch19
- End.Bye
- #else
- EXIT
- #endif
-
- ;***************************************************************************
- ;* Disks *
- ;***************************************************************************
-
- [disks]
- 1=A:\, "Time Line 6"
-
- [NetuserFiles]
- copymain.Basefiles, "Network client files", 0, Y,N,Y
-
- [NetuserFiles.disk1]
- glw.exe, "Guide Files", size:465664, Link:Basefiles, TARGET
- guide1.gi!, "Guide line file", size:242932, Link:Basefiles, TARGET
- guide2.gi!, "Guide line file", size:1170308, Link:Basefiles, TARGET, ZIPDDIRS
- UNINSTAL.INF, "Uninstall Time Line", SIZE:17959, Link:Basefiles, TARGET
- SYM1024.BMP, "Time Line install bitmap", SIZE:787510, Link:BASEFILES, TARGET
- INSTALL.EXE, "Time Line install program", SIZE:37232, Link:Basefiles, TARGET
- INSTBIN.EXE, "Time Line install program", SIZE:242976, Link:Basefiles, TARGET
- SIWDLL.DLL, "Symantec install dll", SIZE:81760, Link:BASEFILES, TARGET
- THREED.VBX, "Time Line file", SIZE:64544, Link:BaseFiles, SYSTEM, VersionCheck
- WIDGEVB.VBX, "Time Line file", SIZE:33392, Link:BaseFiles, SYSTEM, DateTimeCheck
- CTL3DV2.DLL, "Three Dimension Control dll", SIZE:33392, Link:BaseFiles, SYSTEM, VersionCheck
- ODBCINST.DLL, "ODBC dll file", SIZE:6016, Link:BASEFILES, SYSTEM, DateTimeCheck
- OLE2DISP.DLL, "OLE dll file", SIZE:90144, Link:BASEFILES, SYSTEM, VersionCheck
- OLE2NLS.DLL, "OLE dll file", SIZE:99200, Link:BASEFILES, SYSTEM, VersionCheck
- OLE2.DLL, "Windows dll file", SIZE:313344, Link:BASEFILES, SYSTEM, DateTimeCheck
-
-
- [CheckShareInConfig]
- File =c:\config.sys
- finditems = LookforShare
- filetype = config
- findrems = 0
-
- [CheckShareInAutoexec]
- File =c:\autoexec.bat
- finditems = LookforShare
- filetype = autoexec
- findrems = 0
-
- [LookforShare]
- *share*
-
- [CheckSQLStartInAutoexec]
- File =c:\autoexec.bat
- finditems = LookforSQL
- filetype = autoexec
- findrems = 0
-
- [LookforSQL]
- "*set*SQLSTART*"
-
- [ConfigFileOnDisk]
- C:\CONFIG.SYS
-
- [AutoexecFileOnDisk]
- C:\AUTOEXEC.BAT
-
- [autoexecFile]
- caption = "Modifications to AUTOEXEC.BAT File"
- text1 = "The following modifications need to be made to your AUTOEXEC.BAT file:"
- filetype = autoexec
- FileSpec = c:\AUTOEXEC.BAT
- rem1 = "rem"
- EditCaption= "Edits to AUTOEXEC.BAT File"
- AddPath = target
- DelItems = AutoexecDelItems
- AddItems = AutoexecAddItems
- Remitems= AutoexecRemtems
-
- [AutoexecDelItems]
-
- [AutoexecAddItems]
- "share.exe /L:500 /F:5100", switch15, putmeafterthis=shareafterthis
- "set SQLSTART=%s\RTSTARTW.EXE", SOURCE, putmeafterthis=shareafterthis, switch16
-
- [AutoexecRemtems]
- "set SQLSTART=*"
-
- [shareafterthis]
- setpath*
- path=*
- path*
-
-
- [CheckEm]
- win.tl0, WINDOWS
-
- [TL6Ini]
- TL6.ini, TARGET
-
- [SaveEm]
- win.ini, win.tl6, WINDOWS, WINDOWS
-
- [original]
- win.ini, win.tl0, WINDOWS, WINDOWS
-
- [RegOLE]
- dll = olereg.dll
- function = RegisterOLE
-
- ;***************************************************************************
- ;* Groups *
- ;***************************************************************************
-
- [groups]
- "Time Line 6", timeline.grp
-
- [Time Line 6]
- "Time Line 6", TL6.exe, BaseFiles,,SOURCE
- "Guide Line", glw.exe, BaseFiles,,TARGET
- "TL Imp/Exp", TLIMPEXP.EXE, BaseFiles,,SOURCE
- "TL Reports", TLREPORT.EXE, BaseFiles,,SOURCE
- "Remove Time Line 6", "install.exe /u", BaseFiles,,TARGET
- "TLReadme", README.TXT, BaseFiles,,SOURCE
-
- ;***************************************************************************
- ;* Message Text *
- ;***************************************************************************
-
- [NetuserFiles:CopyDialog]
- caption = "Installing Time Line 6 Files..." ; Caption of dialog
- posx = -10 ; x location of dialog
- posy = -10 ; y location of dialog
-
- [NetuserFiles:Advo]
- posx = 10
- posy = 30
- location = tllpfunc.dll
- count = 7
- bitmapsonly = 1
-
- [AdvoDefault]
- posx = 10
- posy = 40
- text = AdvoText
-
- [AdvoText]
- "Please take a moment to complete the Registration"
- "Card included with Time Line 6 program. This will ensure"
- "that you receive future product announcements and"
- "important notices."
- ""
- "Thank you for purchasing Time Line 6!"
-
- [ExitMessage]
- caption = "Time Line 6 Installation Complete"
- "Congratulations. Time Line 6 has been successfully installed."
- " "
-
- [VersionSearch]
- caption = "Searching for Previous Version"
- text1 = "Searching for a previously"
- text2 = "installed version of Time Line 6."
- appname = "GLW.exe"
- apppath = C:\TL6
-
- [TargetDrive]
- caption = "Destination for Time Line Files"
- defpath = C:\TL6
- text = "Select where you want to install Time Line 6."
- reqspace= "Approximate disk space required."
-
- [SourceDrive]
- caption = "Please indicate where Time Line 6 is located on your Network."
- defpath = f:\tl6
-
- [errors]
- noprev = "Symantec Install for Windows is already running!"
-
- [cancel]
- caption = "Exit Installation"
- text = "Are you sure you want to exit the Time Line 6 installation?"
-
- ;***************************************************************************
- ;* Assign the last 4 Targets *
- ;***************************************************************************
-
- [custdll]
- siwvwr.exe, siwvwr.exe, SOURCE, WINDOWS
- siwqawin.dll, siwqawin.dll, SOURCE, WINDOWS
- tllpfunc.dll, tllpfunc.dll, SOURCE, WINDOWS
- olereg.dll, olereg.dll, SOURCE, WINDOWS
-
- [custdllDel]
- siwvwr.exe, WINDOWS
- siwqawin.dll, WINDOWS
- tllpfunc.dll, WINDOWS
- olereg.dll, WINDOWS
-
- [pix]
- color = %s\sym1024.bmp
-
- [WindowsVersion]
- 3.1
- "Time Line 6 require Windows 3.1 or later."
-
- ; =============================================================================
- ; ========================== Set up Copy information ==========================
- ; =============================================================================
-
- [insuffspace]
- caption = "Insufficient Disk Space"
- "There is insufficient disk space. We suggest one of the following options:"
- ""
- "1) Change the destination to a different drive and/or directory where there is enough space."
- "2) Exit the installation and free more disk space on your drive."
- ""
-
- ;***************************************************************************
- ;* Ini modifications *
- ;***************************************************************************
-
- [AddAssoc]
- IniName=win.ini
- SectionName=Extensions
- tdb="%s\TL6.exe ^.tdb",SOURCE
- tbf="%s\TL6.exe ^.tbf",SOURCE
- gld="%s\gLw.exe ^.gld",TARGET
- SectionName=btrieve
- options="/m:64 /p:4096 /f:60 /l:40"
- SectionName=sounds
- TimeLineExit=",Time Line Exit"
- TimeLineCoPilot=",Time Line Co-Pilot"
- TimeLineCoPilotOnOff=",Time Line Co-Pilot On/Off"
- TimeLineNewDatabase=",Time Line New Database"
- TimeLineOpenDatabase=",Time Line Open Database"
- TimeLineRecalc=",Time Line Recalc Done"
- TimeLineSaveDatabase=",Time Line Save Database"
- TimeLineStart=",Time Line Start-up"
- TimeLineIEStart=",Time Line Import/Export Start"
- TimeLineIEExit=",Time Line Import/Export Exit"
- TimeLineIEComplete=",Time Line Import/Export Complete"
- TimeLineReportsStart=",Time Line Reports Start"
- TimeLineReportsExit=",Time Line Reports Exit"
-
- [addsystem]
- IniName=system.ini
- SectionName=386Enh
- BCLChoreInterval=500
-
- [delodbcinst]
- IniName=odbcinst.ini
- SectionName="ODBC Drivers"
- TIME_LINE_TXT=Installed
- TIME_LINE_XLS=Installed
- SectionName="TIME_LINE_TXT"
- driver=*tltxt03.dll
- setup=*tltxt03.dll
- SectionName="TIME_LINE_XLS"
- driver=*tlxls03.dll
- setup=*tlxls03.dll
-
- [addodbc]
- IniName=odbc.ini
- SectionName="ODBC Data Sources"
- "Time Line CSV Example"=TIME_LINE_CSV
- "Time Line Report Server"=TIME_LINE_SQL
- SectionName="Time Line Report Server"
- driver="%s\WSQLODBC.DLL", SOURCE
- Description="Time Line Report Server"
- Database="%s\DATA\SAMPLE.TDB", SOURCE
- Start="%s\RTSTARTw.exe -c 150K -q -b -d %%d", SOURCE
- SectionName="Time Line CSV Example"
- driver="%s\simba.dll", SOURCE
- Description="Time Line CSV Example"
- FileType=Text
- DataDirectory="%s\data", SOURCE
- ColNameHeader=True
- Format=CSVDelimited
- MaxScanRows=25
- CharacterSet=OEM
-
- [addodbcisam]
- IniName=odbcisam.ini
- SectionName="Installable ISAMS"
- Text="%s\txtisam.dll", SOURCE
-
- [addodbcinst]
- IniName=odbcinst.ini
- SectionName="ODBC Drivers"
- TIME_LINE_SQL=Installed
- TIME_LINE_CSV=Installed
- SectionName="TIME_LINE_SQL"
- driver="%s\wsqlodbc.dll", SOURCE
- setup="%s\wsqlodbc.dll", SOURCE
- SectionName="TIME_LINE_CSV"
- driver="%s\simba.dll", SOURCE
- setup="%s\simadmin.dll", SOURCE
- FileUsage=1
- FileExtns=*.CSV
- DirectConnect=0
-
- [TL6iniFile]
- IniName=tl6.ini
- SectionName="Application Settings"
- "TL6 Directory Path"=%s\, SOURCE
-
- ;***************************************************************************
-
- [Readme]
- caption = "README File"
- "The README.TXT file contains valuable information that supplements the Time Line 6 User's Guide and Reference."
- ""
- "Do you want to view the README file now?"
-
- [SQLStartMessage]
- caption = " SQLSTART Update"
- ""
- "The installation program has found a SET "
- "SQLSTART environment variable in your "
- "AUTOEXEC.BAT file."
- ""
- "It's recommended that you allow the installation "
- "program to update the SQLSTART variable to "
- "work with Time Line 6."
- ""
- "Select Yes to allow the updating of your "
- "AUTOEXEC.BAT file. Select No to ignore."
-
- [DisplayReadMe]
- "siwvwr.exe /REGMSG %s\readme.txt", SOURCE
-
- [RetrunToWindows]
- caption = "Time Line 6 Installation Complete"
- "Congratulations. Time Line 6 has been "
- "successfully installed."
- ""
- " If you modified the AUTOEXEC.BAT file during"
- "installation, you should exit Windows and"
- "reboot your computer now. Doing so will allow"
- "OLE functions in Time Line to operate."
- ""
- "Do you want to exit Windows now?"
-
- [bye]
- caption = "Time Line 6 Installation Complete"
- ""
- ""
- ""
- ""
- "Select one of the exit options below."
-
- [TimeLineDNE]
- caption= "Time Line 6"
- text1= "Invalid Directory."
-
- [CopyFiles]
- caption = "Time Line 6 is already installed."
- ""
- "Time Line 6 is already installed on your system.
- ""
- "The directory where it was found will be the default install directory unless you change it on the next screen."
-