How i see the current extension installer not really used. The some of problems with it, this interface not really help the devs, no possibility customize the setup, depend on a online repository which not exist, impossible to use with MP2 and many more.. So i decide to rewrite from zero.
The base functionality of a installer is to copy a file to a specified location on user system. The new installer based on "providers", (maybe not the right name), with this providers it is easy to extend the system.
For updates the extension dev should provide a url were is a version descriptor xml file. This file may be hosted in google code, or in Mediaportal server. The available extensions will be browsed on mediaportal site. The installer manage (UnInstall, Update) only the installed extension. Every extension have a unique GUID so can be identified after name change too.
The installer use groups to made install option. If a group is checked the all files belong to this group will be installed.
The install wizard have sections, every section visibility may depend on a group check.
Try to make the installer with same functionality like a NSIS or a MSI installer, but with a dev friendly user interface to make this install package.
The installer have 3 parts :
MpeMaker - utility to create extension packages (this should used by the devs) and
MpeInstaller - utility to manage the extensions (Install, UnInstall)
MPEIPlugin - window plugin to manage extensions
A small To-Do list :
Links to older discussion :
This installer file format isn't compatible with older mpi format
For testing use latest SVN. To make a extension Use MPEMaker.exe and for install it use MPEInstaller.exe
So i need feedback especially from plugin devs and from skinners.
The base functionality of a installer is to copy a file to a specified location on user system. The new installer based on "providers", (maybe not the right name), with this providers it is easy to extend the system.
- InstallerType - This provide how the installer handle the files. Like "CopyFile" copy the included file to the specified location or "RegisterFont" register the included font in system.
- PathProvider - This provider transform path templates in real path in user system.
- SectionPanel - This are forms included in install wizard, like "Welcome Screen" or "Component Selector"
- ActionType - This are actions attached to the panels like ("Install files", "Kill process")
For updates the extension dev should provide a url were is a version descriptor xml file. This file may be hosted in google code, or in Mediaportal server. The available extensions will be browsed on mediaportal site. The installer manage (UnInstall, Update) only the installed extension. Every extension have a unique GUID so can be identified after name change too.
The installer use groups to made install option. If a group is checked the all files belong to this group will be installed.
The install wizard have sections, every section visibility may depend on a group check.
Try to make the installer with same functionality like a NSIS or a MSI installer, but with a dev friendly user interface to make this install package.
The installer have 3 parts :
MpeMaker - utility to create extension packages (this should used by the devs) and
MpeInstaller - utility to manage the extensions (Install, UnInstall)
MPEIPlugin - window plugin to manage extensions
A small To-Do list :
- Installer type
- Font installer - done
- Generic Skin installer - done
- Actions
- Shortcut creation on a specified location done
- Included package installer done
- Register DirectShow filter
- Add registry key to windows registry
- Lunch separated application - done
- Add settings to MP
- Create folder - done
- Kill running task - done
- Clear skin cache - done
- Show message box - done
- Wizard sections
- Wizard section with radio buttons
- Wizard section with check boxes - done
- More customizable Wizard sections (Title, log, etc) - done
- Script capabilities CSScriptLibrary - done
- Misc
- Version checking - done
- Compatibility with Vista and W7 - done
- Support for tv server plugins - done
- Uninstall - done
- Update checking - done
- Plugin for The Installer
- List for installed extensions done
Links to older discussion :
This installer file format isn't compatible with older mpi format
For testing use latest SVN. To make a extension Use MPEMaker.exe and for install it use MPEInstaller.exe
So i need feedback especially from plugin devs and from skinners.
Argentina