Compression cab

Apr 19, 2010 at 8:22 AM

Hello,

First, forgive me about my bad english.

I tried to use the "Create" task of the "compression.cab" but i met an issue.
Indeed, when msbuild arrived on the task, it launch my application which cannot go well (it's a PDA application).
How don't launch my application?

Here is the code of the task :

<Target Name="Test">
    <ItemGroup>
      <Files Include=".\lib\PocketOutloock.dll" />
      <Files Include=".\lib\SetupDLL.dll" />
      <Files Include=".\lib\essai.def" />
      <Files Include=".\lib\Config.dll" />
    </ItemGroup>
    <MSBuild.ExtensionPack.Compression.Cab TaskAction="Create" FilesToCab="@(Files)" Extractexepath="c:\test.cab"
    CabExePath=".\bin\Debug\Test.exe" CabFile="C:\newcabbyitem.cab" />
</Target>

thanks

Coordinator
Apr 19, 2010 at 10:26 AM

Hi

CabExePath  - Sets the path to CabArc.Exe, you are using it to point to your exe, which is incorrect. There is a sample here: http://www.msbuildextensionpack.com/help/3.5.5.0/html/f7724cf2-0498-92d8-ba0f-26ca4772d8ee.htm

Mike