Donnici, Teresa wrote:
Here is the code as I have it...
<Media Id="1" DiskPrompt="BlueChart g2 Oulet Programmer Atlantic -
Disk 1" Cabinet="Cab1.cab" EmbedCab="no" VolumeLabel="DISK1" />
<Media Id="1" DiskPrompt="BlueChart g2 Oulet Programmer
Atlantic - Disk 1" Cabinet="Cab2.cab" EmbedCab="no" VolumeLabel="DISK1" />
<Media Id="1" DiskPrompt="BlueChart g2 Oulet Programmer
Atlantic - Disk 1" Cabinet="Cab3.cab" EmbedCab="no" VolumeLabel="DISK1" />
<Media Id="1" DiskPrompt="BlueChart g2 Oulet Programmer
Atlantic - Disk 1" Cabinet="Cab4.cab" EmbedCab="no" VolumeLabel="DISK1" />
<Media Id="2" DiskPrompt="BlueChart g2 Oulet Programmer
Atlantic - Disk 2" Cabinet="Cab5.cab" EmbedCab="no" VolumeLabel="DISK2" />
<Media Id="2" DiskPrompt="BlueChart g2 Oulet Programmer
Atlantic - Disk 2" Cabinet="Cab6.cab" EmbedCab="no" VolumeLabel="DISK2" />
<Media Id="2" DiskPrompt="BlueChart g2 Oulet Programmer
Atlantic - Disk 2" Cabinet="Cab7.cab" EmbedCab="no" VolumeLabel="DISK2" />
<Media Id="2" DiskPrompt="BlueChart g2 Oulet Programmer
Atlantic - Disk 2" Cabinet="Cab8.cab" EmbedCab="no" VolumeLabel="DISK2" />
And each component had a corresponding DiskId (either 1 or zero) but
when I build it - I still only get 2 cab files not the 8 that I
should. Any ideas?
You get two .cab files because you have only two unique Media Ids. Each
.cab needs its own Media/@Id attribute. It's a bug in WiX that the code
above compiles and links. Just assign unique Media/@Id and match them
with File/@DiskId values.
--
sig://boB
http://bobs.org
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users