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
MediaPortal 1 Skins
Popular Skins
StreamedMP
StreamedMP Patches
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="ScRePt" data-source="post: 693550" data-attributes="member: 106152"><p>I can see the issue I reported already existed under <a href="http://code.google.com/p/streamedmp/issues/detail?id=353" target="_blank"># 353</a> on issue tracker.</p><p></p><p>I've found some time this weekend to give it a try. Test it and let me know.</p><p></p><p><strong>Technical info for the reviewers of the patch:</strong></p><p>The de-elevation problem goes as this:</p><p></p><p>Not</p><p>elevated Elevated Elevated again</p><p>------- ------------- ---------------------</p><p>- MP - ---> - SMPatch - -----> - MP after restart -</p><p>------- ------------- ---------------------</p><p></p><p>Since there is no way of de-elevating a process, as long as SMPatch gets to restart MP, the MP process will always be elevated.</p><p>Since MP needs to be shut down before the patch runs and also the patch needs to be elevated, what I did was to insert a new process (not elevated) in the game (actually reused SMPMediaPortalRestart). The new process runs the patch (which gets elevated) and then runs MP (which is not elevated)</p><p></p><p>Not Not</p><p>elevated elevated Elevated </p><p>------- ---------------------------- ------------- </p><p>- MP - ---> - SMMediaPortalRestart - ---> - SMPatch - </p><p>------- ---------------------------- --------------</p><p></p><p> Not</p><p> Elevated</p><p> ----------------------</p><p> ---> - MP after restart -</p><p> -----------------------</p><p></p><p>I reused the existing procject because I did not want to create another exe for u guys to distribute. As a result, SMPMediaPortalRestart project now does 2 things: 1. Upgrades MP and 2. Restarts MP. Those 2 can be issued together ofcourse. I had to change the command line parameters' rules to introduce the new functionality</p><p></p><p>During testing, please don't debug from an elevated VS process as you wont see any difference.</p></blockquote><p></p>
[QUOTE="ScRePt, post: 693550, member: 106152"] I can see the issue I reported already existed under [URL="http://code.google.com/p/streamedmp/issues/detail?id=353"]# 353[/URL] on issue tracker. I've found some time this weekend to give it a try. Test it and let me know. [B]Technical info for the reviewers of the patch:[/B] The de-elevation problem goes as this: Not elevated Elevated Elevated again ------- ------------- --------------------- - MP - ---> - SMPatch - -----> - MP after restart - ------- ------------- --------------------- Since there is no way of de-elevating a process, as long as SMPatch gets to restart MP, the MP process will always be elevated. Since MP needs to be shut down before the patch runs and also the patch needs to be elevated, what I did was to insert a new process (not elevated) in the game (actually reused SMPMediaPortalRestart). The new process runs the patch (which gets elevated) and then runs MP (which is not elevated) Not Not elevated elevated Elevated ------- ---------------------------- ------------- - MP - ---> - SMMediaPortalRestart - ---> - SMPatch - ------- ---------------------------- -------------- Not Elevated ---------------------- ---> - MP after restart - ----------------------- I reused the existing procject because I did not want to create another exe for u guys to distribute. As a result, SMPMediaPortalRestart project now does 2 things: 1. Upgrades MP and 2. Restarts MP. Those 2 can be issued together ofcourse. I had to change the command line parameters' rules to introduce the new functionality During testing, please don't debug from an elevated VS process as you wont see any difference. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Popular Skins
StreamedMP
StreamedMP Patches
Contact us
RSS
Top
Bottom