SuganSumi 0 Newbie Poster

Hello all,
Could anyone plz tell me how to add desktop icon on request.
I'm using Inno Setup. My code is,
Name: "{userdesktop}\S/W [S/W-VERSION]"; Filename: "{app}\S/W.exe"; WorkingDir: "{app}"; Tasks: desktopicon singleuser
Name: "{commondesktop}\S/W [S/W-VERSION]"; Filename: "{app}\S/W.exe"; WorkingDir: "{app}"; Tasks: desktopicon allusers

This one is creating the desktop icon by default. I dont want like that. I want it only on selection. The selection variable here is desktopicon.

Thanks in advance