Page 1 of 1

Multiple different shortcuts

Posted: Fri Jul 01, 2005 6:34 am
by StuartSeath
I have an application which is installed at several different locations, where command-line options are different. Assume these sites are called SiteA, SiteB and siteC.

I want the user to select SiteA, SiteB or SiteC (these seemed like Features) and get different shortcuts installed. Maintenance gets long-winded as the number of sites increases. Do you have any ideas/suggestions? I should probably ask a separate question and modify the shortcut from the script code. Can I do that? I would need to set the Command-line parameters.

Posted: Sat Jul 02, 2005 5:45 am
by sinan
Absolutely. If you're setting command line parameters, you could set a variable to the Command Line Parameters field in the Create Shortcut command. Then before actually calling the Create Shortcut command in your script, you could set this variable to any particular value you like, as appropriate for your target site.