That would have saved me an hour if I had looked up exactly what it did :). I read the name and just thought, must be like FxCop and moved on.
Thanks again Pally, you seem to have your finger firmly on the WiX pulse. -----Original Message----- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: 14 September 2009 14:49 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registering a DLL "This unfortunately produces WiX 2 Rigistry code that is now deprecated in WiX 3. :( I then wrote an XSLT to transform the WiX 2 code to valid Wix 3." http://wix.sourceforge.net/manual-wix3/wixcop.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: Dominique Louis [mailto:dominique.lo...@amxeurope.com] Sent: 14 September 2009 14:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Registering a DLL Hi Jaspreet, I have found that the COM registration output heat.exe produces did not work for My COM dlls ( originally written in Delphi ). Instead I had to go through a laborious process of downloading WiX 2 and running tallow over my dll as follows... Tallow.exe /s MyCOMstuff.dll > MyCOMstuff.wxs This unfortunately produces WiX 2 Rigistry code that is now deprecated in WiX 3. :( I then wrote an XSLT to transform the WiX 2 code to valid Wix 3. Copying the updated code into my installer code base, then correctly installed and registered the COM dll. I hope this helps. Dominique. -----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 AMX AMX UK Auster Road Clifton Moor York, North Yorkshire United Kingdom YO30 4GD +44 (0) 1904 343100 office +44 (0) 1904 343101 fax AMX South 6th Floor Salisbury House London Wall London United Kingdom EC2M 5QQ +44 (0) 2076 529450 office +44 (0) 8701 991661 fax AMX Belgium Boerenkrijglaan, 96a B-2260 Westerlo Belgium + 32 (0) 1454 2763 office + 32 (0) 1454 2766 fax ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. Any views or opinions presented are solely those of the author. This email was scanned and cleared by NetIQ MailMarshal. ###################################################################### ------------------------------------------------------------------------ ------ 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 AMX AMX UK Auster Road Clifton Moor York, North Yorkshire United Kingdom YO30 4GD +44 (0) 1904 343100 office +44 (0) 1904 343101 fax AMX South 6th Floor Salisbury House London Wall London United Kingdom EC2M 5QQ +44 (0) 2076 529450 office +44 (0) 8701 991661 fax AMX Belgium Boerenkrijglaan, 96a B-2260 Westerlo Belgium + 32 (0) 1454 2763 office + 32 (0) 1454 2766 fax ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. Any views or opinions presented are solely those of the author. This email was scanned and cleared by NetIQ MailMarshal. ###################################################################### ------------------------------------------------------------------------------ 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