wagner1308
17th April 2012, 11:25
Good morning people,
I need your help, I joined two extensions on windows with Nisis now I want to associate an icon for each of the two extensions that I have created and joined in windows.
I did so to associate the extensions that create
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE" "" "My Extension MYE"
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE \ shell \ open \ command" "" "$ INSTDIR \ Meu_executavel.exe" "% 1" '
WriteRegStr HKEY_CLASSES_ROOT. "mye" "" "My.Extension.MYE"
then I tried to associate the icons adiconando this line:
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE \ DefaultIcon" "" "$ INSTDIR \ desenho.ico" "% 1" '
then the code looks like this:
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE" "" "My Extension MYE"
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE \ shell \ open \ command" "" "$ INSTDIR \ Meu_executavel.exe" "% 1" '
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE \ DefaultIcon" "" "$ INSTDIR \ desenho.ico" "% 1" '
WriteRegStr HKEY_CLASSES_ROOT. "mye" "" "My.Extension.MYE"
But I can not work as associate icons to files that have the extension I created?
Thank you!
I need your help, I joined two extensions on windows with Nisis now I want to associate an icon for each of the two extensions that I have created and joined in windows.
I did so to associate the extensions that create
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE" "" "My Extension MYE"
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE \ shell \ open \ command" "" "$ INSTDIR \ Meu_executavel.exe" "% 1" '
WriteRegStr HKEY_CLASSES_ROOT. "mye" "" "My.Extension.MYE"
then I tried to associate the icons adiconando this line:
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE \ DefaultIcon" "" "$ INSTDIR \ desenho.ico" "% 1" '
then the code looks like this:
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE" "" "My Extension MYE"
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE \ shell \ open \ command" "" "$ INSTDIR \ Meu_executavel.exe" "% 1" '
HKEY_CLASSES_ROOT WriteRegStr "My.Extension.MYE \ DefaultIcon" "" "$ INSTDIR \ desenho.ico" "% 1" '
WriteRegStr HKEY_CLASSES_ROOT. "mye" "" "My.Extension.MYE"
But I can not work as associate icons to files that have the extension I created?
Thank you!