PDA

View Full Version : Shortcut Icons



slimboywynn
07-13-2005, 05:41 AM
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.

linder
07-13-2005, 05:47 AM
The %_SB_SETUPTYPEID% variable holds the name of the selected setup type.

You can use something like the following:

If %_SB_SETUPTYPEID% Equals 'Typical' Then
Yada
End

Does this help?

slimboywynn
07-13-2005, 06:24 AM
Its ok Friedrich, I found I had to setup a new variable which holds the program files folder which the icons are then installed into, now everything is working fine :)