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
Development
MediaPortal Alpha's, RC's and Git-Builds
1.22 Pre Release
Mediaportal 1.22 Pre-Release didnt start up
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="struppi21" data-source="post: 1257063" data-attributes="member: 115190"><p>The TV service starts normally when your patches are installed.</p><p>Thanks for the very fast support.</p><p></p><p>I made a little test with a simple powershell script that contains similar commands for checking Windows updates.</p><p>Put it in the Startup folder.</p><p>[SPOILER="PowerShell code"]</p><p>Start-Transcript -Path "C:\temp\test.txt" -NoClobber</p><p>$objSession = New-Object -ComObject "Microsoft.Update.Session"</p><p>$updatesearcher = $objSession.CreateUpdateSearcher()</p><p>$updatesearcher.online=$false</p><p>Measure-Command {$count = $updatesearcher.GetTotalHistoryCount();$updates = $updatesearcher.QueryHistory(0, $count)}</p><p>$count</p><p>Stop-Transcript</p><p>[/SPOILER]</p><p>It runs without much delay.</p><p>Running 0.7 seconds when TV service start is set to Manual</p><p>and 3 seconds when the TV service starts automatically.</p><p>The command 'new-object -com "Microsoft.Update.Autoupdate").Results' is much faster (0.01sec) on my system.</p><p>But I do not know if it does exactly what you want.</p></blockquote><p></p>
[QUOTE="struppi21, post: 1257063, member: 115190"] The TV service starts normally when your patches are installed. Thanks for the very fast support. I made a little test with a simple powershell script that contains similar commands for checking Windows updates. Put it in the Startup folder. [SPOILER="PowerShell code"] Start-Transcript -Path "C:\temp\test.txt" -NoClobber $objSession = New-Object -ComObject "Microsoft.Update.Session" $updatesearcher = $objSession.CreateUpdateSearcher() $updatesearcher.online=$false Measure-Command {$count = $updatesearcher.GetTotalHistoryCount();$updates = $updatesearcher.QueryHistory(0, $count)} $count Stop-Transcript [/SPOILER] It runs without much delay. Running 0.7 seconds when TV service start is set to Manual and 3 seconds when the TV service starts automatically. The command 'new-object -com "Microsoft.Update.Autoupdate").Results' is much faster (0.01sec) on my system. But I do not know if it does exactly what you want. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
MediaPortal Alpha's, RC's and Git-Builds
1.22 Pre Release
Mediaportal 1.22 Pre-Release didnt start up
Contact us
RSS
Top
Bottom