PDA

View Full Version : extract COM registry keys during build from non-dlls



Rainer Wirth
06-17-2005, 04:22 PM
Hi,

our DLLs don't have the extension .dll. I would like to dynamically extract the COM registry keys during the build, but I can't find a way doing this for non-*.dll.

Also the Wizard can automatically create a single component for every *.dll but not for my renamed DLLs

I'm basically searching for the option "treat *.xyz as *.dll".

Best regards,
Rainer Wirth

MartinMarkevics
06-20-2005, 03:17 PM
By default, we treat the following files as PE files:

EXE, DLL, OCX, VXD, CHM, HLP, TLB

You can specify other extensions in the registry key:

HKEY_CURRENT_USER\Software\InstallShield\11.50\Professional\Project Settings
PEFileExtensions="EXE|DLL|OCX|VXD|CHM|HLP|TLB|XYZ"

Note, that this will only work for adding files through the files view. The Component Wizard does not read from this key (though, admittedly it definitely should). However, the Files View should create components in the same manner as the Component Wizard using MSI Best Practices.