Hi vitaly91,
You are missing the point that Jooel is making.
In each of your 'If InGroup("Group Name")' statements:
  • "ChicagoMM"
  • "LansingMM"
  • "Test_LansingMallMM"

you are adding the same links (shortcuts).
Code:
  if exist("%userprofile%\desktop\MicroMainXM.lnk")=0
    $=WshShortCut("%userprofile%\desktop\MicroMainXM.lnk","D:\Citrix MicroMain\Test Lansing Mall\micromainxm.mde")
    ? @serror
  else
    ? "Already Exists"
  endif
  if exist("%userprofile%\desktop\xmREPORT.lnk")=0
    $=WshShortCut("%userprofile%\desktop\xmREPORT.lnk","D:\Citrix MicroMain\Test Lansing Mall\xmreport.mde")
    ? @serror
  else
    ? "Already Exists"
  endif

What Jooel is saying, is that if you want the different groups to assign different links (shortcuts), you need to change the specific links in the specific group or you need to add code for the links that you want to add.




Edited by Benny69 (2006-12-04 10:17 PM)
_________________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)