
|
What is K-install? | More Information | Examples | Screen Shots | Download/Buy | Getting Started | Feedback |
Getting Started
A compiled html (.chm) file detailing the construction of a K-install setup document is also available for download: K-install Programmers Guide.chm (~35k)
Common parts:
It is important that the DocTypeChecksum value and any of the DTD is not altered or the install file will fail to load. "Collection" can be edited to contain the product name to be installed or collection name. CheckName contains your company name. This is automatically added along with the Checksum value by the CheckSum Generator program. The main install script structure consists of an Initialise and Execute block. Contained in the Initialise block are instructions for user input/selection and for giving instructions to the user and defining dependencies for files and programs needed. The Execute block contains the actually install processes need. The parts of the Execute block that actually get run depends on options selected from the user. Shown Below is a very basic layout showing the two main blocks and example components contained within. <Initialize>
.... Comment text can be placed in a number of locations. The optional Icon value defines which icon is displayed alongside the text (list of icons and their value can be found in the CheckSum Gen program) Programs defined in the Initialize block e.g <ProgramDef Name="name"> can be selected by the user. Those selected are executed within the Execute block with a corresponding name e.g <ProgramExe Name="name"> <CommonExe> block contains instructions that are executed regardless of programs selected.
Chart showing main structure of K-install setup XML
|
© 1998-2001 K-solutions Ltd. All rights reserved