(original thread)Extension installer - new way to install extensions | Page 4

Discussion in 'Skins and Plugins Installer (MPEI)' started by dukus, February 25, 2007.

Thread Status:
Not open for further replies.
  1. carreno
    • Premium Supporter

    carreno Moderateur

    Joined:
    July 31, 2005
    Messages:
    251
    Likes Received:
    25
    Location:
    France
    Ratings:
    +25 / 0
    Home Country:
    France France
    News, dukus?


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. dukus

    dukus Portal Pro

    Joined:
    January 20, 2006
    Messages:
    783
    Likes Received:
    370
    Ratings:
    +371 / 0
    Home Country:
    Romania Romania
    I make some progress...
    News:
    - Customize the setup (in single setup file, you may include more version of a single file, like SVN and stable version of same plugin )
    - Post setup action (when the setup done, run the configuration.exe or a plugin setup)

    In dukus.extra.hu the upload option is available, just registration needed.

    Thx, goes to Fr team, zebons, Scubefr.

    :D
     
  4. zebons

    zebons Portal Pro

    Joined:
    January 2, 2006
    Messages:
    1,484
    Likes Received:
    114
    Ratings:
    +114 / 0
    I see that finally you develop that functionnality ;-))
    Nice, how does it work ? Is it based on groups and files mapping into groups ? Where can we declare which file put on each version ?
     
  5. dukus

    dukus Portal Pro

    Joined:
    January 20, 2006
    Messages:
    783
    Likes Received:
    370
    Ratings:
    +371 / 0
    Home Country:
    Romania Romania
    In Setup->Setup Groups
    In first tab define the groups and in second tab map the files to group.
    Multiple files with same name isn't allowed, use OuputFileName properties
     
  6. zebons

    zebons Portal Pro

    Joined:
    January 2, 2006
    Messages:
    1,484
    Likes Received:
    114
    Ratings:
    +114 / 0
    And Where du you define which group for which version ?
    For file renaming it should be better to have an InputFileName Properties, so the file name change only in the package and remain the same for users no need to rename files before importing into the package.
    For example : after having imported a dll for a particular version, if you try to import the same filename for another version, MPInstaler ask to define groups first and assign the fisrt dll to one group, the internal filename become <filename>_<group> and the OutFileName is automaticly define with filename value. Now we can import the second dll without any problem and affect it to a second group. So no need to really change the real name. What do you think about ?
     
  7. dukus

    dukus Portal Pro

    Joined:
    January 20, 2006
    Messages:
    783
    Likes Received:
    370
    Ratings:
    +371 / 0
    Home Country:
    Romania Romania
    The group option was made to help making more packages in single an reuse some files to save some space and bandwidth. Distributing more version the same plugin it is a usage this option, but not necessary the only one. To support more files with same name it is difficulty, needed a lot of code changes and testing and i think usability is low it is hard to identify the files. The support site is now online it is usable and in sort time we migrate to official site, in mean time use my site.

    Unlucky nobody want to use this format, and i don't know the reason. :confused:
     
  8. moiristo

    moiristo Portal Pro

    Joined:
    November 17, 2006
    Messages:
    342
    Likes Received:
    27
    Occupation:
    Senior software developer
    Location:
    Enschede
    Ratings:
    +27 / 0
    Home Country:
    Netherlands Netherlands
    Great that you can now add two versions in one package. I've used it for the UitzendingGemist plugin and found that it works nice, apart from two things:

    1) It crashed when I tested it within MP 0.2.2 stable dir. I'm afraid you have to release two versions too :)
    2) Is it possible to have 'common files'? For example, in my plugin I use some images that are common for every skin, but it seems I have to add them for every skin I import.
     
  9. luckyme

    luckyme New Member

    Joined:
    June 9, 2007
    Messages:
    1
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Netherlands Netherlands
    When i start MPI installer it starts up great, but when I select any button it gives me the following error. Any idea how to fix this?

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.TypeLoadException: Could not load type 'MediaPortal.Configuration.Config' from assembly 'Utils, Version=1.0.2546.32604, Culture=neutral, PublicKeyToken=null'.
    at MPInstaler.MPInstallHelper..ctor()
    at MPInstaler.controlp..ctor()
    at MPInstaler.start_form.button3_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    MPInstaler
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MPInstaler.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Utils
    Assembly Version: 1.0.2546.32604
    Win32 Version: 1.0.2546.32604
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     
  10. zebons

    zebons Portal Pro

    Joined:
    January 2, 2006
    Messages:
    1,484
    Likes Received:
    114
    Ratings:
    +114 / 0
    Try that version, it's for MP stable 0.2.2 version...
     
  11. dacore944

    dacore944 Portal Member

    Joined:
    June 12, 2007
    Messages:
    19
    Likes Received:
    1
    Ratings:
    +1 / 0
    I have installed latest Media Portal v0.2.2.0 and i download the latest version of MediaInstaller date 8-6-2007 15:33 installed in the media portal directory.
    I can start the program but when i click a button i the following error.

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.TypeLoadException: Could not load type 'MediaPortal.Configuration.Config' from assembly 'Utils, Version=1.0.2546.32604, Culture=neutral, PublicKeyToken=null'.
    at MPInstaler.MPInstallHelper..ctor()
    at MPInstaler.controlp..ctor()
    at MPInstaler.start_form.button3_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    MPInstaler
    Assembly Version: 1.0.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MPInstaller.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Utils
    Assembly Version: 1.0.2546.32604
    Win32 Version: 1.0.2546.32604
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     
Loading...
Thread Status:
Not open for further replies.

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!