home *** CD-ROM | disk | FTP | other *** search
- ' ^^^^^^^^^^
- ' This program is configured in table part: Choose radio button Table
- ' First table has only one element in each line
- ' for information of the program.
- Table prgInfos
- ' Name of the program for outputs.
- ' Please enter the program name, which the user should read in hints
- "My program name"
- ' The to be installed program isn't allowed to run during installation
- ' For this check give the file name of the program with extension but without path
- "MyPrg.exe"
- ' During first installation you should give the user a default path.
- ' This example gets the Windows directory, goes up a directory and
- ' expands the given name.
- ' Hint: Only the last part of the string will be used, i.e.
- ' 'test\stepone' gives 'stepone'.
- "MyPath"
-
- ' If your application uses a database which needs SHARE.EXE, change the value to "-1"
- ' otherwise let the item "0".
- "0"
- EndTable
-
- ' Place here all VBX and DLL files, which your program needs.
- ' This files will be checked for:
- ' - they are loaded in the users system
- ' - they are installed incorrectly in the users Windows directory
- Table vbxtable
- ' "util1.vbx","util2.dll" 'aso.
- EndTable
-
- ' Place here all files which should be installed in the target directory.
- ' The simples possibility:
- ' 1. Create a directory
- ' 2. Copy all files of the program you've to install in the directory
- ' 3. Start Compress.exe in this directory from DOS-Prompt as 'compress *.* -r'.
- ' 4. Choose all files, with underscore as last character of the file extension, i.e. in File Manager, but not the
- ' files which are also used from other programs, i.e. .DLLs or .VBXs, position the cursor in the line
- ' and the files drop. StepIt creates the following table and asks you for the name of the disk and a comment.
- ' See project stepone.prj for an example of a file table.
- Table targettable
- ' medium name
- ' | packed file name
- ' | | expanded name
- ' | | | packed length
- ' | | | | expanded length
- ' | | | | | comment
- ' | | | | | |
- ' A space as comment shows the last comment
- ' Its allowed to use relative paths like 'redist\stepone.exe'.
- ' Not allowed will be: '..\stepone.exe' !
- ' The optional 7th parameter can overwrite the global copy type
- ' for CopyFileTable for this line. Here we use copy type 5 because
- ' the files in the directory REDIST shouldn't be expanded.
- EndTable
-
- ' Use this table for the files which should be installed in the System directory
- Table systemtable
- ' disk name
- ' | packed name
- ' | | expanded name
- ' | | | packed length
- ' | | | | expanded length
- ' | | | | | comment
- ' | | | | | |
- EndTable
-
- ' How to edit the registration database
- Table regbasetable
- ' Type = CMD or DDE. DDE = uses DDE to load a document
- ' | Extension
- ' | | Name
- ' | | | file type
- ' | | | | file name for 'open' command
- ' | | | | | DDE message DDE application DDE theme
- ' | | | | | | | |
- EndTable
-
- Table prgmantable
- ' group name
- ' | name of the program
- ' | | text for icon
- ' | | |
- EndTable
-
- Table initable
- ' Name of INI file
- ' | section name
- ' | | key
- ' | | | value
- ' | | | |
- EndTable
-