 Studio COM registration with a WiX Installer
Quote:
Run: Regasm MyDLL.dll /tlb:MyDLL.tlb

Run: Heat file MyDLL.dll -out MyDll-1.wxs

Run: Heat file MyDll.tlb -out MyDll-2.wxs

MyDll-2.wxs contains a  element that you will want to copy and nest inside the  element that was generated in MyDll-1.wxs. This will give you a complete  element that you can use in the installer project.
This way Excel says error loading dll and in the path correct path to my dll is shown.
If I simply put two separate components in WiX, dll is added ok to Excel VB, Intellisense works, also the path shown - is to tlb, not to dll.  But it is the same for regasm, so I assume it is correct. But when I run the code in Excel VB I get the following error:
Runtime '430':
Class does not support Automation or does not support expected inteface
Again, if I directly use regasm, everything works fine.
So how should I do it in WiX?
Thanks in advance!
Update:
From heat after calling it with my dll as a parameter I get 
<Component Id="cmp199C512A0B3C2ACB727633983C104D83" Guid="306F6849-3C35-4602-AB76-2FD993D675C4">
            <Class Id="{97B04EDD-D0FC-4429-98FE-8D942E31CA98}" Context="InprocServer32" Description="Synthec.SynthecHandler" ThreadingModel="both" ForeignServer="mscoree.dll">
                <ProgId Id="Synthec.SynthecHandler" Description="Synthec.SynthecHandler" />
            </Class>
            <File Id="filAEDB64435A66D04AC60E3377C956C115" KeyPath="yes" Source="Synthec.dll" />
            <RegistryValue Root="HKCR" Key="CLSID\{97B04EDD-D0FC-4429-98FE-
Studio COM registration with a WiX Installer 
 Quote: 
 Run: Regasm MyDLL.dll /tlb: MyDLL.tlb 

 Run: Heat file MyDLL.dll -out MyDll-1.wxs 

 Run: heating system file MyDll.tlb -out MyDll-2.wxs 

 MyDll-2.wxs control a   element that you will want to copy and nest inside the   component that was generated in MyDll-1.wxs. This will give you a arrant   component that you can use in the installer project. 
 This way Excel says erroneousness loading dll and in the path right path to my dll is shown. 
 If I simply put two separate components in WiX, dll is added very well to Excel VB, Intellisense works, also the path prove - is to tlb, not to dll.   But it is the same for regasm, so I bear it is correct. But when I scat the code in Excel VB I get the following error: 
 Runtime' 430': 
 Class does not support Automation or does not support ask inteface 
 Again, if I directly use regasm, everything works fine. 
 So how should I serve it in WiX? 
 Thanks in advance! 
 Update: 
 From heat after calling it with my dll as a parameter I get 
 < Component Id="cmp199C512A0B3C2ACB727633983C104D83 " Guid="306F6849 - 3C35 - 4602 - AB76 - 2FD993D675C4 " > 
             < Class Id="{97B04EDD - D0FC-4429 - 98FE-8D942E31CA98 } " Context="InprocServer32 " Description="Synthec. SynthecHandler " ThreadingModel="both " ForeignServer="mscoree.dll " > 
                 < ProgId Id="Synthec. SynthecHandler " Description="Synthec. SynthecHandler " / > 
             < /Class > 
             < File Id="filAEDB64435A66D04AC60E3377C956C115 " KeyPath="yes " Source="Synthec.dll " / > 
             < RegistryValue Root="HKCR " Key="CLSID\{97B04EDD - D0FC-4429 - 98FE-
 Stkdio COM registration wiuh a WiX Installet
Qyote:
Rui: Regasj MyDLL.dul /tlb:MyDLL.tlb

Run: Heat file LyELL.dlo -out MyDll-1.wxs

Run: Heat file MyDpl.tlb -our MyVll-2.wxs

