Windows CE CAB file creation does not like spaces in file path

1k Views Asked by At

We've just set up a new development server, and when building our existing mobile applications (Windows Mobile 6.5), I'm getting the following error:

Windows CE CAB Wizard

Warning: Section [RegKeys] has no data
Warning: Section [DefaultInstall] key "AddReg" - there are no section entries to process
Error: CAB file "E:\...\MyProject.CAB" could not be created

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

Now, I've worked out that it's due to spaces in the file paths. Which, I can fix, but is a tedious task as we have multiple mobile applications that will need changing. We also have spaces in our default dev folder paths, so all programmers would need to make a change to their dev environment.

The new dev machine is running Windows Server 2012 R2, the old one was Server 2008 R2. Both using VS2008. Nothing has changed in the source code, so it has to be something different with the OS version...?

I've read many posts with this same issue, but have not found any explanation as to why it is happening, just fixing the spaces.

I'd prefer to be able to find a magic system setting that makes it allow spaces in file paths again!

0

There are 0 best solutions below