How to create the inf file for a smart device cab project from command line?
Asked Answered
H

3

7

I am trying to get my continuous integration to create build the smart device cab project from within msbuild on the command line. Everything that I have found says to use the inf file (with cabwiz) created when you build the project from within visual studio. Is there a way to create the inf using the .vddproj file so that I can then use it with cabwiz.exe?

Highpowered answered 12/12, 2008 at 21:51 Comment(0)
I
0

How about adding a "Smart Device CAB Project" to your solution (available in Visual Studio 2005 and 2008)? These kind of projects build the .inf file from the output of the other projects in the solution and spawn "cabwiz.exe" to generate your final cab.

I personally use NAnt instead of MSBuild, and prefer to manually edit my inf file (doesn't change that often), but the CAB project seem to be the way to go for a solution that uses MSBuild.

PS: be careful if your cab needs to set a registry dword to -1 (0xffffffff): cabwiz is known to have a nasty bug when it comes to this.

PS2: also note this other post.

Isolecithal answered 10/6, 2009 at 14:45 Comment(0)
P
-1

Are you asking how to create the cab file or how to include it in your project? You could create the inf then add the command line to the post build event.

Puerperium answered 12/12, 2008 at 22:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.