Did you reference anything in the Fragment to cause it to get included in your 
Product?  It doesn't appear so.

-----Original Message-----
From: Dmitry Berkovich [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2008 12:01
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Interesting behavior with Properties inside <Fragment> 
(wix 3.0.4325.0)

Hi,
 I have found some interesting behavior :
   When I have <Fragment> that contains only properties declaration,
them are not added to Properties table. Example of code:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Product Id="a851a145-ac6f-43fd-84f1-d3aca0f58a1b"
Name="WixProject7" Language="1033" Version="1.0.0.0"
Manufacturer="WixProject7"
UpgradeCode="77177830-ecf6-4a7c-9d74-12fae275f787">
    <Package InstallerVersion="200" Compressed="yes" />

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

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLLOCATION" Name="WixProject7">
          <Component Id="ProductComponent"
Guid="59e025d1-5366-445e-ba0c-257e32bf453a">
            <CreateFolder/>
          </Component>
        </Directory>
      </Directory>
    </Directory>

    <Feature Id="ProductFeature" Title="WixProject7" Level="1">
      <ComponentRef Id="ProductComponent" />
    </Feature>
  </Product>

  <Fragment>
    <Property Id="P1" Value="1"/>
  </Fragment>
</Wix>

Dima.

-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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