Creating Cabinet Files

N

Nigel Vandyk

I seem to be hitting a problem when I try to create a cabinet file for an
Application that deploys and runs normally. Unfortunately the error I am
getting seems a little obscure:

"C:\Program Files\Microsoft Visual Studio
8\smartdevices\sdk\sdktools\cabwiz.exe" "Y:\ScrivenElectrical
080607\SmartDeviceCab1\Release\SmartDeviceCab1.inf" /dest
"Y:\ScrivenElectrical 080607\SmartDeviceCab1\Release\" /err CabWiz.log

Windows CE CAB Wizard

?Warning: Section [RegKeys] registry value "" has an empty string for the
data.

Warning: Section [Shortcuts] has no data

Error: CAB file "Y:\ScrivenElectrical
080607\SmartDeviceCab1\Release\SmartDeviceCab1.CAB" could not be created

ERROR: The Windows CE CAB Wizard encountered an error. See the output window
for more information.

========== Build: 1 succeeded or up-to-date, 1 failed, 0 skipped ==========

The warproblem is that this IS the output from the Output Window. I am
unsure how to investigate the error.

I would be very grateful for some assistance here.

Many thanks
--
With best wishes


Nigel Vandyk

Website:www.astarsoftware.co.uk
 
S

Sheikko

Take a look at this:

http://msdn.microsoft.com/library/d...ckagingDeployingWindowsMobileApplications.asp

http://www.devx.com/wireless/Article/31198/1954

I hop this help.

Khalid

Does the CabWiz.log logfile contain any more detail?

Peter

--
Peter Foot
Device Application Development MVPwww.peterfoot.net|www.inthehand.com


I seem to be hitting a problem when I try to create a cabinet file for an
Application that deploys and runs normally. Unfortunately the error I am
getting seems a little obscure:
"C:\Program Files\Microsoft Visual Studio
8\smartdevices\sdk\sdktools\cabwiz.exe" "Y:\ScrivenElectrical
080607\SmartDeviceCab1\Release\SmartDeviceCab1.inf" /dest
"Y:\ScrivenElectrical 080607\SmartDeviceCab1\Release\" /err CabWiz.log
Windows CE CAB Wizard
?Warning: Section [RegKeys] registry value "" has an empty string for the
data.
Warning: Section [Shortcuts] has no data
Error: CAB file "Y:\ScrivenElectrical
080607\SmartDeviceCab1\Release\SmartDeviceCab1.CAB" could not be created
ERROR: The Windows CE CAB Wizard encountered an error. See the output
window for more information.
========== Build: 1 succeeded or up-to-date, 1 failed, 0 skipped
==========
The warproblem is that this IS the output from the Output Window. I am
unsure how to investigate the error.
I would be very grateful for some assistance here.
Many thanks
Nigel Vandyk
 
N

Nigel Vandyk

Here is the output from the CabWiz logfile:
Warning: Section [RegKeys] has no data
Warning: Section [DefaultInstall] key "AddReg" - there are no section
entries to process
Warning: Section [Shortcuts] has no data
Error: CAB file "C:\Documents and Settings\Nigel Vandyk\My Documents\Visual
Studio 2005\Projects\ScrivenCab1\Release\ScrivenCab1.CAB" could not be
created

Again... not a lot of help

--
With best wishes


Nigel Vandyk

8 Finchley Way, N3 1AG
Tel: 020 8349 4714
Fax: 020 8346 2413
Mobile: 07976 655709
Website:www.astarsoftware.co.uk
Peter Foot said:
Does the CabWiz.log logfile contain any more detail?

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

Nigel Vandyk said:
I seem to be hitting a problem when I try to create a cabinet file for an
Application that deploys and runs normally. Unfortunately the error I am
getting seems a little obscure:

"C:\Program Files\Microsoft Visual Studio
8\smartdevices\sdk\sdktools\cabwiz.exe" "Y:\ScrivenElectrical
080607\SmartDeviceCab1\Release\SmartDeviceCab1.inf" /dest
"Y:\ScrivenElectrical 080607\SmartDeviceCab1\Release\" /err CabWiz.log

Windows CE CAB Wizard

?Warning: Section [RegKeys] registry value "" has an empty string for the
data.

Warning: Section [Shortcuts] has no data

Error: CAB file "Y:\ScrivenElectrical
080607\SmartDeviceCab1\Release\SmartDeviceCab1.CAB" could not be created

ERROR: The Windows CE CAB Wizard encountered an error. See the output
window for more information.

========== Build: 1 succeeded or up-to-date, 1 failed, 0 skipped
==========

The warproblem is that this IS the output from the Output Window. I am
unsure how to investigate the error.

I would be very grateful for some assistance here.

Many thanks
--
With best wishes


Nigel Vandyk

Website:www.astarsoftware.co.uk
 
G

Gaurang Ganatra

the problem of making a cabfile seems to persist.
Can anyone please tell me how to remove the Cabfile error.

I have followed the exact path of making the cabfile as suggeted by microsoft yet the solution still eludes me.
I even saw this as a bug reported to microsoft at this link
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=117608

but i dont find any solution anywhere..
I Checked out making the cab file on another system and surprisingly it is making it. but when i compared the inf files in both the projects i found absolutely no difference.
i am flabberghasted

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
 

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