multiple file type (and icons) association, plus menu entries
Hi,
First, i'd like to precise i'm looking for a solution for a week now, reading forum and wiki, even looking at VLC installer script. I might missed something.
Anyway, here is my problem :
I have two file types (i.e two extensions *.ext1 and *.ext2)
for ext1 :
if user wants to associate ext1 with the app
{
associate .ext1 to icon1.ico
add first menu entry as default (appearing in bold)
add second menu entry
}
else
{
add first menu entry as non default
add second menu entry
}
for ext2 :
if user wants to associate ext2 with the app
{
associate .ext2 to icon2.ico
add a menu entry as default (appearing in bold)
}
else
{
add a menu entry as non default
}
I almost succeeded doing this, but i'm afraid i'm messing up registry keys (i just cant put the finger on how it works internally)
Using registerExtension macro doesn't seem to give me enough possibilities (concerning icon and menu entries stuff)
Is there an easy way to make this ?
Thank you for your attention