Smartphone CabWiz Deploy Problem with VS .NET 2003

C

Chris Dressler

Hi there,

I searched through the posts and couldn't find an answer to this. I'm
currently working on a Smartphone application. When I use the "Build Cab
File" menu item under the "Build" menu in Visual Studio .NET 2003, the
building of the Cab file fails. Here is what I get in the Output window:

Preparing resources...

Updating references...

Performing main compilation...

Building satellite assemblies...

Visual Studio is ready to deploy Travel Buddy

Building 'Travel Buddy_SMP.inf' in 'file:///C:\Documents and
Settings\Chris\My Documents\Visual Studio Projects\Travel Buddy\obj\Debug\'

Creating backup 'C:\Documents and Settings\v-cdr\My Documents\Visual Studio
Projects\Travel Buddy\obj\Debug\Travel Buddy_SMP.inf.bak'

Adding file 'Travel Buddy.exe' from 'C:\Documents and Settings\Chris\My
Documents\Visual Studio Projects\Travel Buddy\obj\Debug\'

Adding file 'PLANE.ICO' from 'C:\Documents and Settings\Chris\My
Documents\Visual Studio Projects\Travel Buddy\'

Building 'Travel Buddy_SMP.ARMV4.cab' in 'file:///C:\Documents and
Settings\Chris\My Documents\Visual Studio Projects\Travel Buddy\cab\Debug'

Dependent on 'netcf.phone.wce4.armv4.cab' in 'file:///C:\Program
Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\Smartphone\wce400\ARMV4\'

Building 'Travel Buddy_SMP.X86.cab' in 'file:///C:\Documents and
Settings\Chris\My Documents\Visual Studio Projects\Travel Buddy\cab\Debug'

Dependent on 'netcf.phone.wce4.x86.cab' in 'file:///C:\Program
Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\Smartphone\wce400\X86\'

Error : The CabWiz executable 'C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\Smartphone\..\bin\..\bin\cabwiz.exe' could not be invoked

Creating batch file 'C:\Documents and Settings\Chris\My Documents\Visual
Studio Projects\Travel Buddy\obj\Debug\BuildCab.bat' for command line build

------ Build Cab File: failed -----

It appears that the path to "cabwiz.exe" as shown on the line above
indicated with "Error:" is incorrect. I don't understand why there are
periods in the path (i.e., "\..\bin\..\bin\cabwiz.exe"). I looked to see if
there was a way to configure where Visual Studio looks for Cabwiz.exe but I
can't find it.

Any help would be greatly appreciated!!
 
C

Chris Dressler

Yes, that file is there in the directory you show below. I believe the
issue is where VS .NET 2003 is looking for the cabwiz.exe file. If you look
down in my post, on the line that starts with "Error:", it is a strange path
with periods in it, and I can't tell what the whole path actually is where
it is looking for CabWiz.exe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top