home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Skins and Plugins Installer (MPEI)
The future of MPI - we need your opinion!
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ltfearme" data-source="post: 361598" data-attributes="member: 52219"><p>*It would be a good idea to introduce the notion of 'Shared' and a 'Permanent' Feature/Component when setting up a project.</p><p></p><p>Lets take an example of two plugins sharing the same file(s), it would be desirable to ensure that the component is set to 'Shared' and increment a reference counter each time the file is installed and decremented when its uninstalled. When the Counter is set to 1 before the uninstall then its safe to remove.</p><p></p><p>For 'Permanent' I think files such as 'System Fonts' should be marked as 'Permanent and/or the ability to customize which you think should be.</p><p></p><p>* Ability to launch Pre/Post Build scripts (Even better would be a built in scripting engine). A Repository could be created which contain useful functions, these could then be imported into the script for use.</p><p></p><p>* Ability to create Simple Custom Dialogs, you could allow just a handful of controls (textbox, listbox, combobox, radiooption and button). These could map to Features/Components or properties that can be used in post build scripts e.g.</p><p></p><p>Two radio buttons could map to: TVGuide (8 Rows) & TVGuide (12 Rows)</p><p></p><p> * Store Path Variables for the project, these would hold the location of the source files mapping to your components. e.g.</p><p></p><p>%SKINFILES% = D:\Development\MediaPortal\Skins\StreamedMP</p><p>%PLUGINS% = D:\Development\MediaPortal\Plugins</p><p></p><p>When adding files to the project, if the files exist in one of your Path Variables then it will use this path to define its location:</p><p></p><p>%SKINFILES%\*.xml</p><p>%PLUGINS%\trunk\MP-TVSeries\Bin\Release\MP-TVSeries.dll</p><p>%PLUGINS%\trunk\MovingPictures\Bin\Release\MovingPictures.dll</p><p></p><p>The advantage of this is that any developer can open your MPI project, setup their Path Variables and do a build.</p><p></p><p>* Ability to create Shortcuts on the Desktop/MediaPortal programs menu e.g. a Help File or link to online location of Help. This would save the user hunting for it at a later date if required.</p><p></p><p>* Suggested way of adding content to the MPI package:</p><p></p><p>First have a list of Pre-Defined Folders that can be used e.g.</p><p></p><p>SkinFolder</p><p>PluginsFolder</p><p>FontsFolder</p><p></p><p>Then the developer adds components and or additional sub-folders under each Folder:</p><p></p><p>SkinFolder</p><p>|-----xmlSkinFiles</p><p>|-----images</p><p>PluginsFolder</p><p>|-----\Windows\tvSeries</p><p>|-----\Windows\movingPics</p><p>|-----\Process\rss</p><p>FontsFolder</p><p>|-----fonts</p><p></p><p>Each component defined e.g. xmlSkinFiles would have options to add a File, Dynamic List of Files or an Exclusion List</p><p></p><p>This should be repeatable such that for each component you can add several single files plus a bunch of files of a particular file type.</p><p></p><p>You could use an Exclusion List to filter out files that you may want to separate into multiple components for feature selection e.g. multiple tvguides</p><p></p><p>The next thing that the developer would do is map all the components to a particular feature, this is so the end user can control what is going to be installed</p><p></p><p>Main (*Required/Invisible*)</p><p>|----xmlSkinFiles</p><p>|----Images</p><p>|----fonts</p><p>|----TVGUIDE8ROWS\tvguide8Rows</p><p>|----TVGUIDE12ROWS\tvguide12Rows</p><p>Plugins</p><p>|----Moving Pictures\movingPics</p><p>|----TVSeries\tvSeries</p><p></p><p>etc</p><p></p><p>All the end user would need to see is a Tree View of the Feature Names (the components would not be visible e.g. xmlSkinFiles, fonts). </p><p></p><p>The Features should have the ability to be marked as 'Required' such that it can't be removed during User Feature selection in the Install Sequence. Or you can mark as Invisible such that it cant even be seen for selection.</p><p></p><p>Features/Components are a great way to control what will get installed. I know this is a big one and probably asking too much <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="ltfearme, post: 361598, member: 52219"] *It would be a good idea to introduce the notion of 'Shared' and a 'Permanent' Feature/Component when setting up a project. Lets take an example of two plugins sharing the same file(s), it would be desirable to ensure that the component is set to 'Shared' and increment a reference counter each time the file is installed and decremented when its uninstalled. When the Counter is set to 1 before the uninstall then its safe to remove. For 'Permanent' I think files such as 'System Fonts' should be marked as 'Permanent and/or the ability to customize which you think should be. * Ability to launch Pre/Post Build scripts (Even better would be a built in scripting engine). A Repository could be created which contain useful functions, these could then be imported into the script for use. * Ability to create Simple Custom Dialogs, you could allow just a handful of controls (textbox, listbox, combobox, radiooption and button). These could map to Features/Components or properties that can be used in post build scripts e.g. Two radio buttons could map to: TVGuide (8 Rows) & TVGuide (12 Rows) * Store Path Variables for the project, these would hold the location of the source files mapping to your components. e.g. %SKINFILES% = D:\Development\MediaPortal\Skins\StreamedMP %PLUGINS% = D:\Development\MediaPortal\Plugins When adding files to the project, if the files exist in one of your Path Variables then it will use this path to define its location: %SKINFILES%\*.xml %PLUGINS%\trunk\MP-TVSeries\Bin\Release\MP-TVSeries.dll %PLUGINS%\trunk\MovingPictures\Bin\Release\MovingPictures.dll The advantage of this is that any developer can open your MPI project, setup their Path Variables and do a build. * Ability to create Shortcuts on the Desktop/MediaPortal programs menu e.g. a Help File or link to online location of Help. This would save the user hunting for it at a later date if required. * Suggested way of adding content to the MPI package: First have a list of Pre-Defined Folders that can be used e.g. SkinFolder PluginsFolder FontsFolder Then the developer adds components and or additional sub-folders under each Folder: SkinFolder |-----xmlSkinFiles |-----images PluginsFolder |-----\Windows\tvSeries |-----\Windows\movingPics |-----\Process\rss FontsFolder |-----fonts Each component defined e.g. xmlSkinFiles would have options to add a File, Dynamic List of Files or an Exclusion List This should be repeatable such that for each component you can add several single files plus a bunch of files of a particular file type. You could use an Exclusion List to filter out files that you may want to separate into multiple components for feature selection e.g. multiple tvguides The next thing that the developer would do is map all the components to a particular feature, this is so the end user can control what is going to be installed Main (*Required/Invisible*) |----xmlSkinFiles |----Images |----fonts |----TVGUIDE8ROWS\tvguide8Rows |----TVGUIDE12ROWS\tvguide12Rows Plugins |----Moving Pictures\movingPics |----TVSeries\tvSeries etc All the end user would need to see is a Tree View of the Feature Names (the components would not be visible e.g. xmlSkinFiles, fonts). The Features should have the ability to be marked as 'Required' such that it can't be removed during User Feature selection in the Install Sequence. Or you can mark as Invisible such that it cant even be seen for selection. Features/Components are a great way to control what will get installed. I know this is a big one and probably asking too much :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Skins and Plugins Installer (MPEI)
The future of MPI - we need your opinion!
Contact us
RSS
Top
Bottom