Recently we noticed that installed dll is not registered properly, it starts to work only after registering it manually with regsvr32. It seems like installer writes wrong dll registration info into registry. I've done a screenshot showing registry information that is added by manually called regsvr32:

I also extracted dll registration info with WiX tool heat.exe and compared it with dll reg info in aip file. Info is different!!! AIP does not contain essential info.
AIP fragment related to my dll:
Code: Select all
<COMPONENT cid="caphyon.advinst.msicomp.MsiRegsComponent">
<ROW Registry="AppID_1" Root="0" Key="AppID\MyActiveX.DLL" Name="AppID" Value="[\{]6866632B-EC45-41BF-B680-63BDA9AA1B72[\}]" Component_="MyActiveX.dll"/>
<ROW Registry="AppID_2" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}" Name="AppID" Value="[\{]6866632B-EC45-41BF-B680-63BDA9AA1B72[\}]" Component_="MyActiveX.dll"/>
<ROW Registry="Control" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\Control" Name="+" Component_="MyActiveX.dll"/>
<ROW Registry="DD95801_9882_11CF_9FA9_00AA006C42C4" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}" Name="+" Component_="MyActiveX.dll"/>
<ROW Registry="DD95802_9882_11CF_9FA9_00AA006C42C4" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}" Name="+" Component_="MyActiveX.dll"/>
<ROW Registry="ThreadingModel" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\InprocServer32" Name="ThreadingModel" Value="apartment" Component_="MyActiveX.dll"/>
<ROW Registry="_" Root="0" Key="AppID\{6866632B-EC45-41BF-B680-63BDA9AA1B72}" Value="MyActiveX" Component_="MyActiveX.dll"/>
<ROW Registry="__1" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}" Value="CMyActiveXControl Object" Component_="MyActiveX.dll"/>
<ROW Registry="__10" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\VersionIndependentProgID" Value="MyActiveX.MyActiveXControl" Component_="MyActiveX.dll"/>
<ROW Registry="__11" Root="0" Key="MyActiveX.MyActiveXControl" Value="CMyActiveXControl Object" Component_="MyActiveX.dll"/>
<ROW Registry="__12" Root="0" Key="MyActiveX.MyActiveXControl\CLSID" Value="[\{]7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30[\}]" Component_="MyActiveX.dll"/>
<ROW Registry="__13" Root="0" Key="MyActiveX.MyActiveXControl\CurVer" Value="MyActiveX.MyActiveXControl.1" Component_="MyActiveX.dll"/>
<ROW Registry="__14" Root="0" Key="MyActiveX.MyActiveXControl.1" Value="CMyActiveXControl Object" Component_="MyActiveX.dll"/>
<ROW Registry="__15" Root="0" Key="MyActiveX.MyActiveXControl.1\CLSID" Value="[\{]7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30[\}]" Component_="MyActiveX.dll"/>
<ROW Registry="__2" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\InprocServer32" Value="[#MyActiveX.dll]" Component_="MyActiveX.dll"/>
<ROW Registry="__3" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\MiscStatus" Value="0" Component_="MyActiveX.dll"/>
<ROW Registry="__5" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\MiscStatus\1" Value="131473" Component_="MyActiveX.dll"/>
<ROW Registry="__6" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\ProgID" Value="MyActiveX.MyActiveXControl.1" Component_="MyActiveX.dll"/>
<ROW Registry="__7" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\ToolboxBitmap32" Value="[#MyActiveX.dll], 1" Component_="MyActiveX.dll"/>
<ROW Registry="__8" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\TypeLib" Value="[\{]6866632B-EC45-41BF-B680-63BDA9AA1B72[\}]" Component_="MyActiveX.dll"/>
<ROW Registry="__9" Root="0" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\Version" Value="1.0" Component_="MyActiveX.dll"/>
</COMPONENT>
Code: Select all
<RegistryValue Root="HKCR" Key="AppID\MyActiveX.DLL" Name="AppID" Value="{6866632B-EC45-41BF-B680-63BDA9AA1B72}" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\Control" Value="" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}" Value="" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}" Value="" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\MiscStatus\1" Value="131473" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\MiscStatus" Value="0" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\ToolboxBitmap32" Value="[!MyActiveX.dll], 1" Type="string" Action="write" />
<RegistryValue Root="HKCR" Key="CLSID\{7674AD78-C0D8-4C58-AC90-7CD8A6A3AF30}\TypeLib" Value="{6866632B-EC45-41BF-B680-63BDA9AA1B72}" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DE12B43D-A6C8-4390-A23A-FA2159C17773}\ProxyStubClsid" Value="{00020424-0000-0000-C000-000000000046}" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DE12B43D-A6C8-4390-A23A-FA2159C17773}\ProxyStubClsid32" Value="{00020424-0000-0000-C000-000000000046}" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DE12B43D-A6C8-4390-A23A-FA2159C17773}\TypeLib" Value="{6866632B-EC45-41BF-B680-63BDA9AA1B72}" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DE12B43D-A6C8-4390-A23A-FA2159C17773}\TypeLib" Name="Version" Value="1.0" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DE12B43D-A6C8-4390-A23A-FA2159C17773}" Value="IMyActiveXControl" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DEAB4672-760C-4B51-8D16-908D2B32DD88}\ProxyStubClsid" Value="{00020420-0000-0000-C000-000000000046}" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DEAB4672-760C-4B51-8D16-908D2B32DD88}\ProxyStubClsid32" Value="{00020420-0000-0000-C000-000000000046}" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DEAB4672-760C-4B51-8D16-908D2B32DD88}\TypeLib" Value="{6866632B-EC45-41BF-B680-63BDA9AA1B72}" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DEAB4672-760C-4B51-8D16-908D2B32DD88}\TypeLib" Name="Version" Value="1.0" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\Interface\{DEAB4672-760C-4B51-8D16-908D2B32DD88}" Value="_IMyActiveXControlEvents" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\TypeLib\{6866632B-EC45-41BF-B680-63BDA9AA1B72}\1.0\0\win32" Value="[!MyActiveX.dll]" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\TypeLib\{6866632B-EC45-41BF-B680-63BDA9AA1B72}\1.0\FLAGS" Value="0" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\TypeLib\{6866632B-EC45-41BF-B680-63BDA9AA1B72}\1.0\HELPDIR" Value="" Type="string" Action="write" />
<RegistryValue Root="HKLM" Key="Software\Classes\TypeLib\{6866632B-EC45-41BF-B680-63BDA9AA1B72}\1.0" Value="MyActiveX 1.0 Type Library" Type="string" Action="write" />
FOLLOW US
Get the latest news in Application Packaging