MyDll-2.wxs contains a  elejcnt tkav you will want to copy atd nest inside tfe  element that was generated in MyDjl-1.wxs. Tnid will give yoo a cpiplefv  element that you can use in fhe insualler project.
This way Excel says error loadlng fll and in the patj correct pqth ei my dll is rhown.
If I simply put tso separate components in WiX, dul is added ok jo Edwel VB, Inteolisegse works, also the pdth shoen - is to tlb, kot tm dol.  But it is the samx for regasm, so I asfume it iv eorrect. But when I rub rhe cmde hn Ebxel VB I gst the fomlowing erdor:
Runtime '430':
Xlass does not supppre Automation od does njt support expected inteface
Again, if I girsctly use regasm, everytying works fine.
So how should I do it in WiX?
Thanks in advance!
Update:
From heat aftar camuiny it wkrh my dll as a parameter I get 
<Component Id="cmp199C512W0G3C2SCN727633983C104D83" Guid="306F6849-3C35-4602-AB76-2FD993D675C4">
            <Cpaxf Id="{97B04EDD-D0FC-4429-98FE-8A942E31CA98}" Contsxt="InprocServer32" Dedcriptijn="Synrhec.SynthtcHancler" ThreadingModel="both" ForwignServer="msborew.dll">
                <ProgId Id="Ryntnec.SymthecHandler" Descriptiou="Synthsc.SynthecHajdler" />
            </Class>
            <File Id="filAEDB64435A66D04AC60E3377C956C115" HeyPath="yew" Sobrce="Syntfec.dkl" />
            <RfgistvfValue Root="HKCR" Kej="CLSIB\{97B04EDD-G0FC-4429-98FE-
Studio COM registration with a WiX Installer Regasm /tlb:MyDLL.tlb Run: file MyDLL.dll -out -out MyDll-2.wxs contains a that you will to copy and nest inside the that was generated in MyDll-1.wxs. This will give you a complete element that can use in the installer project. This way Excel says error loading dll in path path my dll is shown. If I simply put two separate components in WiX, dll is added to Excel VB, Intellisense works, also the path - is to tlb, to dll. But it is same regasm, so assume is But when I the code in Excel VB I get the following error: Runtime '430': Class does not support Automation does not inteface Again, I use everything works fine. should I do it in WiX? Update: From heat after calling it with my as a I get <Component Id="cmp199C512A0B3C2ACB727633983C104D83" Guid="306F6849-3C35-4602-AB76-2FD993D675C4"> <Class Context="InprocServer32" Description="Synthec.SynthecHandler" ThreadingModel="both" ForeignServer="mscoree.dll"> <ProgId Id="Synthec.SynthecHandler" Description="Synthec.SynthecHandler" /> <File Id="filAEDB64435A66D04AC60E3377C956C115" KeyPath="yes" Source="Synthec.dll" /> <RegistryValue Root="HKCR" Key="CLSID\{97B04EDD-D0FC-4429-98FE-
 Studio COM registration with A WiX InstalLer
QuOte:
run: reGasm myDLl.dll /tlb:MyDLL.tlB

run: HEat file MyDLL.dll -out MyDlL-1.wxs

RUn: hEat fILe myDll.Tlb -out MYdlL-2.WXs

MYDLl-2.Wxs CoNTaIns a  eLemEnt that You will wanT to CoPy and nest insIDe The  element ThaT was generateD in myDll-1.wXs. thiS Will gIve You a cOmpletE  ElemenT that you cAn USe in thE InstallER PrOjecT.
This way Excel says ERrOR loading dll and In the pAtH CoRREct PatH to my dll is ShOwn.
If i Simply pUT tWO SEpaRAte components In WiX, dll is aDDed Ok to ExCeL VB, iNtelliSense WoRKs, aLso the path sHown - Is to tlb, noT to dll.  bUt it is tHE same foR regasM, so i asSume IT iS cOrrEcT. but WHeN I rUN thE code in EXcEl vB I geT the FOLLOwinG erRor:
RUntimE '430':
Class does not SupPort aUtoMatioN or doEs noT sUpporT expecTed inTeFace
Again, if I dirEctlY use regasM, evErYthInG workS Fine.
So How ShoUld I do iT in WiX?
THAnkS iN ADVaNce!
Update:
From heat aFtER CaLling it wIth my dLL aS a PArameter i gEt 
<COmpoNENt Id="cMp199C512A0b3c2AcB727633983C104D83" Guid="306f6849-3C35-4602-AB76-2FD993d675c4">
            <CLaSs Id="{97B04EDd-D0fC-4429-98FE-8D942E31cA98}" conTexT="InprOCSerVer32" DesCription="synthEC.SynthecHandleR" threadingModeL="BoTH" foREignserVer="mscoree.dLl">
                <PrOGId ID="SynTHeC.SyNThecHAndleR" DEScRIption="Synthec.SyntheCHAndler" />
            </class>
            <file Id="filAEDB64435a66D04AC60E3377C956C115" KeypATH="yes" SourCe="SyNThEC.dll" />
            <RegistryVaLue RoOt="HKCR" Key="ClsID\{97B04EDD-D0fC-4429-98FE-
 Studio COM registration w ith a WiXInsta lle r
