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

asagala

Portal Pro
December 13, 2008
118
20
Montreal
Home Country
Canada Canada
Hi,

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
 

chemelli

Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    asagala,

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

    Simone
     

    Users who are viewing this thread

    Top Bottom