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 :
<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:\test.cab"
CabExePath=".\bin\Debug\Test.exe" CabFile="C:\newcabbyitem.cab" />
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: http://www.msbuildextensionpack.com/help/22.214.171.124/html/f7724cf2-0498-92d8-ba0f-26ca4772d8ee.htm