home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0210 - 0219 / ibm0210-0219 / ibm0213.tar / ibm0213 / TL6W-1.ZIP / NETUSER.IN! / NETUSER.INF
Encoding:
INI File  |  1994-04-25  |  12.3 KB  |  458 lines

  1. ;***************************************************************************
  2. ;* Time Line 6 - 1.44 Netuser Install Script                               *
  3. ;*                                                                         *
  4. ;* For use with version 3.1+ of the Symantec Install for Windows           *
  5. ;***************************************************************************
  6.  
  7.  
  8. [InstallVersion]
  9. 3.2
  10.  
  11. [process]
  12. Bitmaps.pix
  13.  
  14. NetUserInstall
  15. AllowIntlChars
  16. NetuserFiles = SetActiveCopy
  17.  
  18. switch16 = VersionSearch.VersionSearch
  19.  
  20. ResetTarget.reset3
  21. GetPrevVerSize
  22.  
  23. #if switch16
  24.    MessageBox.CopyFiles
  25. #endif
  26.  
  27. TargetDrive
  28.  
  29. switch01 = CheckDiskSpace.TARGET
  30. #ifnot switch01
  31.    MessageBox.insuffspace
  32.    Exit
  33. #endif
  34.  
  35. Backup.custdll  
  36.  
  37. switch32 = Exists.ConfigFileOnDisk
  38. #ifnot switch32
  39.   GoTo.LableOne
  40. #endif
  41.  
  42. switch14 = Verifystartup.CheckShareInConfig
  43.  
  44. #ifnot switch14
  45.    switch32 = Exists.AutoexecFileOnDisk
  46.    #ifnot switch32
  47.      GoTo.LableOne
  48.    #endif
  49.    switch15 = Verifystartup.CheckShareInAutoexec
  50.    not.switch15
  51. #else
  52.    switch15 = FALSE
  53. #endif
  54.  
  55. switch16 = Verifystartup.CheckSQLStartInAutoexec
  56.  
  57. #if switch16
  58.    switch16 = MessageYesNo.SQLStartMessage
  59. #else
  60.    switch16 = TRUE
  61. #endif
  62.  
  63. ModifyTextFile.autoexecFile
  64.  
  65. :LableOne                         
  66.  
  67. DisableUtils
  68. copy
  69. EnableUtils
  70.  
  71. CallProc.RegOLE 
  72. UpdateIni.AddAssoc
  73. UpdateIni.addodbc
  74. UpdateIni.addodbcisam
  75. UpdateIni.addodbcinst
  76. UpdateIni.TL6iniFile
  77. UpdateIni.addsystem
  78. DelFromIni.delodbcinst
  79.  
  80. groups
  81.  
  82. Backup.SaveEm
  83.  
  84. switch10=exists.CheckEm
  85. #ifnot switch10
  86.    Backup.original
  87. #endif
  88.  
  89. switch19 = MessageYesNo.Readme
  90.  
  91. #if switch19
  92.     ExecChildProcess.DisplayReadMe
  93. #endif
  94.  
  95. Delete.custdllDel
  96.  
  97. switch19 = MessageYesNo.RetrunToWindows
  98.  
  99. #if switch19
  100.     End.Bye
  101. #else
  102.     EXIT
  103. #endif
  104.  
  105. ;***************************************************************************
  106. ;* Disks                                                                   *
  107. ;***************************************************************************
  108.  
  109. [disks]
  110. 1=A:\, "Time Line 6"
  111.             
  112. [NetuserFiles]
  113. copymain.Basefiles, "Network client files", 0, Y,N,Y
  114.  
  115. [NetuserFiles.disk1]
  116. glw.exe,      "Guide Files",                  size:465664,  Link:Basefiles, TARGET
  117. guide1.gi!,   "Guide line file",              size:242932,  Link:Basefiles, TARGET 
  118. guide2.gi!,   "Guide line file",              size:1170308, Link:Basefiles, TARGET, ZIPDDIRS 
  119. UNINSTAL.INF, "Uninstall Time Line",          SIZE:17959,   Link:Basefiles, TARGET
  120. SYM1024.BMP,  "Time Line install bitmap",     SIZE:787510,  Link:BASEFILES, TARGET
  121. INSTALL.EXE,  "Time Line install program",    SIZE:37232,   Link:Basefiles, TARGET
  122. INSTBIN.EXE,  "Time Line install program",    SIZE:242976,  Link:Basefiles, TARGET
  123. SIWDLL.DLL,   "Symantec install dll",         SIZE:81760,   Link:BASEFILES, TARGET
  124. THREED.VBX,   "Time Line file",               SIZE:64544,   Link:BaseFiles, SYSTEM, VersionCheck
  125. WIDGEVB.VBX,  "Time Line file",               SIZE:33392,   Link:BaseFiles, SYSTEM, DateTimeCheck
  126. CTL3DV2.DLL,  "Three Dimension Control dll",  SIZE:33392,   Link:BaseFiles, SYSTEM, VersionCheck
  127. ODBCINST.DLL, "ODBC dll file",                SIZE:6016,    Link:BASEFILES, SYSTEM, DateTimeCheck
  128. OLE2DISP.DLL, "OLE dll file",                 SIZE:90144,   Link:BASEFILES, SYSTEM, VersionCheck
  129. OLE2NLS.DLL,  "OLE dll file",                 SIZE:99200,   Link:BASEFILES, SYSTEM, VersionCheck
  130. OLE2.DLL,     "Windows dll file",             SIZE:313344,  Link:BASEFILES, SYSTEM, DateTimeCheck
  131.  
  132.  
  133. [CheckShareInConfig]
  134. File =c:\config.sys
  135. finditems = LookforShare
  136. filetype = config
  137. findrems = 0
  138.  
  139. [CheckShareInAutoexec]
  140. File =c:\autoexec.bat
  141. finditems = LookforShare
  142. filetype = autoexec
  143. findrems = 0
  144.  
  145. [LookforShare]
  146. *share*
  147.  
  148. [CheckSQLStartInAutoexec]
  149. File =c:\autoexec.bat
  150. finditems = LookforSQL
  151. filetype = autoexec
  152. findrems = 0
  153.  
  154. [LookforSQL]
  155. "*set*SQLSTART*"
  156.  
  157. [ConfigFileOnDisk]
  158. C:\CONFIG.SYS
  159.  
  160. [AutoexecFileOnDisk]
  161. C:\AUTOEXEC.BAT
  162.  
  163. [autoexecFile]
  164. caption    = "Modifications to AUTOEXEC.BAT File"
  165. text1      = "The following modifications need to be made to your AUTOEXEC.BAT file:"
  166. filetype   = autoexec
  167. FileSpec   = c:\AUTOEXEC.BAT
  168. rem1       = "rem"
  169. EditCaption= "Edits to AUTOEXEC.BAT File"
  170. AddPath    = target
  171. DelItems   = AutoexecDelItems
  172. AddItems   = AutoexecAddItems
  173. Remitems= AutoexecRemtems
  174.  
  175. [AutoexecDelItems]
  176.  
  177. [AutoexecAddItems]
  178. "share.exe /L:500 /F:5100", switch15, putmeafterthis=shareafterthis
  179. "set SQLSTART=%s\RTSTARTW.EXE", SOURCE, putmeafterthis=shareafterthis, switch16 
  180.  
  181. [AutoexecRemtems]
  182. "set SQLSTART=*"
  183.  
  184. [shareafterthis]
  185. setpath*
  186. path=*
  187. path*
  188.                          
  189.    
  190. [CheckEm]
  191. win.tl0, WINDOWS
  192.  
  193. [TL6Ini]
  194. TL6.ini, TARGET
  195.  
  196. [SaveEm]
  197. win.ini, win.tl6, WINDOWS, WINDOWS
  198.  
  199. [original]
  200. win.ini, win.tl0, WINDOWS, WINDOWS
  201.  
  202. [RegOLE]
  203. dll      = olereg.dll
  204. function = RegisterOLE
  205.       
  206. ;***************************************************************************
  207. ;* Groups                                                                  *
  208. ;***************************************************************************
  209.  
  210. [groups]
  211. "Time Line 6",      timeline.grp
  212.  
  213. [Time Line 6]
  214. "Time Line 6",            TL6.exe,           BaseFiles,,SOURCE
  215. "Guide Line",             glw.exe,           BaseFiles,,TARGET 
  216. "TL Imp/Exp",             TLIMPEXP.EXE,      BaseFiles,,SOURCE
  217. "TL Reports",             TLREPORT.EXE,      BaseFiles,,SOURCE
  218. "Remove Time Line 6",    "install.exe /u",   BaseFiles,,TARGET
  219. "TLReadme",               README.TXT,        BaseFiles,,SOURCE
  220.       
  221. ;***************************************************************************
  222. ;* Message Text                                                            *
  223. ;***************************************************************************
  224.  
  225. [NetuserFiles:CopyDialog]
  226. caption = "Installing Time Line 6 Files..."  ; Caption of dialog
  227. posx = -10                                     ; x location of dialog
  228. posy = -10                                     ; y location of dialog
  229.  
  230. [NetuserFiles:Advo]
  231. posx = 10
  232. posy = 30 
  233. location = tllpfunc.dll
  234. count = 7
  235. bitmapsonly = 1
  236.  
  237. [AdvoDefault]
  238. posx = 10
  239. posy = 40
  240. text = AdvoText
  241.  
  242. [AdvoText]
  243. "Please take a moment to complete the Registration"
  244. "Card included with Time Line 6 program. This will ensure"
  245. "that you receive future product announcements and"
  246. "important notices."
  247. ""
  248. "Thank you for purchasing Time Line 6!"
  249.  
  250. [ExitMessage]
  251. caption  =  "Time Line 6 Installation Complete"
  252. "Congratulations. Time Line 6 has been successfully installed."
  253. " "
  254.  
  255. [VersionSearch]
  256. caption =  "Searching for Previous Version"
  257. text1   =  "Searching for a previously"
  258. text2   =  "installed version of Time Line 6."
  259. appname =  "GLW.exe"
  260. apppath =  C:\TL6
  261.  
  262. [TargetDrive]
  263. caption =  "Destination for Time Line Files"
  264. defpath =  C:\TL6
  265. text    =  "Select where you want to install Time Line 6."
  266. reqspace=  "Approximate disk space required."
  267.  
  268. [SourceDrive]
  269. caption =  "Please indicate where Time Line 6 is located on your Network."
  270. defpath =  f:\tl6
  271.  
  272. [errors]
  273. noprev  =  "Symantec Install for Windows is already running!"
  274.  
  275. [cancel]
  276. caption = "Exit Installation"
  277. text    = "Are you sure you want to exit the Time Line 6 installation?"
  278.  
  279. ;***************************************************************************
  280. ;* Assign the last 4 Targets                                               *              
  281. ;***************************************************************************
  282.  
  283. [custdll]
  284. siwvwr.exe,   siwvwr.exe,   SOURCE, WINDOWS 
  285. siwqawin.dll, siwqawin.dll, SOURCE, WINDOWS 
  286. tllpfunc.dll, tllpfunc.dll, SOURCE, WINDOWS
  287. olereg.dll,   olereg.dll,   SOURCE, WINDOWS 
  288.  
  289. [custdllDel]
  290. siwvwr.exe,   WINDOWS
  291. siwqawin.dll, WINDOWS
  292. tllpfunc.dll, WINDOWS
  293. olereg.dll,   WINDOWS 
  294.  
  295. [pix]
  296. color = %s\sym1024.bmp
  297.  
  298. [WindowsVersion]
  299. 3.1
  300. "Time Line 6 require Windows 3.1 or later."
  301.  
  302. ; =============================================================================
  303. ; ========================== Set up Copy information ==========================
  304. ; =============================================================================
  305.  
  306. [insuffspace]
  307. caption = "Insufficient Disk Space"
  308. "There is insufficient disk space. We suggest one of the following options:"
  309. ""
  310. "1) Change the destination to a different drive and/or directory where there is enough space."
  311. "2) Exit the installation and free more disk space on your drive."
  312. ""
  313.  
  314. ;***************************************************************************
  315. ;* Ini modifications                                                       *
  316. ;***************************************************************************
  317.  
  318. [AddAssoc]
  319. IniName=win.ini
  320. SectionName=Extensions
  321. tdb="%s\TL6.exe ^.tdb",SOURCE
  322. tbf="%s\TL6.exe ^.tbf",SOURCE
  323. gld="%s\gLw.exe ^.gld",TARGET 
  324. SectionName=btrieve
  325. options="/m:64 /p:4096 /f:60 /l:40"
  326. SectionName=sounds
  327. TimeLineExit=",Time Line Exit"
  328. TimeLineCoPilot=",Time Line Co-Pilot"
  329. TimeLineCoPilotOnOff=",Time Line Co-Pilot On/Off"
  330. TimeLineNewDatabase=",Time Line New Database"
  331. TimeLineOpenDatabase=",Time Line Open Database"
  332. TimeLineRecalc=",Time Line Recalc Done"
  333. TimeLineSaveDatabase=",Time Line Save Database"
  334. TimeLineStart=",Time Line Start-up"
  335. TimeLineIEStart=",Time Line Import/Export Start"
  336. TimeLineIEExit=",Time Line Import/Export Exit"
  337. TimeLineIEComplete=",Time Line Import/Export Complete"
  338. TimeLineReportsStart=",Time Line Reports Start"
  339. TimeLineReportsExit=",Time Line Reports Exit"
  340.  
  341. [addsystem]
  342. IniName=system.ini
  343. SectionName=386Enh
  344. BCLChoreInterval=500
  345.  
  346. [delodbcinst]
  347. IniName=odbcinst.ini
  348. SectionName="ODBC Drivers"
  349. TIME_LINE_TXT=Installed
  350. TIME_LINE_XLS=Installed
  351. SectionName="TIME_LINE_TXT"
  352. driver=*tltxt03.dll
  353. setup=*tltxt03.dll
  354. SectionName="TIME_LINE_XLS"
  355. driver=*tlxls03.dll
  356. setup=*tlxls03.dll
  357.  
  358. [addodbc]
  359. IniName=odbc.ini
  360. SectionName="ODBC Data Sources"
  361. "Time Line CSV Example"=TIME_LINE_CSV
  362. "Time Line Report Server"=TIME_LINE_SQL
  363. SectionName="Time Line Report Server"
  364. driver="%s\WSQLODBC.DLL", SOURCE
  365. Description="Time Line Report Server"
  366. Database="%s\DATA\SAMPLE.TDB", SOURCE
  367. Start="%s\RTSTARTw.exe -c 150K -q -b -d %%d", SOURCE
  368. SectionName="Time Line CSV Example"
  369. driver="%s\simba.dll", SOURCE
  370. Description="Time Line CSV Example"
  371. FileType=Text
  372. DataDirectory="%s\data", SOURCE
  373. ColNameHeader=True
  374. Format=CSVDelimited
  375. MaxScanRows=25
  376. CharacterSet=OEM
  377.  
  378. [addodbcisam]
  379. IniName=odbcisam.ini
  380. SectionName="Installable ISAMS"
  381. Text="%s\txtisam.dll", SOURCE
  382.  
  383. [addodbcinst]
  384. IniName=odbcinst.ini
  385. SectionName="ODBC Drivers"
  386. TIME_LINE_SQL=Installed
  387. TIME_LINE_CSV=Installed
  388. SectionName="TIME_LINE_SQL"
  389. driver="%s\wsqlodbc.dll", SOURCE
  390. setup="%s\wsqlodbc.dll", SOURCE
  391. SectionName="TIME_LINE_CSV"
  392. driver="%s\simba.dll", SOURCE
  393. setup="%s\simadmin.dll", SOURCE
  394. FileUsage=1
  395. FileExtns=*.CSV
  396. DirectConnect=0
  397.  
  398. [TL6iniFile]
  399. IniName=tl6.ini
  400. SectionName="Application Settings"
  401. "TL6 Directory Path"=%s\, SOURCE
  402.  
  403. ;***************************************************************************
  404.  
  405. [Readme]
  406. caption  =  "README File"
  407. "The README.TXT file contains valuable information that supplements the Time Line 6 User's Guide and Reference."
  408. ""
  409. "Do you want to view the README file now?"
  410.  
  411. [SQLStartMessage]
  412. caption = " SQLSTART Update"
  413. ""
  414. "The installation program has found a SET "
  415. "SQLSTART environment variable in your "
  416. "AUTOEXEC.BAT file."
  417. ""
  418. "It's recommended that you allow the installation "
  419. "program to update the SQLSTART variable to "
  420. "work with Time Line 6."
  421. ""
  422. "Select Yes to allow the updating of your "
  423. "AUTOEXEC.BAT file. Select No to ignore."
  424.  
  425. [DisplayReadMe]
  426. "siwvwr.exe /REGMSG %s\readme.txt", SOURCE
  427.  
  428. [RetrunToWindows]
  429. caption  =  "Time Line 6 Installation Complete"
  430. "Congratulations. Time Line 6 has been "
  431. "successfully installed."
  432. ""
  433. " If you modified the AUTOEXEC.BAT file during"
  434. "installation, you should exit Windows and"
  435. "reboot your computer now. Doing so will allow"
  436. "OLE functions in Time Line to operate."
  437. ""
  438. "Do you want to exit Windows now?"
  439.  
  440. [bye]
  441. caption  =  "Time Line 6 Installation Complete"
  442. ""
  443. ""
  444. ""
  445. ""
  446. "Select one of the exit options below."
  447.  
  448. [TimeLineDNE]
  449. caption= "Time Line 6"
  450. text1= "Invalid Directory."
  451.  
  452. [CopyFiles]
  453. caption = "Time Line 6 is already installed."
  454. ""
  455. "Time Line 6 is already installed on your system.
  456. ""
  457. "The directory where it was found will be the default install directory unless you change it on the next screen."
  458.