Found and fixed issue with Postbuild.bat (1 Viewer)


Portal Pro
December 13, 2008
Canada Canada

Think I found an issue with Postbuild.bat in SVN 23143. The script tries to copy language files and skin file to wrong place. Also xcopy command has a typo in it. The result on my system was that the config tool failed to launch since it didnt find lcoalization files

Here are the two lines causing the issue:
xcopy %1\MediaPortal.Base\Language\*.* %allusersprofile%\"Team MediaPortal\MediaPortal\Language\" /E /Y /D
xcopy %1\MediaPortal.Base\Skin\*.* %allusersprofile%\"Team MediaPortal\MediaPortal\Skin\" /E /Y /D

The lines should be:
xcopy %1\MediaPortal.Base\Language\*.* "%allusersprofile%\Application Data\Team MediaPortal\MediaPortal\Language\" /E /Y /D
xcopy %1\MediaPortal.Base\Skin\*.* "%allusersprofile%\Application Data\Team MediaPortal\MediaPortal\Skin\" /E /Y /D

Notice how the " is at the start of the dir path and how the Application Data dir was missing from the first two commands. I had to change these commands on my windows XP SP3 system running VS 2008

Hope this helps someone


Retired Team Member
  • Premium Supporter
  • September 28, 2006
    Milano, Italy
    Italy Italy
    Country flag

    we already fixed the postbuild.bat because the dir differs from XP to Vista/7.
    Anyway, thx for sharing your findings.


    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    horned_reaper [solved] Thumbs not found for Artists Fanart Handler 12
    doskabouter Exceptions found due to improved logging General Support 11
    N [Finished] Focus problems - I think I've found the bug MediaPortal 2 30
    rexdog [solved] no channel's found General 2
    N [solved] MediaPortal do not show TV Channels, although Channels found in TV-Server Configuration Television (MyTV frontend and TV-Server) 7
    N [solved] MediaPortal do not show TV Channels, although Channels found in TV-Server Configuration Codecs, External Players 2
    framug [solved] Some changes/fix in MP1 configuration client and server Submit: code patches (MediaPortal/TV-Server/etc.) 14
    framug [Approved] Fix Irtrans config bug Submit: code patches (MediaPortal/TV-Server/etc.) 4
    W [solved] [FIXED] Survivor season 40 not automatically matching My TVSeries 1
    P [solved] ATSC subtitles not fixed yet? General 2
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    M [Pending] Fix for Inconsistent date display in TV Guide Submit: code patches (MediaPortal/TV-Server/etc.) 1
    doskabouter [Proposal] Merge PR Fix for source directory with spaces MediaPortal 1 15
    CyberSimian Fixes for Amped aMPed 5
    CyberSimian Fixes for Amped skin MediaPortal 1 10
    horned_reaper Issue with / character in artist name Fanart Handler 5
    1gkar A Couple of {On-going} Issues Within Various MP Versions General Support 25
    R MP2 GUI Issues General 7
    morpheus_xx [WiP] WIP 2.3 Fanart issues? MediaPortal 2 13
    morpheus_xx [Help Me!] Build issues on TeamCity MediaPortal 2 1
    W Not finding/matching new series - thetvdb issue? My TVSeries 3
    J [fixed] Import issue with alternate movie title matching the name of another movie Submit: Bug Reports 7
    1gkar Latest Intel HD4600 Drivers Issue General Support 1
    J Odd issues with Freesat EPG - MP2 General 18
    DHosein Mediaportal & Antimalware Service High CPU issue General Support 2
    Similar threads

    Top Bottom