Extensions: A GUI Plugin for MediaPortal's MPEI Installer (2 Viewers)

dukus

Portal Pro
January 20, 2006
783
748
44
Home Country
Romania Romania
Re: Extensions Plugin for MpeInstaller (Updated on 08-11-2010)

I made some improvement like : silent install and after install mp is restarted. I uploaded the plugin to main repository for better testing
There are some minor skin changes like icon for popular, new, dev. pick
 

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Re: Extensions Plugin for MpeInstaller (Updated on 08-11-2010)

    Dukus, can you explain a little about how the silent install works for exe's. How does it handle error states etc.

    I will most likely need to update my installers to fully support Silent Installs so I can also look at improving this to better fit with MPEI as well.
     

    dukus

    Portal Pro
    January 20, 2006
    783
    748
    44
    Home Country
    Romania Romania
    Re: Extensions Plugin for MpeInstaller (Updated on 08-11-2010)

    Isn't a big deal, just i start the exe with /S parameter this in most cases will work, jet no other error handing are done.
     

    dukus

    Portal Pro
    January 20, 2006
    783
    748
    44
    Home Country
    Romania Romania
    Re: Extensions Plugin for MpeInstaller (Updated on 08-11-2010)

    THX, i will include in next release
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Re: Extensions Plugin for MpeInstaller (Updated on 08-11-2010)

    Hi Dukus, can you put a dialog up when the exe is executed silently...just gives a bit of feed back to the user that the installer is working behind the scenes installing silently (In some cases this can take a while).

    Just something simple, e.g. "Installation in progess, please wait..."

    What you really need to do (and I think will improve the UI a lot) is use the skins splash screen. You can create a label on top of it to display Download progress etc. It would be much better than seeing the desktop.

    btw...I just modified MP-TVSeries and StreamedMP (only tvseries is uploaded to repository so far), seems to install fine silently.

    If you are interested, we add a setup.log file in the same location as the exe was executed from (if run silently)...if the return code in that is less than 0 then its a failed install. If its Zero everything is fine.

    Typical output of setup.log:
    Code:
    [ResponseResult]
    ResultCode=0
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Re: Extensions Plugin for MpeInstaller (Updated on 08-11-2010)

    Some Bugs I noticed doing a test install today, pictures are attached to help illustrate.

    1. 'Ampersand' character is not displayed in list.

    2. Summary contains HTML characters and is not complete.

    3. Change Log button is enabled when there is no change log, well actually there is an external one but im guessing you cant do anything with that.

    4. Dialog Restart sets dialog text on Line 3, I recommend Line 1. Also I suggest you re-word text to the following:

    dlg.Line(1,"This Operation will restart MediaPortal. Do you");
    dlg.Line(2, "wish to continue?");

    5. Dialog Silent Install sets dialog text on Line 2, I recommend Line 1. Also I suggest you re-word text to the following:

    dlg.Line(1,"Would you like to run installer in Silent mode?");

    6. #itemcount is empty always in facade.
     

    Attachments

    • Ampersand.jpg
      Ampersand.jpg
      76.3 KB
    • ChangeLogEnabled.jpg
      ChangeLogEnabled.jpg
      84.4 KB
    • DialogRestart.jpg
      DialogRestart.jpg
      63.7 KB
    • SummaryHTMLTags.jpg
      SummaryHTMLTags.jpg
      100.1 KB

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Re: Extensions Plugin for MpeInstaller (Updated on 08-11-2010)

    Another issue I found on one of my pc's today is a System.UriFormatException exception, it occured straight after exiting mediaportal before downloading plugin:

    Code:
    System.UriFormatException: Invalid URI: The format of the URI could not be determined.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at MPEIHelper.DownloadFile.DownloadFile_Shown(Object sender, EventArgs e) in D:\devel\vs2005\MPEIPlugin\MPEIHelper\DownloadFile.cs:line 108
       at System.Windows.Forms.Form.OnShown(EventArgs e)
       at System.Windows.Forms.Form.CallShownEvent()
       at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
     

    dukus

    Portal Pro
    January 20, 2006
    783
    748
    44
    Home Country
    Romania Romania
    Re: Extensions Plugin for MpeInstaller (Updated on 20-11-2010)

    THX, ltfearme for feedback.
    I made some improvements, based on your suggestions (see first post for download) :
    - if mediaportal use splash screen then the installer will be use it too
    - compatibility with W7 UAC, this option may cause some discomfort for remote only users, but i don't find any solution for it
    - in info screen full description will be downloaded
    - support for externally linked files
    - removed html characters from name and descriptions

    Another issue I found on one of my pc's today is a System.UriFormatException exception, it occured straight after exiting mediaportal before downloading plugin:
    You can provide some more information like which extension you try to install when Exception occurred
     

    msj33

    MP Donator
  • Premium Supporter
  • November 30, 2005
    471
    76
    Home Country
    England England
    Re: Extensions Plugin for MpeInstaller (Updated on 20-11-2010)

    Danish Translation:)
     

    Attachments

    • da.xml
      2.6 KB

    Users who are viewing this thread

    Top Bottom