How do you set up Shortcut icons required for individual setup types? I want to install test.exe for my server and standalone setup type but NOT for my workstation setup type.

I've added a script to add a shortcut and placed an IF around it and it doesnt create the shortcut. Even with the IF the shortcut still doesnt get created.