Take a look at "Binder Variables" in the help file, I think they do
exactly what you need. If your assembly is not in the GAC you will need
to set the File/@AssemblyApplication and File/@Assembly attributes.

Neil

-----Original Message-----
From: Ryan Taylor [mailto:rtay...@penbaysolutions.com] 
Sent: 11 November 2010 18:57
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Obtaining an Assembly's Fully Qualified Name for
use in a Property

How might I obtain an assembly's fully qualified name for use in a
property? I would like to obtain this information either at compile time
via binding, or at runtime so that I may register a .NET assembly with
IIS using a fully qualified name.

For example, I need to add the assembly to the assemblies section in the
web.config like so:

<assemblies>
    <add assembly="Company.Product.Feature, Version=1.4.6.173,
Culture=neutral, PublicKeyToken=xxxxxxxxxxxxxxxx"/>
</assemblies>


Ryan Taylor
Office (207)-504-5294
rtay...@penbaysolutions.com
www.penbaysolutions.com


CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please do not read,
disclose, reproduce, distribute, disseminate or otherwise use this
transmission, but contact the sender by reply e-mail and destroy all
copies of the message and its attachments.

------------------------------------------------------------------------
------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to