IIRC, OCX Controls were only supported from Windows 95 up to XP,  
during the Lifespan of VB4 - VB6.  They are no longer supported in  
Windows Versions past XP.  You'll need to upgrade the components to  
their .NET equivalent.  If your app is written in VB6, it's time to  
upgrade the app.

Carter

Quoting sandyGSS <sandhya....@gmail.com>:

> Trying to create a msi for all the active x controls. I am using wix 3.8
> version heat to generate .wxs and facing an issue with msinet.ocx . It acts
> wierdly and giving different errors in different machines. Below are the
> errors I get
>
> While installing .msi it says
>
> 1) msinet.ocx failed to register. hresult - 2147024714 contact your support
> personnel.
>
> In some machines it installs perfectly and after installing when we try to
> invoke the component in the code it says
>
> 2) Runtime error: 339
>
> Component: MSINET.OCX or one of its dependecies not correctly registered: a
> file is missing or invalid
>
>
>
>
> Heat Command used by us to generate .wxs content:heat file "MSINET.OCX"
> -suid -vb6 templatefragment -out file.wxs
>
> Below is my .wxs file content
>
> <Component Id="MSINET.OCX" Guid="PUT-GUID-HERE">
>                 <File Id="MSINET.OCX" KeyPath="yes"
> Source="SourceDir\bin\MSINET.OCX">
>                     <Class Id="{48E59294-9880-11CF-9754-00AA00C00908}"
> Context="InprocServer32" Description="Internet Control General Property Page
> Object" />
>                     <Class Id="{48E59295-9880-11CF-9754-00AA00C00908}"
> Context="InprocServer32" Description="Internet Control URL Property Page
> Object" />
>                     <TypeLib Id="{48E59290-9880-11CF-9754-00AA00C00908}"
> Control="yes" Description="Microsoft Internet Transfer Control 6.0 (SP6)"
> HelpDirectory="bin" Language="0" MajorVersion="1" MinorVersion="0">
>                         <Class Id="{48E59293-9880-11CF-9754-00AA00C00908}"
> Context="InprocServer32" Description="Microsoft Internet Transfer Control
> 6.0 (SP6)" ThreadingModel="apartment" Version="1.0" Programmable="yes"
> Control="yes">
>                             <ProgId Id="InetCtls.Inet.1"
> Description="Microsoft Internet Transfer Control 6.0 (SP6)">
>                                 <ProgId Id="InetCtls.Inet"
> Description="Microsoft Internet Transfer Control 6.0 (SP6)" />
>                             </ProgId>
>                         </Class>
>                         <Interface
> Id="{48E59291-9880-11CF-9754-00AA00C00908}" Name="IInet"
> ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
>                         <Interface
> Id="{48E59292-9880-11CF-9754-00AA00C00908}" Name="DInetEvents"
> ProxyStubClassId32="{00020420-0000-0000-C000-000000000046}" />
>                     </TypeLib>
>                 </File>
>                 <RegistryValue Root="HKCR"
> Key="CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\Implemented
> Categories\{0DE86A52-2BAA-11CF-A229-00AA003D7352}" Value="" Type="string"
> Action="write" />
>                 <RegistryValue Root="HKCR"
> Key="CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\Implemented
> Categories\{0DE86A53-2BAA-11CF-A229-00AA003D7352}" Value="" Type="string"
> Action="write" />
>                 <RegistryValue Root="HKCR"
> Key="CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\Implemented
> Categories\{0DE86A57-2BAA-11CF-A229-00AA003D7352}" Value="" Type="string"
> Action="write" />
>                 <RegistryValue Root="HKCR"
> Key="CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\Implemented
> Categories\{40FC6ED4-2438-11CF-A3DB-080036F12502}" Value="" Type="string"
> Action="write" />
>                 <RegistryValue Root="HKCR"
> Key="CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\Implemented
> Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502}" Value="" Type="string"
> Action="write" />
>                 <RegistryValue Root="HKCR"
> Key="CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\MiscStatus\1"
> Value="132497" Type="string" Action="write" />
>                 <RegistryValue Root="HKCR"
> Key="CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\MiscStatus" Value="0"
> Type="string" Action="write" />
>                 <RegistryValue Root="HKCR"
> Key="CLSID\{48E59293-9880-11CF-9754-00AA00C00908}\ToolboxBitmap32"
> Value="[#MSINET.OCX], 1" Type="string" Action="write" />
>             </Component>
>
> Please let me know what is the wrong I am doing here.
>
> Thanks
> Sandy
>
>
>
> --
> View this message in context:  
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ocx-file-is-not-registered-in-windows-8-tp7595015.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>




------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to