Yes, I am getting the following error:

The WiX variable !(wix.ProductName) is unknown.  Please ensure the
variable is declared on the command line for light.exe, via a
WixVariable element, or inline using the syntax !(wix.ProductName=some
value which doesn't contain parenthesis).

I'm using the previous weekly release (v3.0.4207.0), and I'm having
the same issues when invoking Candle/Light from the command line
without using the Votive integration.

I have set up a simple solution to test this (all by using Votive
inside Visual Studio 2005):

Solution
    Library Project:
      <?xml version="1.0" encoding="UTF-8"?>
      <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
        <Fragment>
          <WixVariable Id="ProductName" Overridable="yes" Value="MyProduct" />
          <WixVariable Id="ProductManufacturer" Value="MyManufacturer" />
         </Fragment>
       </Wix>

    MSI Project (Library project referenced with project reference):
      <?xml version="1.0" encoding="UTF-8"?>
      <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
        <Product Id="..." Name="!(wix.ProductName)" Language="1033"
Version="1.0.0.0" Manufacturer="!(wix.ProductManufacturer)"
UpgradeCode="...">
          <Package InstallerVersion="200" Compressed="yes" />

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

            <Directory Id="TARGETDIR" Name="SourceDir">
              <Directory Id="ProgramFilesFolder">
                <Directory Id="INSTALLLOCATION" Name="!(wix.ProductName)">
                  <!-- TODO: Remove the comments around this Component
element and the ComponentRef below in order to add resources to this
installer. -->
                  <!-- <Component Id="ProductComponent"
Guid="523463ee-55e3-4888-a6c5-a754430787e0"> -->
                    <!-- TODO: Insert files, registry keys, and other
resources here. -->
                  <!-- </Component> -->
                </Directory>
              </Directory>
            </Directory>

            <Feature Id="ProductFeature" Title="!(wix.ProductName)" Level="1">
              <!-- TODO: Remove the comments around this ComponentRef
element and the Component above in order to add resources to this
installer. -->
              <!-- <ComponentRef Id="ProductComponent" /> -->
            </Feature>
        </Product>
      </Wix>

Kind regards,

Wouter

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to