APP_ASSOCIATE not changing the icon of the file types
I am trying to use APP_ASSOCIATE and the problem I am having is that it doesn't give the file types the icon I want. I have tried the following scripts and neither of them give the file types the right icon.
!insertmacro APP_ASSOCIATE "osapp" "OSA.osapp" "Plugin Package" "$INSTDIR\PluginInstaller.exe" "Open" "$INSTDIR\PluginInstaller.exe $\"%1$\""
!insertmacro APP_ASSOCIATE "osapp" "OSA.osapp" "Plugin Package" "$INSTDIR\PluginIcon.ico" "Open" "$INSTDIR\PluginInstaller.exe $\"%1$\""
!insertmacro APP_ASSOCIATE "osapp" "OSA.osapp" "Plugin Package" "$INSTDIR\PluginInstaller.exe,0" "Open" "$INSTDIR\PluginInstaller.exe $\"%1$\""
Any ideas?