MPEI Windows Service

Discussion in 'Skins and Plugins Installer (MPEI)' started by Edalex, July 17, 2014.

  1. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,903
    Likes Received:
    709
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,223 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    Hi guys!
    I just want to tell that continuing idea of MPEM https://forum.team-mediaportal.com/categories/mediaportal-extension-manager-mpem.655/ and discussions of future of MPEI and its limitation with UAC I did some coding to make simple windows service for managing extensions.
    It's still in pre-pre-alpha stage. Source code is here https://code.google.com/p/mpeiservice/source/browse/
    It is using WCF communication protocol based on named pipes.
    Current features are:
    - install plugin by ID and version
    - uninstall plugin by ID
    - update known extensions list.
    It's my very first look in WCF so don't expect any masterpiece in code. :D
    Next to sources of service itself you can see little test client which can connect to service and install/uninstall plugins (Need VS compiling skills)
    I compiled service so at least you could test if it could be installed :D https://dl.dropboxusercontent.com/u/7658963/MPEIService.zip
    Service installation:
    - Unpack service to your MP directory in Program Files.
    - Open cmd.exe with admin rights
    - Change directory to mp's and execute command "MPEIService.exe -install" (or -uninstall to delete service)
    To test service you could run step by step debuggin with test client or probably use slightly changed MPEInstaller.exe from here
    https://dl.dropboxusercontent.com/u/7658963/MpeInstaller.zip
    Since error handling is almost missing it could fail accidently i.e. if you want to install plugin unknown to service.
    Known bugs/ not yet implemented features:
    - it can't get new extension list from mp site yet
    - all mp processes should be closed to install/uninstall extensions.
    - service only know how to install actual files and don't perform other installation actions (scripts, consecutive extension installs etc) since I'm still investigating this part of mpei
    - I compiled all files against MP 1.3 so assuming most of you are using later version it could failed to work
    Have fun and post comments :D


     
    Last edited: July 17, 2014
    • Like Like x 6
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,903
    Likes Received:
    709
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,223 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    Last edited: July 21, 2014
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!