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:23] – [uninstall-macro] 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 168: Line 168:
 <code xml><uninstall-macro name="%macros%/format.hemcr"/></code> <code xml><uninstall-macro name="%macros%/format.hemcr"/></code>
 Deactives and unregister the macro by path. Shall be done before the macro file is deleted. Deactives and unregister the macro by path. Shall be done before the macro file is deleted.
-  * **name** - path to the macro file on target machine.+  * **name** - path to the macro file on the target machine. You can use [[#installer_varaibles|installer variables]] withing destination name.
  
 ==== uninstall-keymap ==== ==== uninstall-keymap ====
 +<code xml><uninstall-keymap name="%keympas%/vim.xml"/></code>
 +Deactives and unregisters the keymap by path. Shall be done before the keymap file is deleted.
 +  * **name** - path to the keymap file on the target machine (normally %keymaps%/<keymap name>.xml). You can use [[#installer_varaibles|installer variables]] withing destination name.
 +
 ==== uninstall-color ==== ==== uninstall-color ====
 +<code xml><uninstall-color name="%colors%/color_highcontrast.xml"/></code>
 +Deactives and unregisters the color palette by path. Shall be done before the color palette file is deleted.
 +  * **name** - path to the color palette file on the target machine (normally %colors%/color_<palette name>.xml). You can use [[#installer_varaibles|installer variables]] withing destination name.
 +
 ==== 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: