home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 2 / Chip_Hitware_Vol_02.iso / chiphit2 / tools / desktop / setup_b / setup.spj < prev    next >
Text File  |  1995-06-17  |  9KB  |  207 lines

  1. # Setup builder generated ProJect file - Do not modify
  2.  
  3. FILETYPE=BUILDER_PROJECT
  4. FILEVER=309
  5. PROJDIR=C:\SB\INSTALL\
  6. APPNAME=Setup Builder
  7. DEFPATH=C:\SETUP
  8. PROJATTRIBS=1,1,1,1
  9. LICENSEINI=BUILDER.INI
  10. DISKLABEL=DISK
  11. COMMENTS=//~~// Setup procedure for installing/de-installing:~~//~~// SETUP / SETUP BUILDER~~//
  12. SETUPFILE=SETUP.INF
  13. ENCRIPT=0
  14. RESERVE=16
  15. SPLITSIZE=100
  16. BACKDROP1=1,
  17. BACKDROP2=1,
  18. BACKDROP3=1,
  19. BACKDROP4=1,
  20. BACKATTR1=50,255,255,255
  21. BACKTEXT1=|    Setup Builder Installation
  22. BACKATTR2=17,255,255,255
  23. BACKTEXT2=    Install created using Setup Builder Version 3.08|    Copyright (c) 1993, 1994, 1995 G.Plowman|
  24. BACKATTR3=50,255,255,255
  25. BACKTEXT3=
  26. BACKATTR4=50,255,255,255
  27. BACKTEXT4=
  28. PMGROUP=1,0,0,0,0,0
  29. GRPCAPFILE=%Application%
  30. WELCOME1=Welcome to the %Application% Installation Program.
  31. WELCOME2=This program will install the %Application% software in the directory you specify or it will remove the software from your hard disk.
  32. ASKPATH1=The install program will copy the %Application% files into the following directory:
  33. LICENSE1=Please enter the following licensing information for the %Application% software:
  34. ERROR1=An error occured during installation of the %Application% software.
  35. ERROR2=|The %Application% software has not been fully installed.
  36. QUIT1=Installation has been terminated. You should rerun this installation program at a later time to install %Application%.
  37. QUIT2=|The %Application% software has not been installed.
  38. SUCCESS1=|%Application% installation has been successfully completed.
  39. SUCCESS2=
  40. PROJDATE=17/06/1995
  41. PROJTIME=10:37:24
  42. USERCODE1=GetProfileString("Install", "Path", "%InstallPath%", "%IniFile%", %InstallPath%)
  43. USERCODE2=// Save the install directory~~WriteProfileString("Install", "Path", "%InstallPath%", "%IniFile%")~~WriteProfileString("Install", "Version", "3.08", "%IniFile%")~~~~// Make the temporary directory~~MkDir("%WindowsDirectory%TEMP")~~WriteProfileString("Install", "TempPath", "%WindowsDirectory%TEMP", "%IniFile%")~~~~// Create an extra directory~~MkDir("%InstallPath%SAMPLES")~~
  44. USERCODE3=// Make the Program Manager Group and icons~~MakeGroup("%Application%", "")~~MakeIcon("Setup Builder", "%InstallPath%BUILDER.EXE")~~MakeIcon("Setup Builder Help", "WINHELP %InstallPath%BUILDER.HLP")~~MakeIcon("Setup Script Help", "WINHELP %InstallPath%SETUP.HLP")~~MakeIcon("License Administrator", "%InstallPath%LADMIN.EXE %IniFile%")~~MakeIcon("Install", "A:\SETUP.EXE")~~MakeIcon("ReadMe", "notepad %InstallPath%README.TXT")~~MakeIcon("Install Notes", "notepad %InstallPath%INSTALL.TXT")~~~~// File association~~MessageBox("Setup can install a file association|for File Manager with .INF files.||Do you wish to install this association ?", "%Caption%", MB_YESNO, MB_ICONQUESTION)~~IF %ERROR% == IDNO GOTO :NOASSOC~~WriteProfileString("Extensions", "inf", "%InstallPath%inst.exe ^.inf", "WIN.INI")~~:NOASSOC~~~~// License~~GetProfileString("License", "Registration", "", "%IniFile%", %LStr%)~~IF "%LStr%" != "" GOTO :GOTIT~~GetLicense(%License%)~~WriteProfileString("License", "Registration", "%License%", "%IniFile%")~~:GOTIT~~~~// Tell Setup Builder where to find some files for creating install disks~~WriteProfileString("Executables", "Setup", "%InstallPath%setup.exe", "%IniFile%")~~WriteProfileString("Executables", "Inst", "%InstallPath%inst.exe", "%IniFile%")~~WriteProfileString("Executables", "DibAPI", "%InstallPath%dibapi.dll", "%IniFile%")
  45. USERCODE4=
  46. USERCODE5=MessageBox("Do you wish to view the|extra installation notes ?", "%Caption%", MB_YESNO, MB_ICONQUESTION)~~IF %ERROR% == IDNO GOTO :NONOTES~~~~ChDir("%InstallPath%")~~WinExec("notepad.exe %InstallPath%README.TXT")~~:NONOTES~~
  47. USERCODE6=// Change the backdrop message~~SetBackDropText(1, "|    Setup Builder De-Installation", TRUE, TRUE)~~ShowBackdrop("", FALSE, TRUE, FALSE)~~~~// Check to see if the software has been installed correctly~~GetProfileString("Install", "Path", "", "%IniFile%", %InstallPath%)~~IF "%InstallPath%" == "" GOTO :NOTINSTALLED~~~~// Software has been installed~~MessageBox("The %Application% software is about to be removed from your machine.||All files, directories and the appropriate Program Manager Group will be deleted.||Are you sure you wish to continue ?", "%Caption%", MB_YESNO, MB_ICONQUESTION)~~IF %ERROR% == IDYES GOTO :DODELETE~~SET %Message1% = "De-installation aborted - the %Application% software has not been deinstalled."~~SET %Message2% = ""~~DialogBox("OKBOX")~~GOTO :END~~~~:DODELETE~~Delete("%InstallPath%SAMPLES\*.*")~~Delete("%InstallPath%*.*")~~RmDir("%InstallPath%SAMPLES")~~SET %Len% = Len("%InstallPath%") - 1~~SET %InstallPath% = Left("%InstallPath%", %Len%)~~RmDir("%InstallPath%")~~Delete("%WindowsDirectory%%IniFile%")~~Delete("%WindowsDirectory%COMPRESS.EXE")~~Delete("%WindowsDirectory%COMPRESS.TXT")~~DeleteGroup("%Application%")~~~~// Finally file manager item~~WriteProfileString("Extensions", "inf", "", "WIN.INI")~~~~SET %Message1% = "The %Application% software has been successfully de-installed."~~SET %Message2% = "To re-install the %Application% software you should re-run this installation program."~~DialogBox("OKBOX")~~GOTO :END~~~~:NOTINSTALLED~~SET %Message1% = "The %Application% software has not been correctly installed."~~SET %Message2% = "The De-installation procedure is unable to de-install the %Application% software."~~DialogBox("OKBOX")~~GOTO :END
  48. USERCODE7=
  49. USERCODE8=
  50. USERCODE9=
  51. USERCODE10=
  52. USERCODE11=
  53. USERCODE12=
  54. FILE1=C:\SB\SETUP\SETUP.EXE
  55. TARGET1=%InstallPath%
  56. COMMENT1=Copying: Interpreter Executable
  57. ICONTEXT1=
  58. PARAMS1=
  59. ICONINFO1=0,
  60. DEFPATH1=
  61. OVERTEXT1=
  62. FLAGS1=0,0,0,0,0,1,0,0,0,
  63. FILE2=C:\SB\INST\INST.EXE
  64. TARGET2=%InstallPath%
  65. COMMENT2=Copying: Interpreter Executable
  66. ICONTEXT2=
  67. PARAMS2=
  68. ICONINFO2=0,
  69. DEFPATH2=
  70. OVERTEXT2=
  71. FLAGS2=0,0,0,0,0,1,0,0,0,
  72. FILE3=C:\SB\BUILDER\BUILDER.EXE
  73. TARGET3=%InstallPath%
  74. COMMENT3=Copying: Setup Builder Executable
  75. ICONTEXT3=
  76. PARAMS3=
  77. ICONINFO3=0,
  78. DEFPATH3=
  79. OVERTEXT3=
  80. FLAGS3=0,0,0,0,0,1,0,0,0,
  81. FILE4=C:\SB\BUILDER\HELP\BUILDER.HLP
  82. TARGET4=%InstallPath%
  83. COMMENT4=Copying: Setup Builder Help File
  84. ICONTEXT4=
  85. PARAMS4=
  86. ICONINFO4=0,
  87. DEFPATH4=
  88. OVERTEXT4=
  89. FLAGS4=0,0,0,0,0,1,0,0,0,
  90. FILE5=C:\SB\HELP\SETUP.HLP
  91. TARGET5=%InstallPath%
  92. COMMENT5=Copying: Setup Script Language Help File
  93. ICONTEXT5=
  94. PARAMS5=
  95. ICONINFO5=0,
  96. DEFPATH5=
  97. OVERTEXT5=
  98. FLAGS5=0,0,0,0,0,1,0,0,0,
  99. FILE6=C:\SB\INSTALL\COMPRESS.EXE
  100. TARGET6=%WindowsDirectory%
  101. COMMENT6=Copying: Compression Utility
  102. ICONTEXT6=
  103. PARAMS6=
  104. ICONINFO6=0,
  105. DEFPATH6=
  106. OVERTEXT6=
  107. FLAGS6=0,0,0,0,0,1,0,1,1,
  108. FILE7=C:\SB\INSTALL\COMPRESS.TXT
  109. TARGET7=%WindowsDirectory%
  110. COMMENT7=Copying: Compression Utility
  111. ICONTEXT7=
  112. PARAMS7=
  113. ICONINFO7=0,
  114. DEFPATH7=
  115. OVERTEXT7=
  116. FLAGS7=0,0,0,0,0,1,0,1,1,
  117. FILE8=C:\SB\INSTALL\DOSEXEC.PIF
  118. TARGET8=%WindowsDirectory%
  119. COMMENT8=Copying: PIF File
  120. ICONTEXT8=
  121. PARAMS8=
  122. ICONINFO8=0,
  123. DEFPATH8=
  124. OVERTEXT8=
  125. FLAGS8=0,0,0,0,0,1,0,0,0,
  126. FILE9=C:\SB\INSTALL\DIBAPI.DLL
  127. TARGET9=%InstallPath%
  128. COMMENT9=Copying: Dynamic Link Library
  129. ICONTEXT9=
  130. PARAMS9=
  131. ICONINFO9=0,
  132. DEFPATH9=
  133. OVERTEXT9=
  134. FLAGS9=0,0,0,0,0,1,0,0,0,
  135. FILE10=C:\LADMIN\LADMIN.EXE
  136. TARGET10=%InstallPath%
  137. COMMENT10=Copying: License Administration Utility
  138. ICONTEXT10=
  139. PARAMS10=
  140. ICONINFO10=0,
  141. DEFPATH10=
  142. OVERTEXT10=
  143. FLAGS10=0,0,0,0,0,1,0,0,0,
  144. FILE11=C:\SWM\INVOICE.TXT
  145. TARGET11=%InstallPath%
  146. COMMENT11=Copying: Supporting Documentation
  147. ICONTEXT11=
  148. PARAMS11=
  149. ICONINFO11=0,
  150. DEFPATH11=
  151. OVERTEXT11=
  152. FLAGS11=0,0,0,0,0,1,0,0,0,
  153. FILE12=C:\SWM\COMMENTS.TXT
  154. TARGET12=%InstallPath%
  155. COMMENT12=Copying: Supporting Documentation
  156. ICONTEXT12=
  157. PARAMS12=
  158. ICONINFO12=0,
  159. DEFPATH12=
  160. OVERTEXT12=
  161. FLAGS12=0,0,0,0,0,1,0,0,0,
  162. FILE13=C:\SB\INSTALL\INSTALL.TXT
  163. TARGET13=%InstallPath%
  164. COMMENT13=Copying: Supporting Documentation
  165. ICONTEXT13=
  166. PARAMS13=
  167. ICONINFO13=0,
  168. DEFPATH13=
  169. OVERTEXT13=
  170. FLAGS13=0,0,0,0,0,1,0,0,0,
  171. FILE14=C:\SB\INSTALL\README.TXT
  172. TARGET14=%InstallPath%
  173. COMMENT14=Copying: Supporting Documentation
  174. ICONTEXT14=
  175. PARAMS14=
  176. ICONINFO14=0,
  177. DEFPATH14=
  178. OVERTEXT14=
  179. FLAGS14=0,0,0,0,0,1,0,0,0,
  180. FILE15=C:\SB\INSTALL\FILE_ID.DIZ
  181. TARGET15=
  182. COMMENT15=
  183. ICONTEXT15=
  184. PARAMS15=
  185. ICONINFO15=0,
  186. DEFPATH15=
  187. OVERTEXT15=
  188. FLAGS15=0,0,0,0,0,0,0,0,0,
  189. FILE16=C:\SB\INSTALL\SETUP.SPJ
  190. TARGET16=%InstallPath%SAMPLES
  191. COMMENT16=Copying: Sample Setup Project
  192. ICONTEXT16=
  193. PARAMS16=
  194. ICONINFO16=0,
  195. DEFPATH16=
  196. OVERTEXT16=
  197. FLAGS16=0,0,0,0,0,1,0,0,0,
  198. FILE17=C:\SB\INSTALL\SETUP.INF
  199. TARGET17=%InstallPath%SAMPLES
  200. COMMENT17=Copying: Sample Setup Project
  201. ICONTEXT17=
  202. PARAMS17=
  203. ICONINFO17=0,
  204. DEFPATH17=
  205. OVERTEXT17=
  206. FLAGS17=0,0,0,0,0,1,0,0,0,
  207.