Not sure if this is a bug or user (my) error, but I just tried to add a ProgId 
that referencing a dll that gets installed into the GAC, after install I see in 
the registry that the DefaultIcon points to the place where the dll would have 
been installed if it wasn't being installed into the GAC
HKEY_CLASSES_ROOT\Comp.ext.5.0\DefaultIcon
  "C:\Program Files\My App\Comp.dll",1000

 <DirectoryRef Id="INSTALLDIR">
   <Component Id="Comp_GAC" DiskId="1" Guid="$(var.Comp_GAC_Guid)">
     <File Id="File_Comp.dll" Assembly=".net" KeyPath="yes" Name="Comp.dll" 
Source="$(var.ProjectDLLPath)\Comp.dll" />
     <ProgId Id="Comp.ext.5.0" Description="My File" Icon="File_Comp.dll" 
IconIndex="1000">


Is there any way to get this to work, or do I need to make up a resource 
container and install it?

I saw something about being able to specify an Icon directly if you are 
advertising a ProgId but when I looked into what advertising meant it sounded 
like something I shouldn't mess with.

-Ian

Ian Sullivan
Software Development Engineer
Microsoft Inc., Windows Live Agents: SDK, Tools, Web Services

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to