As for the silent install add the file Association?

Hello!
With Inno Setup made the installer of the program, corrected the code and compiled. With a key after the silent installation started and installed, everything is fine.
Next, faced with this problem is that when creating the installer for example (Players, archivers, iso), it all deploys but does not hold Association files.
Tell me how can I add an Association in a quiet setting? If it is written in the script? Or bat can be done in the setup script to attach? Or the easier option exists?)
July 12th 19 at 17:21
1 answer
July 12th 19 at 17:23
Did the Association of Aimp player with mp3 files in this code.

[Registry]
Root: HKLM; Subkey: Software\Classes\.mp3; ValueType: string; ValueName: ; ValueData: aimp; Flags: uninsdeletevalue
Root: HKLM; Subkey: Software\Classes\aimp\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\aimp.dll,2; Flags: uninsdeletevalue
Root: HKLM; Subkey: Software\Classes\aimp\shell\open\command; ValueType: string; ValueName: ; ValueData: "{app}\aimp.exe ""%1"""; Flags: uninsdeletevalue


All mp3 files after silent installation run using aimp, but file icons.mp3 was the old ie has changed the icon aimp and left of widnows media player. (screen below)955878080b134f21b8304a470b73d50c.jpg

There are suspicions that the icon is inserted here, but when I inserted the path to the location of the icons nothing happened.
Root: HKLM; Subkey: Software\Classes\aimp\DefaultIcon


Who can faced or there are suspicions how can I fix this inconvenience =)
Apparently my answer above is the solution to Your question. If so, mark it "solution". - Bridgette.Stokes commented on July 12th 19 at 17:26

Find more questions by tags Software