Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wix TideSDK-大于2gb的软件包应用程序_Wix_Tidesdk - Fatal编程技术网

Wix TideSDK-大于2gb的软件包应用程序

Wix TideSDK-大于2gb的软件包应用程序,wix,tidesdk,Wix,Tidesdk,我正在尝试为我的应用程序生成一个安装程序(打包应用程序),但它包含大量视频文件,使整个项目的总大小为2.5GB 每次我尝试打包时,TideSDK都会抛出以下错误: light.exe : error LGHT0296 : An error (E_FAIL) was returned while adding files to a CAB file. This most commonly happens when creating a CAB file 2 GB or larger. Either

我正在尝试为我的应用程序生成一个安装程序(打包应用程序),但它包含大量视频文件,使整个项目的总大小为2.5GB

每次我尝试打包时,TideSDK都会抛出以下错误:

light.exe : error LGHT0296 : An error (E_FAIL) was returned while adding files to a CAB file. This most commonly happens when creating a CAB file 2 GB or larger. Either reduce the size of your installation package, raise Media/@CompressionLevel to a higher compression level, or split your installation package's files into more than one CAB file. Done packaging!
它为我提供了3种解决方案,但是,我不知道如何提高媒体/压缩级别,也不知道如何将安装包的文件划分为多个CAB


有人经历过同样的问题吗(

在.wxs文件的某个地方应该有一行类似于以下内容:

<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />

您需要添加另一个具有不同Id的,如下所示:

<Media Id="2" Cabinet="media2.cab" EmbedCab="yes" />

然后在组件或文件元素中指定DiskId属性:

<File Id="FirstLargeFile.avi" Name="FirstLargeFile.avi" DiskId="1" />
<File Id="SecondLargeFile.avi" Name="SecondLargeFile.avi" DiskId="2" />

Wix linker(light.exe)抛出上述错误,我想不是TideSDK。如果TideSDK包含所有安装逻辑,则可能不适用。