Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| installation:package-info [2017/03/27 17:18] – [install-syntax] admin | installation: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 | + | * [[# |
| - | * Installation Instructions | + | * [[# |
| - | * Uninstallation Instructions | + | * [[# |
| <file xml package-info.xml> | <file xml package-info.xml> | ||
| Line 127: | Line 127: | ||
| <code xml>< | <code xml>< | ||
| Registers and activates macro from the given path on target machine. The instruction shall be called after all necessary files are already copied to target directory. | Registers and activates macro from the given path on target machine. The instruction shall be called after all necessary files are already copied to target directory. | ||
| - | |||
| - | Attributes: | ||
| * **path** - path to macro to install on the target machine. You can use [[# | * **path** - path to macro to install on the target machine. You can use [[# | ||
| Line 141: | Line 139: | ||
| <code xml>< | <code xml>< | ||
| Registers and activates color palette from the given path on target machine. The instruction shall be called after all necessary files are already copied to target directory. | Registers and activates color palette from the given path on target machine. The instruction shall be called after all necessary files are already copied to target directory. | ||
| - | |||
| - | Attributes: | ||
| * **path** - path to keyboard mapping to install on the target machine. You can use [[# | * **path** - path to keyboard mapping to install on the target machine. You can use [[# | ||
| Line 148: | Line 144: | ||
| <code xml>< | <code xml>< | ||
| Registers and activates file template from the given path on target machine. The instruction shall be executed after all necessary files are already copied to target directory. | Registers and activates file template from the given path on target machine. The instruction shall be executed after all necessary files are already copied to target directory. | ||
| - | |||
| - | Attributes: | ||
| * **path** - path to file template to install on the target machine. You can use [[# | * **path** - path to file template to install on the target machine. You can use [[# | ||
| Line 164: | Line 158: | ||
| <code xml>< | <code xml>< | ||
| Deactives and unregister the plugin by ID. Shall be done before the plugin files are deleted. | Deactives and unregister the plugin by ID. Shall be done before the plugin files are deleted. | ||
| - | Attributes: | ||
| * **id** - unique ID of the plugin (defined in plugin bundle and in the plugin itself). | * **id** - unique ID of the plugin (defined in plugin bundle and in the plugin itself). | ||
| ==== uninstall-syntax ==== | ==== uninstall-syntax ==== | ||
| + | <code xml>< | ||
| + | Deactives and unregister the syntax scheme by ID. Shall be done before the syntax files are deleted. | ||
| + | * **id** - unique ID of the syntax (defined in plugin bundle and in the syntax scheme itself). | ||
| + | |||
| ==== uninstall-macro ==== | ==== uninstall-macro ==== | ||
| + | <code xml>< | ||
| + | Deactives and unregister the macro by path. Shall be done before the macro file is deleted. | ||
| + | * **name** - path to the macro file on the target machine. You can use [[# | ||
| + | |||
| ==== uninstall-keymap ==== | ==== uninstall-keymap ==== | ||
| + | <code xml>< | ||
| + | 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%/< | ||
| + | |||
| ==== uninstall-color ==== | ==== uninstall-color ==== | ||
| + | <code xml>< | ||
| + | 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%/ | ||
| + | |||
| ==== uninstall-template ==== | ==== uninstall-template ==== | ||
| + | <code xml>< | ||
| + | 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%/ | ||
| + | |||
| ==== remove-dir ==== | ==== remove-dir ==== | ||
| <code xml>< | <code xml>< | ||
| Recursively removes directory. | Recursively removes directory. | ||
| - | Attributes: | + | |
| - | | + | |
| ==== remove-file ==== | ==== remove-file ==== | ||
| + | <code xml>< | ||
| + | Removes a file on target machine. | ||
| + | * **name** - path to a file to be deleted on the target machine. You may use [[# | ||
| + | |||
| ===== 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: | ||