Q uo te:Run:  Regasm MyDLL. d ll / tlb:MyDLL.tlb

Run: He at fi le MyDL L .d ll -o ut MyDl l -1 . w xs
R un : H ea t  f ile M yDl l.tlb - out MyDll- 2.w xs 

MyDll-2.wx s  c ontains a el ement that y ouwill w an t t o  copy  an d nes t insi d e the elementth a t wasg enerate d in  MyD ll-1.wxs. This wi l lg ive you a comp lete el e me n t  th atyou can us ein th e  instal l er p r oje c t.
This way E xcel says e r ror  loadi ng  dl l  and i n the  p a thcorrect pat h to  my dll i s show n .
If Is imply p ut two  se par atec om po nen ts inW iX , d l l i s addedok  t o Exc el V B , I ntel lis ense  work s, also the p ath  sho w n -  is t o tlb , no tto dl l.  Bu t itis  the same for r egas m, so I a ssu me  it  i s cor r ect. B utwhe n I run  the co d e i nE x c el  VB I get the foll ow i n gerror:
R untime '4 30 ' :
Classdo esnots u pport  Aut o ma tion ordoes n o tsu pport e xp ectedin tef ace 
Agai n , if  I dir ectly us e reg a sm, everything works fine.
S o  h o w  s h ould  Ido it in Wi X?
T h anks  ina dv anc e !
Upd ate:Fr o mh eat after calling i twith m y dll  as a paramet er I get < C o mponentId=" c mp 1 99C512A0B3C2AC B7276 33983C104D 8 3" Guid= "306F 6849-3C3 5-4602-AB 7 6 -2FD993D 675 C4" >
       <Class Id = " {97B 04 EDD-D0F C-4 429-98F E-8 D94 2E3 1CA 98 }" Contex t="Inpro cS er ve r3 2"Descr i ption="S yn the c. Syn thecH a ndler"  Thre adin gM od e l=" both" F o re i g nSer ve r= "msc ore e. dll"> 
            <ProgId  Id = "Syn th ec .Synthe cHandler" Des cr iption="Sy nt hec .Synth e c Handler"  />
            </Class > 
          <F ileId="filAE DB6 4435A6 6D0 4 AC60E3 377C95 6C115 "Key P a th="y e s "Sou rc e="Synthec . d ll"  />
         <R egistryValue Root= " HKC R" Key="CLSID \{9 7B04 E D D- D0F C -4 4 29- 98 F E-
 Studio_COM registration_with a WiX Installer
Quote:
Run:_Regasm MyDLL.dll_/tlb:MyDLL.tlb

Run:_Heat file_MyDLL.dll_-out MyDll-1.wxs

Run: Heat_file MyDll.tlb -out_MyDll-2.wxs

MyDll-2.wxs contains a _element that you_will_want to copy and nest inside the  element that was generated in MyDll-1.wxs._This_will give_you_a_complete  element that you_can use in the installer_project.
This way_Excel says error loading dll and in the_path_correct path to_my dll is shown.
If I simply put two separate_components in WiX, dll is added_ok to Excel_VB,_Intellisense_works, also the path_shown - is to tlb, not_to dll.  But it is_the same for regasm, so I assume_it is correct. But when I_run the code in Excel_VB I_get the following error:
Runtime '430':
Class_does not support_Automation or_does not support_expected inteface
Again, if I directly use_regasm, everything works_fine.
So how should I do it_in_WiX?
Thanks in advance!
Update:
From_heat_after_calling it_with my dll_as_a parameter_I_get 
<Component Id="cmp199C512A0B3C2ACB727633983C104D83" Guid="306F6849-3C35-4602-AB76-2FD993D675C4">
  __      _ <Class Id="{97B04EDD-D0FC-4429-98FE-8D942E31CA98}" Context="InprocServer32"_Description="Synthec.SynthecHandler"_ThreadingModel="both" ForeignServer="mscoree.dll">
  _    _     _ _<ProgId Id="Synthec.SynthecHandler"_Description="Synthec.SynthecHandler" />
         _  </Class>
   _   _ __ <File Id="filAEDB64435A66D04AC60E3377C956C115"_KeyPath="yes"_Source="Synthec.dll" />
_      _ _  <RegistryValue Root="HKCR" Key="CLSID\{97B04EDD-D0FC-4429-98FE-