W
Will Chapman
My VS2005 installation refuses to create CAB files for
CF projects:
Here's a step-by-step example of what I've been doing:
1. Create new Project, PocketPC 2003 App using CF 2.
2. Build device application (succeeded).
3. Add new project to solution (Smart device cab project)
4. Added primary output to project.
5. Add shortcut
6. Add some registry entries
7. Build smartdevice cab (failed) with the following error
message (see below):
8. Try calling Cabwiz from the command line......all produce
the same error.
9. Try command line with various earlier versions of cabwiz and makecab
....all produce the same problem.
I note from various blogs and MS forum that others are experiencing this
problem and no-one has come up with an answer.
Can anyone here help or put me in touch with someone who can?
Thanks..
Will Chapman
Error 1 The Windows CE CAB Wizard encountered an error. See the output
window for more information. C:\Documents and Settings\Will Chapman\My
Documents\Visual Studio
2005\Projects\Wami\CabProject\SmartDeviceCab1\SmartDeviceCab1.vddproj
The output window and Cabwiz.log shows:
Error: CAB file "C:\Documents and Settings\Will Chapman\My Documents\Visual
Studio
2005\Projects\Wami\CabProject\SmartDeviceCab1\Debug\SmartDeviceCab1.CAB"
could not be created
The .inf file looks normal:
[Version]
Signature="$Windows NT$"
Provider="Default Company Name"
CESignature="$Windows CE$"
[CEStrings]
AppName="SmartDeviceCab1"
InstallDir=%CE1%\%AppName%
[Strings]
Manufacturer="Default Company Name"
[CEDevice]
VersionMin=4.0
VersionMax=5.99
BuildMax=0xE0000000
[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1
[SourceDisksNames]
1=,"Common1",,"C:\Documents and Settings\Will Chapman\My Documents\Visual
Studio 2005\Projects\Wami\CabProject\TestCabApp\obj\Debug\"
[SourceDisksFiles]
"TestCabApp.exe"=1
[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%"
[Files.Common1]
"TestCabApp.exe","TestCabApp.exe",,0
[Shortcuts]
"Shortcut to Primary output from TestCabApp
(Active)",0,"TestCabApp.exe","%InstallDir%"
[RegKeys]
"HKCU","Software\C4B Limited\TestCabApp","Default","0x00000000","TestCab"
CF projects:
Here's a step-by-step example of what I've been doing:
1. Create new Project, PocketPC 2003 App using CF 2.
2. Build device application (succeeded).
3. Add new project to solution (Smart device cab project)
4. Added primary output to project.
5. Add shortcut
6. Add some registry entries
7. Build smartdevice cab (failed) with the following error
message (see below):
8. Try calling Cabwiz from the command line......all produce
the same error.
9. Try command line with various earlier versions of cabwiz and makecab
....all produce the same problem.
I note from various blogs and MS forum that others are experiencing this
problem and no-one has come up with an answer.
Can anyone here help or put me in touch with someone who can?
Thanks..
Will Chapman
Error 1 The Windows CE CAB Wizard encountered an error. See the output
window for more information. C:\Documents and Settings\Will Chapman\My
Documents\Visual Studio
2005\Projects\Wami\CabProject\SmartDeviceCab1\SmartDeviceCab1.vddproj
The output window and Cabwiz.log shows:
Error: CAB file "C:\Documents and Settings\Will Chapman\My Documents\Visual
Studio
2005\Projects\Wami\CabProject\SmartDeviceCab1\Debug\SmartDeviceCab1.CAB"
could not be created
The .inf file looks normal:
[Version]
Signature="$Windows NT$"
Provider="Default Company Name"
CESignature="$Windows CE$"
[CEStrings]
AppName="SmartDeviceCab1"
InstallDir=%CE1%\%AppName%
[Strings]
Manufacturer="Default Company Name"
[CEDevice]
VersionMin=4.0
VersionMax=5.99
BuildMax=0xE0000000
[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1
[SourceDisksNames]
1=,"Common1",,"C:\Documents and Settings\Will Chapman\My Documents\Visual
Studio 2005\Projects\Wami\CabProject\TestCabApp\obj\Debug\"
[SourceDisksFiles]
"TestCabApp.exe"=1
[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%"
[Files.Common1]
"TestCabApp.exe","TestCabApp.exe",,0
[Shortcuts]
"Shortcut to Primary output from TestCabApp
(Active)",0,"TestCabApp.exe","%InstallDir%"
[RegKeys]
"HKCU","Software\C4B Limited\TestCabApp","Default","0x00000000","TestCab"