Hi there,

I have been fighting a problem since two weeks.
And now I need to get it resolved as soon as possible.

Here is my code, even though I added the Media tag and Set Compressed = "yes" 
and the EmbedCab = "yes", the CAB file is not getting embedded into my MSI file.

I am using msbuild script to build WXS file.

If I say EmbedCab = 'no', the Cab files would get generated out of the MSI 
file. But, if I say 'yes', the MSI would not contain the CAB files.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Product Id="*" Name="Package Name" Language="1033" Version="2.0.0" 
Manufacturer="Deployment, Inc" 
UpgradeCode="1c3ad744-e169-49a6-aa9e-7db801ef5a43">
    <Package Description="PkgGUID" Comments="comments" InstallerVersion="200" 
Languages="1033" Compressed="yes" Manufacturer="Deployment, Inc" />

    <Media Id="1" Cabinet="CAB001.cab" EmbedCab="no"/>
 
    <!--Our Custom Install Directory -->
    <Property Id="DeploymentDIR">C:\Program Files\Generated by 
BizTalk\</Property>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="INSTALLDIR" Name=".">        
            <Directory Id="ProjectDIR" Name="complex.inbound.solution">
              <Directory Id="ProjectDIRGuid" 
Name="69de2872-daa8-45ae-ba0d-e5f5426efe4a">
          
                  <!--Component Id="Comp1" 
Guid="dfc7f535-f521-4c06-8867-d898562c57f6" DiskId="1">
                      <File Id="complex.outbound.dll" 
Name="complex.outbound.dll" 
Source="C:\complex.outbound\bin\Deployment\complex.outbound.dll" DiskId="1" />
                  </Component-->
             
              </Directory>
            </Directory>        
        </Directory>
      </Directory>
    </Directory>
    <Feature Id="Feature1" Title="Feature1" Description="Package to be 
Deployed" Level="1">
      <ComponentRef Id="Comp1" />      
    </Feature>
  </Product>
</Wix>

Can anyone give me any ideas on what the problem would be.....I am dying to 
hear something...


Thanks in advance

-siri.



      Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to