home *** CD-ROM | disk | FTP | other *** search
/ PC Shareware 1998 January / PCShareware-1-98.bin / programy / setupb / sample1.spj < prev    next >
Text File  |  1996-08-10  |  7KB  |  91 lines

  1. # Setup Builder generated ProJect file - Do not modify
  2.  
  3. FILETYPE=BUILDER_PROJECT
  4. FILEVER=313
  5. PROJDIR=C:\SETUP\SAMPLES\
  6. APPNAME=Test
  7. DEFPATH=C:\TEST
  8. PROJATTRIBS=1,1,1,1,0
  9. LICENSEINI=TEST.INI
  10. DISKLABEL=DISK
  11. COMMENTS=//~~// This is a sample project to demonstrate~~// a number of the features supported by~~// Setup Builder~~//
  12. SETUPFILE=SETUP.SCR
  13. ENCRIPT=0
  14. RESERVE=16
  15. SPLITSIZE=100
  16. SPACEREQD=0
  17. OPTIONALFILES=1,1,0,0
  18. OPTINSTALL1=Install Notepad
  19. OPTINSTALL2=Install Calculator
  20. PMGROUP=0,1,0,1,0,0
  21. GRPCAPFILE=%Application%
  22. LANGUAGE=0
  23. SETUPMSG=Starting %Application% Setup...
  24. CAPTION=Setup
  25. NEXTDISK=Please insert the diskette labelled '$'
  26. WELCOME1=Welcome to the %Application% Installation Program.
  27. WELCOME2=This program will install the %Application% software in the directory you specify on your hard disk.
  28. ABOUT=(Compuserve ID: 100105,536)||Setup is supplied with the Setup Builder|software and is the copyright of G.Plowman
  29. DEINST1=Please make a selection from the following options:
  30. DEINST2=Install the %Application% software
  31. DEINST3=Un-Install the %Application% software
  32. DEINST4=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 ?
  33. DEINST5=De-installation aborted - the %Application% software has not been deinstalled.
  34. DEINST6=The %Application% software has been successfully de-installed.
  35. DEINST7=To re-install the %Application% software you should re-run this|installation program.
  36. DEINST8=The %Application% software has not been correctly installed.
  37. DEINST9=The De-installation procedure is unable to de-install the %Application% software.
  38. ASKPATH1=The install program will copy the %Application% files into the following directory:
  39. SPACECHECK1=The %Application% software requires %Required% bytes of disk space and there is only %Space% bytes free on your %InstallDrive% drive.||Do you wish to continue to install the software ?
  40. INUSE1=Setup has found that the file:||$||is already in use by Windows.||Do you wish to overwrite it anyway ?
  41. MAKEGRP=Setup can create a Program Manager group|for the %Application% application.||Do you wish to create a Program|Manager group and icons ?
  42. LICENSE1=Please enter the following licensing information for|the %Application% software:
  43. ERROR1=An error occured during installation of the %Application% software.
  44. ERROR2=|The %Application% software has not been fully installed.
  45. QUIT1=Installation has been terminated. You should rerun this installation program at a later time to install %Application%.
  46. QUIT2=|The %Application% software has not been installed.
  47. SUCCESS1=|%Application% installation has been successfully completed.
  48. SUCCESS2=
  49. DIRERROR1=|Failed to create the installation directory '%MakeDir%'.
  50. DIRERROR2=|Unable to install the %Application% software in the specified directory.
  51. PROJDATE=10/08/1996
  52. PROJTIME=14:07:57
  53. BACKDROPRES1=(Default)
  54. BACKDROPRES2=(Default)
  55. BACKDROPRES3=(Default)
  56. BACKDROPRES4=(Default)
  57. BACKDROPRES5=DEFAULTBACKDROP
  58. OBJECT1=C:\SETUP\OBJECTS\DEFAULT.BKD
  59. USERCODE1=// This is where you insert script code to initialise~~// variables at the begining of the script for later use~~// by your extra script code.~~~~GetProfileString("Install", "NotePad", "0", "%IniFile%", %Option1%)~~GetProfileString("Install", "Calculator", "0", "%IniFile%", %Option2%)~~~~SET %Option1% = NOT %Option1%~~SET %Option2% = NOT %Option2%~~
  60. USERCODE2=// This is where you insert script code to do things~~// prior to file copying, but after the 'ASKPATH' dialog.~~~~// In this example, we save the installation path specified in~~// the 'ASKPATH' dialog so that the de-install feature can~~// use it at a later date. We also save the application version~~// number for future use, although we don't use it in this script.~~// Future install scripts might need to know what version of an~~// app is installed before overwriting with a new version. For~~// example, there might be file format differences.~~~~// Save the application version number~~WriteProfileString("Install", "Version", "1.00", "%IniFile%")~~~~// Save what we've installed~~WriteProfileString("Install", "Notepad", "%Option1%", "%IniFile%")~~WriteProfileString("Install", "Calculator", "%Option2%", "%IniFile%")~~
  61. USERCODE3=// This is where you insert Setup Script to do things~~// after all files have been copied from diskette.~~// Normally, this will be any manual copying of files such as~~// those specified in their attributes as 'Do not copy'.~~// Note that 'Do not copy' files are always placed on the~~// last diskettes of your installation suite so that when the~~// script processing reaches this stage, the correct diskette~~// is already in the drive.~~// You might want to check for file presence and ask for the~~// next disk if you have 'Do not copy' files spreading across~~// more than one diskette.
  62. USERCODE4=// This is where you insert Setup Script to do things~~// after Program Manager group creation, for example,~~// manually creating some more icons~~IF %PmGrp% == IDYES MakeIcon("Notepad2", "%InstallPath%notepad.exe")
  63. USERCODE5=// This is where you insert script code to do things at the~~// end of an installation, for example, running notepad.exe~~// to show a file. This appears after the 'Install Complete/Success' dialog.~~MessageBox("Do you want to view your AUTOEXEC.BAT ?", "Setup", MB_YESNO, MB_ICONQUESTION)~~IF %ERROR% == IDYES WinExec("%InstallPath%notepad.exe c:\autoexec.bat")
  64. USERCODE6=// Some parts of application de-installation must be coded manually using~~// the Setup Script language because every application installation is~~// different and requires different de-installation procedures to be used.~~// This only applies to non-standard activities done via script code during~~// the installation procedure - such as special directories being created.~~// The de-install will automatically remove all files installed, the main~~// application directory, the application .INI file and any program manager~~// group/icons which may have been created~~~~// Remove the application sub directories~~Delete("%InstallPath%TEMP\*.*")~~RmDir("%InstallPath%TEMP")~~
  65. USERCODE7=
  66. USERCODE8=
  67. USERCODE9=
  68. USERCODE10=
  69. USERCODE11=
  70. USERCODE12=
  71. FILE1=C:\WINDOWS\NOTEPAD.EXE
  72. TARGET1=%InstallPath%
  73. COMMENT1=Copying: Notepad Executable
  74. CUECARD1=
  75. ICONTEXT1=Notepad
  76. PARAMS1=c:\autoexec.bat
  77. ICONINFO1=0,
  78. DEFPATH1=
  79. OVERTEXT1=
  80. FLAGS1=0,0,1,1,0,1,0,0,1,0,1,EX_
  81. FILE2=C:\WINDOWS\CALC.EXE
  82. TARGET2=%InstallPath%
  83. COMMENT2=Copying: Calculator Executable
  84. CUECARD2=(Current)
  85. ICONTEXT2=Calculator
  86. PARAMS2=
  87. ICONINFO2=0,
  88. DEFPATH2=
  89. OVERTEXT2=
  90. FLAGS2=0,0,1,0,0,1,0,0,1,0,2,EX_
  91.