I am trying to create a Compiler Extension.  I started by studying the
WixContrib project along with various extensions in the Wix source, like the
Gaming extension.  I had previously created my CA and wixlib projects using
a custom defined table in the wsx, and now I have the WixExtension working,
sort of. :)

In one test scenario it works as expected, but in another scenario the
'text' 'string' which is passed to one of the columns results in the value
being treated as an 'identifier', which I do not understand.  

The column definition is as follows.  This is the second column in the
table.  The first column is 'Id' and is marked as the Primary Key and as an
Identifier.
    <columnDefinition name="Id" type="string" length="72" primaryKey="yes"
modularize="column" category="identifier"  description="Identifier for a row
in the table."/>
    <columnDefinition name="Name" type="string" length="72" category="text"
                      description="Name of Windows Feature"/>

The MSI package compiles and functions when the following line is used:
          <rdpx:WinFeature Id="NetFx3" Name="NetFx3" />

This line fails, with the following error:
          <rdpx:WinFeature Id="NetFx3B" Name="NetFx4Extended-ASPNET45" />

C:\Development\Installs\8.8_QDSetup\RdpNetFx3\RdpNetFx3.wxs(74,0): error
CNDL0014: The rdpx:WinFeature/@Name attribute's value,
'NetFx4Extended-ASPNET45', is not a legal identifier.  Identifiers may
contain ASCII characters A-Z, a-z, digits, underscores (_), or periods (.). 
Every identifier must begin with either a letter or an underscore.

I am still trying to debug this, but I don't understand why the text
"NetFx4Extended-ASPNET45" is treated as an 'identifier'.  I also tried to
use &ndash; but that gives the same error.  Any suggestions would be
appreciated.  




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/CompilerExtension-text-string-reported-as-invalid-identifier-tp7592603.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to