Hi,
I need to build a MSI file which is larger than 2GB.
I have splitted my files in several CABs and each CAB file size is less than 2GB.
Although the MSI file is built correctly, when I try to execute I am getting an error saying "the system cannot open the device or file specified".
For me, the fact that the cab files are embeded is a necessity.
Is it possible to build a MSI file larger than 2GB? What am I doing wrong?
My .wxs file is like this:
<?xml version="1.0"?>
<Wix xmlns="
http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" UpgradeCode="12345678-1234-1234-4321-551111111111"
Name="MyName" Version="0.0.1" Manufacturer="MyCompany" Language="1034">
<Package InstallerVersion="200" Compressed="yes" />
<MediaTemplate EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="MyDir">
<Component Id="ApplicationFiles" Guid="12345678-1234-1234-4321-552222222222">
<File Id="ApplicationFile1" Source="file1.7z.001"/>
<File Id="ApplicationFile2" Source="file2.7z.002"/>
<File Id="ApplicationFile3" Source="file3.7z.003"/>
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id="DefaultFeature" Level="1">
<ComponentRef Id="ApplicationFiles"/>
</Feature>
</Product>
</Wix>
Thanks