I am creating an installer that needs to add some assembly type information
to machine.config under system.serviceModel/extensions. 

I thought this would be relatively easy using XmlConfig and binder variables
for the assembly. At first I tried using !(bind.assemblyFullName.MyAssembly)
but our QA rep pointed out that the attribute names were not the right case:
"version" needs to be "Version"
"culture" needs to be "Culture"
"publicKeyToken" needs to be "PublicKeyToken"
("processorArchitecture" was fine)

This was a little bit annoying, but I figured I could just hard code the
attribute names and set each piece of information with the specific binder
variables. This worked fine, except for
!(bind.assemblyPublicKeyToken.MyAssembly). The public key that is provided
is all uppercase but when the file gets installed to the GAC the public key
is lower case. Therefore, the assembly isn't found (once the case is fixed
to match the GAC everything works fine)

Is there a reason why the public key is getting made uppercase? And, is
there anyway I can force WiX to use the correct (lowercase) public key
token?

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Assembly-Binder-Variables-issue-with-case-tp6273130p6273130.html
Sent from the wix-devs mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to