installation:package-info

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
installation:package-info [2017/03/27 17:27] – [uninstall-color] admininstallation:package-info [2018/01/10 20:42] (current) – external edit 127.0.0.1
Line 4: Line 4:
  
 The file content is an XML document, that can be split into 3 parts: The file content is an XML document, that can be split into 3 parts:
-  * Package description +  * [[#package-description|Package description]] 
-  * Installation Instructions -> **install** +  * [[#installation-instructions|Installation Instructions]] 
-  * Uninstallation Instructions -> **uninstall**+  * [[#uninstallation-instructions|Uninstallation Instructions]]
  
 <file xml package-info.xml> <file xml package-info.xml>
Line 181: Line 181:
  
 ==== uninstall-template ==== ==== uninstall-template ====
 +<code xml><uninstall-template name="%templates%/default.cpp"/></code>
 +Deactives and unregisters the file template by path. Shall be done before the file template file is deleted.
 +  * **name** - path to the template file on the target machine (normally %templates%/default.<ext>). You can use [[#installer_varaibles|installer variables]] withing destination name.
 +
  
 ==== remove-dir ==== ==== remove-dir ====
 <code xml><remove-dir name="%{plugins}%/view-editor-toolbar"/></code> <code xml><remove-dir name="%{plugins}%/view-editor-toolbar"/></code>
 Recursively removes directory. Recursively removes directory.
-Attributes: +  * **name** - path to the directory to be deleted on the target machine. You may use [[#installer_varaibles|installer variables]] withing name attribute.
-  * **name** - path to directory to be deleted on target machine. You may use [[#installer_varaibles|installer variables]] withing name attribute.+
  
 ==== remove-file ==== ==== remove-file ====
 +<code xml><remove-file name="%{plugins}%/view-editor-toolbar/main.hejs"/></code>
 +Removes a file on target machine.
 +  * **name** - path to a file to be deleted on the target machine. You may use [[#installer_varaibles|installer variables]] withing name attribute.
 +
 ===== Installer Varaibles ===== ===== Installer Varaibles =====
 There are some buil-in variables, that can be used in installer instructions and which may simplify building of the file paths on destiantion side: There are some buil-in variables, that can be used in installer instructions and which may simplify building of the file paths on destiantion side: