Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

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:

Installation gid_Installation
ProductName = "OpenOffice.org";
ProductVersion = ''680'';
DefaultDestPath = "<winprogpath>\%PRODUCTNAME%PRODUCTVERSION";
End

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.





Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.