求助: iscab的使用出错
从工厂拷贝的老外的软件安装包,安装时出错,发现是cab包里几个文件名格式不对,要修改一下。文件放在F:\Software\VISU 下,
使用InstallShiled 10.5 premier,iscab相关三个文件也放在 F:\Software\VISU 目录下,用iscab,如下:
1. iscab data1.cab -lx -ilist.ini
结果正常,在list.ini中找到如下出错文件名:
[MAX PLC + Visu]
File1="Arrow_long_-23?bmp"
File2="Arrow_long_-45?bmp"
File3="Arrow_long_-68?bmp"
File4="Arrow_long_0?bmp"
File5="Arrow_long_23?bmp"
File6="Arrow_long_45?bmp"
File7="Arrow_long_68?bmp"
File8="Arrow_short_-23?bmp"
File9="Arrow_short_-45?bmp"
File10="Arrow_short_-68?bmp"
File11="Arrow_short_0?bmp"
File12="Arrow_short_23?bmp"
File13="Arrow_short_45?bmp"
File14="Arrow_short_68?bmp"
2. 提取文件,放在F:\Software\VISU\Res 下
Arrow_long_-23.bmp
Arrow_long_-45.bmp
......
3. 编辑用于替换的change.ini文件
[ISCAB Info]
Product=ISCAB
Version=2.0
[MAX PLC + Visu]
File1="Arrow_long_-23?bmp", "F:\Software\VISU\Res\Arrow_long_-23.bmp"
File2="Arrow_long_-45?bmp", "F:\Software\VISU\Res\Arrow_long_-45.bmp"
File3="Arrow_long_-68?bmp", "F:\Software\VISU\Res\Arrow_long_-68.bmp"
File4="Arrow_long_0?bmp", "F:\Software\VISU\Res\Arrow_long_0.bmp"
File5="Arrow_long_23?bmp", "F:\Software\VISU\Res\Arrow_long_23.bmp"
File6="Arrow_long_45?bmp", "F:\Software\VISU\Res\Arrow_long_45.bmp"
File7="Arrow_long_68?bmp", "F:\Software\VISU\Res\Arrow_long_68.bmp"
File8="Arrow_short_-23?bmp", "F:\Software\VISU\Res\Arrow_short_-23.bmp"
File9="Arrow_short_-45?bmp", "F:\Software\VISU\Res\Arrow_short_-45.bmp"
File10="Arrow_short_-68?bmp", "F:\Software\VISU\Res\Arrow_short_-68.bmp"
File11="Arrow_short_0?bmp", "F:\Software\VISU\Res\Arrow_short_0.bmp"
File12="Arrow_short_23?bmp", "F:\Software\VISU\Res\Arrow_short_23.bmp"
File13="Arrow_short_45?bmp", "F:\Software\VISU\Res\Arrow_short_45.bmp"
File14="Arrow_short_68?bmp", "F:\Software\VISU\Res\Arrow_short_68.bmp"
4. 替换文件
iscab data1.cab -a -ichange.ini
结果出现如下提示:
Error: Could not find CAB file with file #193
试了好多次,包括改变提取文件的路径、先删除再添加等,都报这个错,有哪位大侠能帮忙看看?
------解决方案--------------------
我也是,用 iscab 只能list 删除、添加、解压都不行。。报一样的错误。
。