[solved] How do you build an installer from GitHub source? (1 Viewer)

ChubbyArse

Portal Member
December 28, 2011
40
1
Hi All,

I'm attempting to get my dev machine running with an install of MP. I previously would install the latest build from teh site and then build the source in VS2013 IDE for the media portal app. Then I would copy in debug dlls when I needed to debug.

However as the source advanced ahead of the installed release, I would get conflicts where the newer dlls were not compatible. So I thought I'd build an installer from the source in debug and then all the code is debugable.

So I've followed all of the wiki advice on preparing my environment for developing and I can't see how I am meant to build an installer... Can anyone help? I've uploaded my build folder.

I have run MSBUILD_Rebuild_All_MediaPortal_Debug.bat

Thanks
 

Attachments

  • Build.zip
    1.3 MB

regeszter

Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Please check if c:\Windows\Microsoft.NET\Framework\v3.5\msbuild.exe is available.
     

    ChubbyArse

    Portal Member
    December 28, 2011
    40
    1
    Hi regeszter, thanks for the response.

    The directory is there, but only a couple of .targets fiels in there and no msbuild. I'll install 3.5 and try again.

    A couple of questions if you can help:
    • Am I running the correct batch file to fully build and create an installer?
    • Where should I expect the installable to appear?
    Thanks
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    The MSBUILD_Rebuild_All_MediaPortal_Release.bat and the MSBUILD_Rebuild_All_MediaPortal_Debug.bat will generate an installer for MP and for TvServer in MediaPortal-1\Release\ directory. It is enough for internal usage.

    If you want to create a full installer with deploy tool, you need to run the MediaPortal-1\Tools\InstallationScripts\DeployToolUnPacker.nsi It will generate an installer for in MediaPortal-1\Release\ directory. It is a full installer.
     

    Users who are viewing this thread

    Top Bottom