Definition of Installation
The keyword for the Installation block definition is Installation. A global ID of a Installation should with gid_Installation. Installation definitions cannot be assigned to modules, they are global. The Installation block is the first block in each setup script. There is exact one Installation block in each setup script. In this block some important global values are assigned. A typical definition of a n Installation block in the scp projects looks like:
ProductName = "OpenOffice.org";
ProductVersion = ''680'';
DefaultDestPath = "<winprogpath>\%PRODUCTNAME%PRODUCTVERSION";
In this Installation object the variable ProductName is set to OpenOffice.org and ProductVersion is set to 680. Therefore the variables %PRODUCTNAME and %PRODUCTVERSION will contain these values. The DefaultDestPath is shown the user during the setup.