Skip to content
⌘ NSIS Forum Archive

setting icons

2 posts

dwoods#

setting icons

Hi,

I have an application that can open more than one file type. I want to be able to set the icon for each file type separately. For example, my application can open file extensions .pdw and .cdw, and I want to have different icons for each of these extensions. How can I do this?

Any suggestions are greatly appreciated.

Thanks,
Derek
Anders#
one progid per filetype

HKCR\.foo\ = foofile
HKCR\foofile\defaulticon\ = ...

HKCR\.bar\ = barfile
HKCR\barfile\defaulticon\ = ...

This topic explains how to create new file types and how to associate your app with your file type and other well-defined file types.