|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#22
|
||||
|
||||
Yup. It seems Sage 9 can't read the registry correctly. Maybe a permissions error.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#23
|
||||
|
||||
I found a file called reqadmin.manifest in the folder that had all the stuff for building the installers. In it was these contents, maybe this is the clue:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> <security> <requestedPrivileges> <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly>
__________________
Jeffrey Kardatzke Founder of SageTV |
#24
|
|||
|
|||
Quote:
As I get some time i will see how to handle this in either Wix as part of the install or on the build of the exe's. I will need to investigate an approach as this is another new one for me. k |
#25
|
|||
|
|||
How can we manually fix this for now? Can we just run Regedit as an admin?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#26
|
|||
|
|||
Quote:
If the manifest was part of the installers, it would seem like the installer itself was getting elevated. I'm not sure if that applies to the exe's themselves. Maybe the "installed" programs take on the privileges of the installer? |
#27
|
|||
|
|||
What if the user account that is running sage is a local admin in Win7 or Win10. Is that sufficient?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#28
|
|||
|
|||
I don't think so. I think that just gives you the option to run things as admin. By default they run with their original permissions. Try right-clicking on the icon or program and choose "run as administrator". You should get one of those UAC dialog boxes.
|
#29
|
||||
|
||||
It looks like WIX has the ability to set permissions granualarily on each key and value with <Permission> keys.
http://stackoverflow.com/questions/4...key-permission I'm not really sure what permissions the keys should be set to, though. It looks like on my existing system, the keys and values are all set so "Users" can read, and "Administrators" have full control.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 01-26-2016 at 05:49 PM. |
#30
|
|||
|
|||
Quote:
I earlier resolved folder permissions by having the installer provide the exe with permissions to the folders its installed in as otherwise it could not create all the files it creates on first run. This seems similar but the wix approach may need to be different or we need to see how to do the manifest thing in vs2015 k |
#31
|
|||
|
|||
Quote:
http://www.codeproject.com/Articles/...tion-UAC-Aware |
#32
|
|||
|
|||
I will give the manifest solution a shot tomorrow and report back. It mimics what works in v7 so it may be the best short term solution.
Long term we may want to move registry entries from hklm to hkcu. k |
#33
|
||||
|
||||
Quote:
The settings being referred to here are definitely in my opinion belong in HKLM. Especially since for example the SageTV service is a service which are usually global by nature. The manifest is the most correct way to go. You can try it out by just renaming that manifest file to the exe in question and changing the extension to .manifest. (Ex. for SageTV.exe, you would make a copy of the manifest and rename it to SageTV.exe.manifest and place it in the same folder.) Because of how Windows caches things this doesn't always work. The best solution is to embed it; that's what I did with OpenDCT so the required UAC privileges would be reliable. - Joe
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#34
|
||||
|
||||
MOST things probably don't need to even BE in the registry anymore - and if they do, they don't really need to be set by the installer, and should be set as 'default' entries by he respective part of the code that uses it. JVM heap size really only needs to be in the registry, because it is needed before the properties file is read by the java code - though I think we could get away with setting the default to 1GB and there would be no issues with anyone going forward.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#35
|
|||
|
|||
Quote:
There are other settings used by the native code (dll's) that wouldn't work well in the properties file either, unless we pass them back from the jvm, keep them in a different file or parse properties in the native code. Last edited by wnjj; 01-26-2016 at 10:36 PM. |
#36
|
||||
|
||||
Command line would be impossible for the service, but I could see maybe working it into the service via SageTVServiceControl.exe. It could be a value you can set from that screen that updates the service to use the new heap value.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#37
|
||||
|
||||
Quote:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SageTV] ImagePath="C:\Program Files (x86)\SageTV\SageTV\SageTVService.exe" /heapsize:400 I also agree that this configuration should be done in the SageTVServiceControl.exe (which is what creates this registry entry anyway).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 01-27-2016 at 02:09 AM. |
#38
|
||||
|
||||
Quote:
I can see how you would have concluded that. I should have been more specific.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG Last edited by EnterNoEscape; 01-27-2016 at 06:05 AM. |
#39
|
|||
|
|||
Quote:
Either way, it could be modified to likely adjust the calling commandline. |
#40
|
|||
|
|||
First let me say I know basically nothing about how to solve this issue with the registry. I have noted though that there is a lot of chat in this thread about the installer and while that may (most likely) ultimately be where the fix is placed, the issue I had with my Colossus card and the ability to read the registry I don't believe is related to the current installer. I had only used the method of copying Exe's and Jar's over the version 7.19 files to get the problem. I also have the Java Heap issue with the copied files. Copyinjg the original files back resolved the problem. Not sure if these points help or not, but I wanted to make sure they were clear. Thanks and sorry if I stated the obvious or repeated stuff folks already understood. BTW, I can and would be willing to test any fixes if you want me to. Thanks to everyone!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is there a way to from an executable from an extender | dvd_maniac | SageTV Customizations | 7 | 07-10-2014 05:20 AM |
Transcoder executable is missing!!! | joat | SageTV Beta Test Software | 1 | 04-02-2010 09:42 PM |
Windows MCE 2005 or Windows XP Home? | Croman | SageTV Software | 8 | 11-05-2007 03:32 PM |
Windows XP MCE 2005 and Simple File Sharing to Windows XP problem | perfessor101 | SageTV Software | 1 | 01-14-2007 10:52 AM |
Executable Error Code Return | infiniti_guy | SageTV Studio | 4 | 11-23-2005 03:25 PM |