Media Portal CVS Installer

Discussion in 'MediaPortal 1 Talk' started by civikdude, August 23, 2005.

  1. civikdude

    civikdude Portal Pro

    Joined:
    March 17, 2005
    Messages:
    110
    Likes Received:
    0
    Location:
    U.S.A.
    Ratings:
    +0 / 0
    Media Portal CVS Installer

    I put together this little program to make the process of applying CVS builds from http://www.myshare.de/mediaportal-cvs-download.php a bit more streamlined. It prompts you along the way with simple yes/no questions, with the default option in uppercase (i.e., "y/N", where you can just hit Enter if you choose no). The zip file contains two files, the executable (.cmd) and the readme file. Just double-click the executable to get started. Please be aware that this utility will not automatically download the CVS file from myshare.de. You must still do this part manually. :(

    Unzip this utility to the same directory where you download/save the CVS files.

    Following is the text from the included readme file:



    Code (Text):
    1. Requirements:
    2.  
    3. 1) CVS INSTALLER must be executed from the computer running MediaPortal, although
    4.    the install itself can be on another drive or network share.
    5.  
    6. 2) CVS INSTALLER must be in the same directory as the CVS file.
    7.  
    8. 3) The CVS file must remain compressed (.rar).
    9.  
    10. 4) This program uses ZipGenius 5.x, which must already be installed on the MP
    11.    computer (http://www.zipgenius.it).  Note, ZipGenius 6.x is buggy and will not
    12.    work with this installer!
    13.  
    14.    Download ZipGenius 5 at http://web.rossoalice.it/zipgenius/zg5/zg551std.exe
    15.  
    16.  
    17. Overview:
    18.  
    19. 1) Finds the current installation path of MediaPortal (currently looks at default
    20.    programs directory), prompts the user for the path if it cannot be located.
    21.  
    22. 2) Finds the current installation path of ZipGenius (currently looks at default
    23.    programs directory), prompts the user for the path if it cannot be located.
    24.  
    25. 3) Finds all CVS files (mediaportal-cvs*) in the current directory (the directory
    26.    containing this installer).  Prompts the user to apply the latest one found, or
    27.    to select an earlier one by typing it in.
    28.  
    29. 4) Decompresses the selected CVS file to a subfolder of the same name in the current
    30.    CVS directory, using ZipGenius.  The version of ZipGenius is obtained in order to
    31.    send the correct command.  A status window will be displayed during the process.
    32.  
    33. 5) Asks the user whether or not to save the CVS file as it is not needed beyond this
    34.    point.  Recommend retaining the file if the user ever plans to reapply the same
    35.    CVS build.
    36.  
    37. 6) Creates a full backup of the current MediaPortal installation to
    38.    'MediaPortal.Backup'.  Only one backup is retained.  User can choose to revert
    39.    to this previous installation by manually deleting the current installation and
    40.    renaming the backup directory.
    41.  
    42. 7) Copies the newer CVS files (using date comparison) to the current MediaPortal
    43.    installation.  The number of files copied is displayed.
    44.  
    45. 8) Asks the user whether or not to save the CVS directory that contains the unzipped
    46.    files (see step 4).  Acceptable to delete this directory.
    47.  
    48. 9) Registers any necessary files, using the included start.bat utility.  Safe to
    49.    ignore any "file not found" messages.
    50.  
    51. 10)Deletes any cached image files (packedgfx*) so that image updates will be applied
    52.    during the next execution of MediaPortal.
    53.  
    54. 11)Writes the current CVS build filename to 'cvs.txt' in the MediaPortal directory.
    55.    MediaPortal CVS installation complete!
    I hope someone else can get some usefulness out of this, as I have!

    Download: CVS Installer.zip
    Current Version: 2005-10-17 v1.2.2

    Aaron
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. carreno
    • Premium Supporter

    carreno Moderateur

    Joined:
    July 31, 2005
    Messages:
    251
    Likes Received:
    25
    Location:
    France
    Ratings:
    +25 / 0
    Home Country:
    France France
  4. high
    • Team MediaPortal
    • IT-Admin

    high Administrator

    Joined:
    August 31, 2004
    Messages:
    4,742
    Likes Received:
    3,114
    Gender:
    Male
    Occupation:
    Sysadmin
    Location:
    Isselburg/NRW
    Ratings:
    +4,828 / 6
    Home Country:
    Germany Germany
    Show System Specs
    thx Aaron, I will have a look at your script and maybe integrate it in the cvs-snaps if you dont mind. Looks definately nice and usefull ;)

    Its pretty easy to grab via script cause the filename always starts the same way. You can write one for yourself but if I see any in public I will change the way users can download. Hope you understand my position.

    thx
    high
     
  5. Damdy-Cash

    Damdy-Cash Portal Member

    Joined:
    February 23, 2005
    Messages:
    48
    Likes Received:
    1
    Location:
    Langenfeld
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Thx Aaron for the useful tool.

    Greets Damdy
     
  6. CHli

    CHli Portal Pro

    Joined:
    July 5, 2005
    Messages:
    1,251
    Likes Received:
    14
    Occupation:
    Embedded Software Engineer
    Location:
    Switzerland
    Ratings:
    +14 / 0
    Home Country:
    Switzerland Switzerland
    Why are the CVS update only available through myshare.de and not sourceforge ? The bandwith would'nt be a problem anymore.
     
  7. tkortell

    tkortell Portal Pro

    Joined:
    April 13, 2005
    Messages:
    320
    Likes Received:
    0
    Location:
    Vaasa / Sulva
    Ratings:
    +0 / 0
    Home Country:
    Finland Finland
    Nice work Aaron, I'll try it out tonight :)

    g/tk
     
  8. Autoper

    Autoper Portal Pro

    Joined:
    January 24, 2005
    Messages:
    87
    Likes Received:
    0
    Occupation:
    Computer engineer
    Location:
    Stavanger, Norway
    Ratings:
    +0 / 0
    Thanx Aron. I will use this tool regulary :)

    Regards
     
  9. tkortell

    tkortell Portal Pro

    Joined:
    April 13, 2005
    Messages:
    320
    Likes Received:
    0
    Location:
    Vaasa / Sulva
    Ratings:
    +0 / 0
    Home Country:
    Finland Finland
    I tested your program now, it worked greate :) thanks again for this useful tool.
     
  10. mama

    mama Portal Pro

    Joined:
    May 31, 2004
    Messages:
    334
    Likes Received:
    0
    Occupation:
    Sales Manager
    Location:
    Germany
    Ratings:
    +0 / 0
    Ehm, did anyone read what [=high=] wrote? I can understand him 100%.

    Aaron and [=high], you got PMs.
     
  11. Autoper

    Autoper Portal Pro

    Joined:
    January 24, 2005
    Messages:
    87
    Likes Received:
    0
    Occupation:
    Computer engineer
    Location:
    Stavanger, Norway
    Ratings:
    +0 / 0
    [=high=] You got my clicks :)
    Is there any other way to help you?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!