SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Github Development (http://forums.sagetv.com/forums/forumdisplay.php?f=53)
-   -   Open Source Windows Installer (http://forums.sagetv.com/forums/showthread.php?t=62819)

jusjoken 01-02-2016 01:52 PM

Open Source Windows Installer
 
Latest release available for testing (Release Candidate Installer).

Windows Files https://api.bintray.com/packages/ope...s/download.svg

Linux Files https://api.bintray.com/packages/ope...s/download.svg

Notes:
  • The Release Candidate version type refers to the installer and not the contents/exe in the installer
  • If upgrading from the same version level - 9.0.4.xxx to 9.0.4.xxx you will need to run the installer a 2nd time and select repair to insure ALL files get installed


I have started a Indiegogo campaign for my work on SageTV OS - Windows Installer and Gemstone 2 - see here if you would like to contribute

jusjoken 01-02-2016 02:05 PM

Currently: I have a virtual environment created and have completed clean installs of Server, Client and Placeshifter. Server and Client were also completed with the PVR and Provideo options to capture the differences. Each install was done with install monitoring software to identify files, services and registry changes made during the installs. Java was aborted in every case as that will be handled differently.

Approach:
- discover file system changes from each install - complete
- fork SageTV repo and download and build VS2015 environment - complete
- discover registry changes from each install - in progress
- install WIX toolset - complete
- learn the WIX toolset - in progress
- determine installers to build - in progress (likely a combined Server/Client install and a separate Placeshift install)

Java
- incorporate a Java 32 bit 1.7 install IF Java 32 1.7 or greater is not already installed

Scope/Removal
- I plan to NOT include the SageTV3 STVs folder
- I likely will remove the Provideo and PVR 150/...etc options.
  • Provideo - this installs 1 driver and 16 parameter files. Not difficult to include if there is a need.
  • PVR 150 etc - this installs a single "irremote.ini" file in the windows folder. Again, simple to include - not sure if it's used often

Comments and suggestions welcome

k

wayner 01-02-2016 11:28 PM

Awesome - thanks a million for doing this!

Narflex 01-04-2016 05:20 PM

Nice work...I've been hoping someone would take this on. :)

Fuzzy 01-05-2016 03:51 PM

Regarding Placeshifter: An installer might not even be 'required', as it's a pretty portable program. Might just need a zip file (which would help out people using it from work anyway).

wayner 01-05-2016 03:56 PM

Quote:

Originally Posted by Fuzzy (Post 582516)
Might just need a zip file (which would help out people using it from work anyway).

Can we make it work over port 80? I can install software at work but almost all ports are locked down.

Taddeusz 01-05-2016 04:02 PM

Quote:

Originally Posted by wayner (Post 582517)
Can we make it work over port 80? I can install software at work but almost all ports are locked down.

That might not work. A lot of ISP's block incoming requests on port 80 of their residential service so that people can't run commercial web sites out of their home. Cox Cable does this.

But, having the ability to easily change the Placeshifter port would be helpful. Is there currently a way to do this from the properties file?

wayner 01-05-2016 04:32 PM

Quote:

Originally Posted by Taddeusz (Post 582519)
That might not work. A lot of ISP's block incoming requests on port 80 of their residential service so that people can't run commercial web sites out of their home. Cox Cable does this.

But, having the ability to easily change the Placeshifter port would be helpful. Is there currently a way to do this from the properties file?

You can change it - I think it might be in Settings Menu of the Sage UI - or also in the properties file. Actually 8080 would work for me as well although that is where I currently host my Sage Web server.

Fuzzy 01-05-2016 05:14 PM

Yes, and since placeshifter uses UPnP for router configuration, changing the remote port in the sagetv server settings creates a proper map on the router. for instance, I've set my remote port at 8083, which results in sage registering a TCP forwarding of incoming port 8083 to my sagetv server's port 31099 (the standard Placeshifter port).


EDIT: You can, of course, set up the port forwarding yourself as well, but the advantage of having sage do it is then sage knows the external port, and registers that with the Locator service.

jusjoken 01-05-2016 07:23 PM

Quote:

Originally Posted by Fuzzy (Post 582516)
Regarding Placeshifter: An installer might not even be 'required', as it's a pretty portable program. Might just need a zip file (which would help out people using it from work anyway).

I am open either way. A Placeshifter MSI likely is very simple however I started with the complex Server/Client one first to learn WIX.

Someone could also test out a zip clean install and see if that is enough without the need to register any DLL's or set registry settings (I have not reviewed Placeshifter registry yet).

Placeshifter installs Java as well as the following files...

Code:

C:\Program Files (x86)\SageTV
C:\Program Files (x86)\SageTV\Placeshifter
C:\Program Files (x86)\SageTV\Placeshifter\EULAplaceshifter.txt
C:\Program Files (x86)\SageTV\Placeshifter\ImageLoader.dll
C:\Program Files (x86)\SageTV\Placeshifter\Microsoft.VC80.CRT.manifest
C:\Program Files (x86)\SageTV\Placeshifter\MiniClient.jar
C:\Program Files (x86)\SageTV\Placeshifter\msvcm80.dll
C:\Program Files (x86)\SageTV\Placeshifter\msvcp80.dll
C:\Program Files (x86)\SageTV\Placeshifter\msvcr71.dll
C:\Program Files (x86)\SageTV\Placeshifter\msvcr80.dll
C:\Program Files (x86)\SageTV\Placeshifter\pthreadGC2.dll
C:\Program Files (x86)\SageTV\Placeshifter\SageTVDX93D.dll
C:\Program Files (x86)\SageTV\Placeshifter\SageTVInfraredReceive.dll
C:\Program Files (x86)\SageTV\Placeshifter\SageTVPlaceshifter.exe
C:\Program Files (x86)\SageTV\Placeshifter\SageTVPlayer.exe
C:\Program Files (x86)\SageTV\Placeshifter\SageTVWin32.dll
C:\Program Files (x86)\SageTV\Placeshifter\swscale.dll
C:\Program Files (x86)\SageTV\Placeshifter\ThirdPartyLicense.txt
C:\Program Files (x86)\SageTV\Placeshifter\Win32ShellHook.dll
C:\Program Files (x86)\SageTV\Placeshifter\WinKeyboardHook.dll
C:\Program Files (x86)\SageTV\Placeshifter\WinRawInput.dll

In theory if there are variable settings we want to collect during an MSI type install we should be able to have the installer ask for those and write them out....in theory :D . Still learning this !

k

jusjoken 01-05-2016 07:26 PM

Question for those in the know...

SageTV7, Client and Server, install the following files....

SageTV\SageTVPlayer.exe
SageTV\SageTVTranscoder.exe

Are either/both of these required ? I noticed NEITHER are built by the current windows native build process under VS2015.

Thanks
k

Gustovier 01-05-2016 11:53 PM

Quote:

Originally Posted by jusjoken (Post 582531)
Question for those in the know...

SageTV7, Client and Server, install the following files....

SageTV\SageTVPlayer.exe
SageTV\SageTVTranscoder.exe

Are either/both of these required ? I noticed NEITHER are built by the current windows native build process under VS2015.

Thanks
k

Sagetvtranscoder.exe is definitely needed (it's basically ffmpeg) and used when place shifting. I believe it's also used to scan properties of media when it's added to your library.

Sagetvplayer.exe I don't know much about but I think depending on the player one chooses when sage is in client mode this could be used. I could be wrong on this though.

Fuzzy 01-06-2016 01:59 AM

Quote:

Originally Posted by jusjoken (Post 582531)
Question for those in the know...

SageTV7, Client and Server, install the following files....

SageTV\SageTVPlayer.exe
SageTV\SageTVTranscoder.exe

Are either/both of these required ? I noticed NEITHER are built by the current windows native build process under VS2015.

Thanks
k

They aren't built by the native build process, as they are the sage-modified versions of ffmpeg.exe and mplayer.exe. SageTVTranscoder (ffmpeg) is certainly required and used - SageTVPlayer (mplayer), I'm not sure if it is used for anything anymore, other than placeshifter.

jusjoken 01-06-2016 06:55 AM

Sounds good I will leave the v7 versions in the installs for these.

k

Fuzzy 01-06-2016 07:31 AM

Quote:

Originally Posted by jusjoken (Post 582551)
Sounds good I will leave the v7 versions in the installs for these.

k

I think someone was looking at updating them to newer versions - but not sure how that's been progressing. I'd hope they'd be updated in the github repo when it gets to that point.

jusjoken 01-06-2016 12:17 PM

Another question as I work through this....

Do we need the Register/Unregister Extender/Placeshift menu links any longer ?

"C:\Program Files (x86)\SageTV\SageTV\SageTV.exe" DMAREGISTER

"C:\Program Files (x86)\SageTV\SageTV\SageTV.exe" DMAUNREGISTER

Thanks
k

Fuzzy 01-06-2016 01:37 PM

Quote:

Originally Posted by jusjoken (Post 582582)
Another question as I work through this....

Do we need the Register/Unregister Extender/Placeshift menu links any longer ?

"C:\Program Files (x86)\SageTV\SageTV\SageTV.exe" DMAREGISTER

"C:\Program Files (x86)\SageTV\SageTV\SageTV.exe" DMAUNREGISTER

Thanks
k

No, the code that actually checks the number of keys has been removed.

wayner 01-06-2016 02:10 PM

@jusjoken - Over the weekend I plan to install SageTV9 to a new PC build with Win10. Do you want an alpha tester? Or should I just install SageTV7 and manually override the sage.jar file?

jusjoken 01-06-2016 05:31 PM

Quote:

Originally Posted by wayner (Post 582592)
@jusjoken - Over the weekend I plan to install SageTV9 to a new PC build with Win10. Do you want an alpha tester? Or should I just install SageTV7 and manually override the sage.jar file?

If the timing works then yes. I am close....or at least I think I am :D

Depends on how much time I get on it but I do have a full install completed that installs all the files, as well as Java 1.7, VC runtimes for 10 and 14 as well as the menu shortcusts. Still need to get the registry in place and then some UI adjustments on the installer.

I will keep you updated over the coming days.

k

Fuzzy 01-06-2016 09:29 PM

Quote:

Originally Posted by jusjoken (Post 582613)
If the timing works then yes. I am close....or at least I think I am :D

Depends on how much time I get on it but I do have a full install completed that installs all the files, as well as Java 1.7, VC runtimes for 10 and 14 as well as the menu shortcusts. Still need to get the registry in place and then some UI adjustments on the installer.

I will keep you updated over the coming days.

k

You may not even have to do any registry additions in the install. Save may actually populate it with details on first run.


All times are GMT -6. The time now is 05:53 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.