|
SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Vista and STV Updates from within SageTV
We are not going to be able to allow STV updates from within SageTV on Vista when UAC is active because the files in the VirtualStore path will override the newer files in the Program Files path, so older STV files can end up being used after installing a new SageTV version.
This is not an issue when UAC is disabled & files are not put into the VirtualStore, so I'm wondering if there is a reliable way to determine when this is the case. I've been told that this registry setting can be checked: Hive: HKLM Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Value: EnableLUA Type: REG_DWORD Data: 1 (Default, enabled) 0 (Disabled) But, that setting may not match the situation when running as the admin & the VirtualStore is being bypassed. If anyone can provide better insight regarding how to reliably detect when a file will or will not be put into the VirtualStore, I can try to keep the STV Update option available inside the interface when it should be there. Thanks. Notes:
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#2
|
|||
|
|||
FYI
I run Sage TV Client from my Vista Ultimate PC with UAC enabled (I checked the regestry key and mine is set to 1) and I have not had any issues with any of the updates from within SageTV. I have however, adjusted the security settings on my SageTV folder itself to allow the group "Users" to have full control of the SageTV folder and subfolders. This is a great feature added to Sage... is there anyway to detect my type of install where writing to the SageTV folders will not be an issue? Perhaps a value in the properties file that overrides the default blocking of a Vista UAC setup? Ken |
#3
|
||||
|
||||
Disclaimer: I'm not a Vista user, so maybe I'm missing some subtlety.
That said, is it actually necessary to overwrite the STV file in the installation folder? Couldn't you sidestep these issues by downloading the updated STV to somewhere under Documents and Settings\All Users\Shared Documents, and redirecting the .properties file entry to load it from there?
__________________
-- Greg |
#4
|
||||
|
||||
Quote:
Quote:
Again: as stated in the first post, I will also make zip files available for users to download. Quote:
And I've already considered the next logical step: while it would be possible to change things so that the STV and all support files are located outside the install directory, that's not going to happen in v6.4. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#5
|
||||
|
||||
Quote:
store config/data in %appdata% any other solution would be an ugly workaround and will probably cause more trouble in any future windows version...
__________________
WWW: http://www.krikkit.net Server: Athlon X2 4850e (2x2,5Ghz); AMD 780G Chipset, 2 Gb RAM ; ATI Radeon HD 3200; Technotrend S2-3200 DVB-S + CI, Hauppauge PVR 150 (only as IR receiver) Winows XP Pro; SageTV v6.4.5 Clients: Placeshifter |
#6
|
|||
|
|||
Yea, no offense towards the SageTV developers specifically. But best practices for programming under Windows has been ignored for years. This is one of the reasons people get frustrated with Vista. It basically shoves best practices down programmers throats or else they give Vista users a bad experience. I personally see this kind of thing at work quite often. Even our home grown apps ignore best practices and require all sorts of special file system security changes and such to work properly as a limited user. It's an epidemic that has needed a cure for a LONG time.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#7
|
||||
|
||||
It is also precisely the thing I've disliked about Windows for a long time: first, the registry made it practically impossible to move an app from one PC to another, and now the VirtualStore makes it difficult to track your data files. Getting a new PC and installing all my apps on it is a thing I dread since it takes so long to reinstall and configure everything. I'm probably in the minority, but I prefer to keep a program and all of its files all in one location. I keep my PCs for as long as possible simply because I can't stand configuring a new one. (Yes, I'm stuck in my ways from years past.)
Edit: And, if stored as part of the user's data, then you have the problem of each user needing a copy of the STV & all of its files. Oh well... back to the issue at hand: I've modified the STV to disallow the STV update feature on Vista if the registry setting above has UAC enabled. There is a property that allows it to be overridden. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#8
|
||||
|
||||
Quote:
Using %appdata% is not the best plan either, as different users cannot share a SageTV configuration (unless you are using Service mode): Log in as a different user, and that user knows nothing about your Sage recordings... %ALLUSERSPROFILE% cannot be written to by a non-admin either so that's out... My Solution: set default install path to c:\SageTV! No UAC bullcrap involved... UAC and virtual store caused me no end of problems for the webserver installer to the point which I gave up! (Executable files in virtual store are ignored; .js files are considered executable, so any .js that is part of the webserver have to be in %program files%, except that I want user-editable .js files to allow the menu to be customised... Oh yes, and the service ignores virtual store no matter which user you run it as!) Enough wingeing, some useful information: Opus4: here is a test to see if Virtual store is active:
(Note I finally turned UAC off on my vista system... It was too much of a pain with the 500 confirmations everytime you wanted to do something, and programs like 7zip not knowing about requesting permissions)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#9
|
|||
|
|||
Your change in the recent RC (6.4.6) seems to work. On my Vista Client I was not offered the ability to check for updates. I then existed the Client and set the properties value to true (version/allow_Vista_STV_updates=true) and restarted my Client and was then able to check for updates. Of course there are none available, but I have had no issues in the past so this should still work for me (as my SageTV folder allows updates for all Users).
Ken |
#10
|
|||
|
|||
OPUS,
Just a thought, but would it be easier to have Sage default install in vista to "c:\sage" instead of C:\program (locked) files. that way STV updates can happen, instead of being trapped by the virtual store? that way users that love UAC can keep it enabled on the vista machines Moto
__________________
12.04 server Sagetv7 HD-pvr / 2250 /PVR 500 / DVBS w/rotor & 36 inch dish |
#11
|
||||
|
||||
I'm going to take a cue from Bad Horse and vote "neigh" on this one. Individual users are of course free to install Sage wherever they like, but by default it should install under Program Files where it belongs, not at the top level.
__________________
-- Greg |
#12
|
||||
|
||||
Would SageTV set to "run this program as an administrator" make a difference?
Or how about during SageTV install, give Users group modify & write permissions to the SageTV directory and subdirectories?
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
#13
|
||||
|
||||
The STV is only checking the registry setting I posted above and the property listed in the release notes. A user can choose to install SageTV in a a different location or run as admin & set the property to force the option to be available on Vista even if the UAC registry value shows it as enabled. Vista installation & update issues will probably be revisited at some point in the future, but most likely not for v6.4.
And, I will post instructions covering the property & manual install instructions the next time there is an STV update. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#14
|
|||
|
|||
There's a 6.4.6 SageTV beta, is there also a 6.4.6 STV? I didn't see a zip file or instructions for Vista users.
|
#15
|
||||
|
||||
It is in the installer. If you've installed v6.4.6 but SageTV3.xml is reporting itself as an old STV in System Info, then you've got the VirtualStore issue this topic is all about & you should remove the default STV file from the VirtualStore.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#16
|
||||
|
||||
Are there guidelines for avoiding this issue after a fresh install? I believe (but I'm not 100% positive) that "Users" group permission on the folder affects the activation of the Virtual Store.
__________________
SageTV server & client: Win 10 Pro x64, Intel DH67CF, Core i5 2405s, 8 GB ram, Intel HD 3000, 40GB SSD system, 4TB storage, 2x HD PVR component + optical audio, USB-UIRT 2 zones + remote hack, Logitech Harmony One, HDMI output to Sony receiver with native Intel bitstreaming |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV V6.4.5 Beta is Ready! | Narflex | SageTV Beta Test Software | 1 | 07-10-2008 09:43 PM |
SageTV V6.3 is now available for Win/Linux! | Narflex | Announcements | 1 | 03-07-2008 12:33 PM |
SageTV V6.1.7 Release Candidate | Narflex | SageTV Beta Test Software | 1 | 04-05-2007 12:26 PM |