Support Statement: Dealing with TypeLib Alias

Support Statement: Dealing with TypeLib Alias

The web browser control is usually declared like this:

Begin SHDocVwCtl.WebBrowser WebBrowser1

However, the IDF is declared with ShdocVw instead of ShDocVwCtl:

<DescriptionFile> <library id="ieframe.dll" name="SHDocVw" uuid="EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B" netVersion="1.1" source="ieframe.dll" location="%library%\Interop.SHDocVw.dll" migName="SHDocVw" type="LocalImport" >

 

One way to deal with this is with a pre-edit, like this:

<Replace status="active" name="Deal with typelib alias"> <OldBlock><![CDATA[Begin SHDocVwCtl.WebBrowser]]></OldBlock> <NewBlock><![CDATA[Begin SHDocVw.WebBrowser]]></NewBlock> </Replace>

 

Can this be handled with registry type=progID?