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)
MPEI with 1.2 and 13
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="Guzzi" data-source="post: 963406" data-attributes="member: 55213"><p>Hi fforde,</p><p>I use a script to copy the files based on the MP skin version:</p><p>[code]</p><p>using MpeCore.Classes;</p><p>using MpeCore;</p><p>using System.IO;</p><p>using System.Windows.Forms;</p><p>using MediaPortal.Common.Utils;</p><p>public class Script</p><p>{</p><p> public static void Main(PackageClass packageClass, ActionItem actionItem)</p><p> {</p><p> System.Version MpSkinVersion = MediaPortal.Common.Utils.CompatibilityManager.SkinVersion;</p><p> System.Version NewVersion = new System.Version(1, 3, 0, 0);</p><p> if (MpSkinVersion.CompareTo(NewVersion) >= 0)</p><p> {</p><p> if (!packageClass.Silent)</p><p> {</p><p> MessageBox.Show("MP 1.3.x detected ! Now updating skin files ...");</p><p> }</p><p>... copy skin files ...</p><p>....</p><p> [/code]</p><p>Actually, I use standard MPE install for MP1.2.x files and update skin files, if MP1.3 (skin version) is detected.</p></blockquote><p></p>
[QUOTE="Guzzi, post: 963406, member: 55213"] Hi fforde, I use a script to copy the files based on the MP skin version: [code] using MpeCore.Classes; using MpeCore; using System.IO; using System.Windows.Forms; using MediaPortal.Common.Utils; public class Script { public static void Main(PackageClass packageClass, ActionItem actionItem) { System.Version MpSkinVersion = MediaPortal.Common.Utils.CompatibilityManager.SkinVersion; System.Version NewVersion = new System.Version(1, 3, 0, 0); if (MpSkinVersion.CompareTo(NewVersion) >= 0) { if (!packageClass.Silent) { MessageBox.Show("MP 1.3.x detected ! Now updating skin files ..."); } ... copy skin files ... .... [/code] Actually, I use standard MPE install for MP1.2.x files and update skin files, if MP1.3 (skin version) is detected. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Skins and Plugins Installer (MPEI)
MPEI with 1.2 and 13
Contact us
RSS
Top
Bottom