http://wix.sourceforge.net/manual-wix3/heat.htm


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 
-----Original Message-----
From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] 
Sent: 14 September 2009 13:53
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Registering a DLL

Hi All,

I am using below code to register an assembly :


<DirectoryRef Id="INSTALLDIR">

<Component Id="cmpA85324570035C90E429F734EBCAB888"
Guid="{6D32A66-393-476a-8C4F-E96DF4384F68}">

<Class Id="{FCDBAAC-1D43-433E-8187-9504F12756BF}"
Context="InprocServer32" Description="TestPage" ThreadingModel="both"
ForeignServer="mscoree.dll">

<ProgId Id="TestPage" Description="TestPage" />

</Class>

<File Id="fil6FA9ECA599476808A92245297EA1A" KeyPath="yes"
Source="C:\abcdll" />

<RegistryValue Root="HKCR"
Key="CLSID\{FCDBA6AC-1D43-433E-887-9504F12756BF}\Implemented
Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value=""
Type="string" Action="write" />

<RegistryValue Root="HKCR"
Key="CLSID\{FCDBA6AC-1D43-433E-8187-9504F12756BF}\InprocServer32\3.7.2.0
" Name="Class" Value="TestPage" Type="string" Action="write" />

<RegistryValue Root="HKCR"
Key="CLSID\{FCDBA6AC-1D43-433E-8187-9504F12756BF}\InprocServer32\3.7.2.0
" Name="Assembly" Value="abc, Version=2.2.2.0, Culture=neutral,
PublicKeyToken=dac9c7307a596b58" Type="string" Action="write" />

<RegistryValue Root="HKCR"
Key="CLSID\{FCDB6AC-1D3-433E-8187-9504F12756BF}\InprocServer32\3.7.2.0"
Name="RuntimeVersion" Value="v1.1.4322" Type="string" Action="write" />

<RegistryValue Root="HKCR"
Key="CLSID\{FCDBA6AC-1D43-433E-8187-9504F12756BF}\InprocServer32\3.7.2.0
" Name="CodeBase" Value="file:///[#fil6FA9ECA5947C586808A92245297EA1A]"
Type="string" Action="write" />

<RegistryValue Root="HKCR"
Key="CLSID\{FCDBA6AC-1D43-433E-8187-9504F12756BF}\InprocServer32"
Name="Class" Value="TestPage" Type="string" Action="write" />

<RegistryValue Root="HKCR"
Key="CLSID\{FCDBA6AC-1D3-433E-8187-9504F12756BF}\InprocServer32"
Name="Assembly" Value="TestPage, Version=2.2.2.0, Culture=neutral,
PublicKeyToken=dac9c7307a596b58" Type="string" Action="write" />

<RegistryValue Root="HKCR"
Key="CLSID\{FCDBA6AC-1D43-433E-8187-9504F12756BF}\InprocServer32"
Name="RuntimeVersion" Value="v1.1.4322" Type="string" Action="write" />

<RegistryValue Root="HKCR"
Key="CLSID\{FCDBA6AC-1D43-433E-8187-9504F12756BF}\InprocServer32"
Name="CodeBase" Value="file:///[#fil6FA9EA59947C586808A92245297EA1A]"
Type="string" Action="write" />

<RegistryValue Root="HKCR" Key="Component
Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Name="0" Value=".NET
Category" Type="string" Action="write" />

</Component>

</DirectoryRef>





I took this example from http://www.tramontana.co.hu/wix/lesson6.php ,
but somehow I am not able to see the assembly name in COM references.





Anyone have any idea to get the DLL listed in COM components, Please
share





Thanks

Jaspreet

________________________________
***The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or privileged
material. Any review,retransmission,dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.***
------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day trial. Simplify your report design, integration and deployment -
and focus on what you do best, core application coding. Discover what's
new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to