How to package SVN build ? (1 Viewer)

RasterBurn

Portal Member
January 19, 2009
6
2
Home Country
United Kingdom United Kingdom
Hi all,

I've downloaded the Mediaportal source code, and successfully compiled the solution MediaPortal.sln found in trunk/mediaportal/MediaPortal.sln under Visual Studio 2008.

My test system currently has MediaPortal installed using the Client/Server approach. How do I now package up the built content into an installer such as that provided on the Mediaportal website ?

Ideally I'd like to package up a fresh SVN build, and install it on my client and server in the same manner as I would if I had download the official release ?

Looking in the Tools folder there appears to be a MediaPortal.DeployTool which seems to be the deploy tool used via the official download ? By when this is built and run, I select the Media Portal TV Client option, and it informs me that MediaPortal is installed (my SVN built version), but not the TV Plugin. Which project do I need to build in order to compile a fresh TV plugin ? And how should this be installed ?

I think I'm failing to get to grips with the structure of the projects in the trunk repository!

Any help would be greatly appreciated, as I'm hoping this will start my road to MediaPortal development!

Thanks :D
 

gemx

Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    You need to download the Nullsoft installer and compile the installer file with it ;)
     

    RasterBurn

    Portal Member
    January 19, 2009
    6
    2
    Home Country
    United Kingdom United Kingdom
    I did that and compiled the script in trunk/mediaportal/setup.setup.nsi which produced me a package-mediaportal.exe in this projects bin directory. However when I run this installer its different to the one you see when you download an official release. Running through it there is no option to install a client/server approach, and once installed running media portal configuration expects a tv tuner card in the pc its installed on rather than giving the options to specify the TV server!

    I'm sure Im missing the obvious here, but I just cant see it! I want to install what I built as a client and not a standalone installation.

    Looking at the nsi script it references the MediaPortal.DeployTool which is the install routine you see when you download an official release, but doesnt seem to use it ?!
     

    RasterBurn

    Portal Member
    January 19, 2009
    6
    2
    Home Country
    United Kingdom United Kingdom
    Ok I've solved my problem!

    The build script I was looking for was /trunk/Tools/InstallationScripts/DeployToolUnPacker.nsi Obvious really when you think about it!

    I also had to install the .net framework 2 SDK in order to get this script to run.

    So now I have the same installation routine as an official download for a SVN release.

    :)
     

    Scandermore

    MP Donator
  • Premium Supporter
  • March 27, 2009
    46
    2
    Home Country
    Spain Spain
    Hello!

    One question... I have also downloaded and compiled the MediaPortal repository, but when trying to generate the installable file with the Nullsoft program indicated above, it seems that the script needs also the TVEngine...

    So my question is... do I have to donwload and compile the TVserver also? And... do I have to compile also any other projects? I don't know which are the steps to go now... and I don't find any place where it tells anything about it...

    I wanted to say to all the developers that this program is awesome, and they are doing a GREAT job! Though I'm not a windows programmer, I'm trying to do some patches to it for customizing some options, and all the work I see is wonderful.

    Thank you all!

    aLeX
     

    Users who are viewing this thread

    Top Bottom