本文介绍了SmartDevice CAB“不是有效的Windows CE设置文件”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(这也算是对我的问题的后续)

(This can be considered a follow-up on my question here.)

成功地构建CAB安装文件为我的手持WCE5设备后,(一Datalogic的激光扫描仪MEMOR)我去试试并安装它。然而,当开始CAB,设备抛出我下面的错误消息:

After successfully building a CAB setup file for my handheld WCE5 device, (a Datalogic Memor laserscanner) I went on to try and install it. However, upon starting the CAB, the device throws me the following error message:

文件\Setup.CAB不是有效的Windows CE安装文件

我不知道为什么它说这句话的,尤其是因为我使用VS08的智能设备CAB所做的CAB文件项目模板。

I have no idea why it's saying this, especially since I made the CAB file using VS08's "Smart Device CAB Project" template.

有一些设置在构建CAB我错过了什么?所有我做的是添加到待安装项目的输出,并带有花式三色堇图标在桌面上添加快捷方式。

Is there some setting I missed while building the CAB? All that I did was add the to-be-installed-project's output and add a shortcut on the desktop with a fancy-pansy icon.

该项目针对Windows CE以及和部署的的调试上MEMOR就好了。

The project is targeting Windows CE as well, and deploys and debugs just fine on the Memor.

推荐答案

它的CAB文件压缩?存在这样可以被关闭的智能设备CAB项目被称为压缩的选项。

It the CAB-file compressed? There is an option called 'compress' in the Smart Device CAB Project that can be turned off.

这个选项可能会导致这个错误,因为不是每个CE版本可以处理压缩设置。

This option can cause this error, because not every CE version can handle compressed setups.

我也得到了这个问题有CE 6.0项目(OS 8.2版本)。

I also got this problem with a CE 6.0 project (OS version 8.2).

这篇关于SmartDevice CAB“不是有效的Windows CE设置文件”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 22:57