Compression cab

Apr 19, 2010 at 8:22 AM


First, forgive me about my bad english.

I tried to use the "Create" task of the "" 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">
      <Files Include=".\lib\PocketOutloock.dll" />
      <Files Include=".\lib\SetupDLL.dll" />
      <Files Include=".\lib\essai.def" />
      <Files Include=".\lib\Config.dll" />
    <MSBuild.ExtensionPack.Compression.Cab TaskAction="Create" FilesToCab="@(Files)" Extractexepath="c:\"
    CabExePath=".\bin\Debug\Test.exe" CabFile="C:\" />


Apr 19, 2010 at 10:26 AM


CabExePath  - Sets the path to CabArc.Exe, you are using it to point to your exe, which is incorrect. There is a sample here: