1.02 and 1.1 Beta side by side? (1 Viewer)

spiderwheels

Portal Pro
October 28, 2009
101
3
Home Country
United Kingdom United Kingdom
Hello all

I have been running Mediaportal 1.02 for a couple of weeks now quite successfully.

I would like to try 1.1 Beta but I would like to keep my 1.02 setup active as a fallback - and preferably be able to switch between the two of them when I feel like fiddling with 1.1 or just using 1.02 to watch TV.

Can they be installed side by side?

It would just need a different database table, a different install folder and a different area in the registry (if it even uses the registry).

Thanks
 

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    well when you install new version of mediaportal doesn't it backup the old version? and to restore backup arn't you supposed to just copy the backup dir? lots of threads on this already if you serach. personally i've never restored a backup.
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    I think the main problem running them side by side will be all the registry entries. Like the filters get written to Windows registry.
    I am no DEV but since you asked for guesses, mine will be "generally NOT POSSIBLE" or maybe "Very very difficult for advanced Windows user".
     

    spiderwheels

    Portal Pro
    October 28, 2009
    101
    3
    Home Country
    United Kingdom United Kingdom
    well when you install new version of mediaportal doesn't it backup the old version? and to restore backup arn't you supposed to just copy the backup dir?

    I don't know... I was asking you..

    lots of threads on this already if you serach. personally i've never restored a backup.

    searching for "side by side" - which is the correct .Net nomenclature for installing two versions of code at the same time doesn't bring up anything relevant

    However, thank you for the tip about the backup. It gives me an option.

    I think the main problem running them side by side will be all the registry entries. Like the filters get written to Windows registry.
    I am no DEV but since you asked for guesses, mine will be "generally NOT POSSIBLE" or maybe "Very very difficult for advanced Windows user".

    Thanks for the guess :)

    I thought mediaportal itself did not install any filters and that they are generally installed by codec packs or MPC etc. Any other registry entries mediaportal uses could easily be protected by adding the version information into the registry key.

    Maybe I'll download the code and see :)
     

    rekenaar

    Retired Team Member
  • Premium Supporter
  • December 17, 2006
    4,421
    805
    Home Country
    South Africa South Africa
    A few examples I found in registry:
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\CLSID\{18C16B08-6497-420E-AD14-22D21C2CEAB7}]
    @="MediaPortal AudioSwitcher"
    
    [HKEY_CLASSES_ROOT\CLSID\{18C16B08-6497-420E-AD14-22D21C2CEAB7}\InprocServer32]
    @="C:\\Program Files\\Team MediaPortal\\MediaPortal\\MPAudioSwitcher.ax"
    "ThreadingModel"="Both"
    
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\CLSID\{B9559486-E1BB-45D3-A2A2-9A7AFE49B23F}]
    @="MediaPortal File Reader"
    
    [HKEY_CLASSES_ROOT\CLSID\{B9559486-E1BB-45D3-A2A2-9A7AFE49B23F}\InprocServer32]
    @="C:\\Program Files\\Team MediaPortal\\MediaPortal\\TsReader.ax"
    "ThreadingModel"="Both"
    
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\CLSID\{39F498AF-1A09-4275-B193-673B0BA3D478}]
    @="MPV Decoder Filter"
    
    [HKEY_CLASSES_ROOT\CLSID\{39F498AF-1A09-4275-B193-673B0BA3D478}\InprocServer32]
    @="C:\\Program Files\\Team MediaPortal\\MediaPortal\\Mpeg2DecFilter.ax"
    "ThreadingModel"="Both"

    But yes, I agree you would get more definite answers if you look at the code.
     

    captainjack

    Portal Member
    March 25, 2008
    16
    4
    Just wanted to let you know that I have been testing the Virtualization of Mediaportal. This is not meant to be a training session so you will have to do that yourself.
    If you have Usenet access, do a search for Xenocode. It is application virtualization software. With VMWare and this product you can capture the installation and virtualize it into a single file.
    When in use it does not modify the machine it is running on. Everything runs in a virtual bubble. When I say bubble I mean everything is contained under your windows profile directory so you can see the files such as logs, config etc.
    I have a client/server setup and have been successfully running the virtualized front end for a while now and it works just fine. What I have not had time for yet is virtualising the TVServer. With Xenocode you can virtualize services as well but have not yet had time to get this going so I cannot say for sure that it will work.
    What I start with is a clean VMWare image of the version of Windows that I will be running this on. In my case it is Windows 7.
    I make sure all of the pre-req's are installed in the base image then I do a snapshot. I then run the Xenocode capture and install the current Beta of Mediaportal. When the install is complete, I save the capture in Xenocode and snapshot the VMWare session. This gives me my base image. I then config MP to my liking including adding any other files I want included in my build. In my case it is just the files for my remote setup (IMON).
    I then build the project. It then creates a single exe file with everything contained inside.
    The cool thing about this is that when there is an SVN to be applied, I bring up the last saved VMWare snapshot with my last good build, do a capture of the SVN being applied and save it as a layer file and not a full blown application. That file is then just copied to the same directory where I am running my main virt app from. When it launches it looks for any of these layer files and applies them seamlessly. If I find there is something wrong with the SVN, I just delete the layer file and I am back to my original build just like that.
    Now since I don't have my server virted yet, I use Acronis True image to save differential images of that machine.

    As an example, I have a virted copy of the original beta with no SVN's running and a locally installed MP with SVN 23831 on the same machine and my back end TVServer is at 23831.

    With SVN 23831, I get micro skips with h.264 MKV files but with my virted base beta build I do not so what does that tell me. So now I just use the original BETA virted version until I get time to test a newer SVN.

    I some ways this seems like more work than necessary but I get to run things side by side as the thread title states.
    On a side note, the virted version only takes literally one second longer to launch and once running there is no difference in performance.
    It is also very portable. This can be run on any client that has the pre-req's for MP installed.

    Hope this does not seem like babbling as I am writing this while having my first coffe of the day.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    not runnig side by side, but hiren's boot cd (free download, just google it is an awesome bootcd)
    it has heaps of bootcd tools on it
    including acronis true image backup if you want to make a ghost image it is very quick and easy
     

    Users who are viewing this thread

    Top Bottom