Answer the question
In order to leave comments, you need to log in
How to add file associations to silent installation?
Hello!
With the help of Inno Setup, I made a program installer, corrected the code and compiled it. After using the silent installation key, I launched and installed it, everything is fine.
Then I ran into such a problem that when I create an installer for example (Players, archivers, iso), it also expands everything but does not set the file association.
Tell me how can I add an association to a silent installation? Is it in the script? Or can bat be made and attached to the installation script? Or is there an easier option?
Answer the question
In order to leave comments, you need to log in
I made an association of the Aimp player with mp3 files with the following 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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question