Inno supports Pascal scripting for just about any problem not handled
automatically by the built-in commands. You could write functions in a
[Code] section that generate the name at runtime, based on whether or not
any icons already exist with the base name or even querying the user for the
name to use.

I'm actually not 100% clear about your requirements but I am 100% sure
Pascal scripting is the solution to your problem. There isn't anything you
can't do, esp. considering you can use automation and the whole nine yards
in Pascal script. See the CodeAutomation.iss example for inspiration. It
shows how to install a SQL database, adjust Windows firewall, install a
virtual directory for IIS, and creating XML documents, and automating
Word...all in about 300 lines of code, and all using various ActiveX objects
available on the system. I bet it can create dynamically named icons on the
user desktop using the file system object... just may need to do some
research and steal administrative examples from a VBScript or WSH resource.

- Bob

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Frank Cazabon
> Sent: Saturday, September 05, 2009 8:25 AM
> To: [email protected]
> Subject: Re: INNO
> 
> Hi Sytze,
> 
> my guess is that you'll need a different AppId and shortcut name for
> each icon.  But I'm not sure if even that will work.
> 
> Sytze de Boer wrote:
> > I've tried to figure out what INNO is trying to tell me but it
> escapes me
> >
> > I have a situation where my program may be installed multiple times
> (in
> > disfferent folders)
> > When they do this after the 1st install, each subsequent install
> replaces
> > the icon with the new parameters
> > Can this be avoided (and give a 2nd desktop icon) ?
> >
> >
> >
> 
> --
> 
> Frank.
> 
> Frank Cazabon
> Samaan Systems Ltd. - Developing Solutions
> www.SamaanSystems.com/
> 
> Referrals are important to us.
> If you know of anyone who would benefit from our services, please
> contact me. We would appreciate the opportunity to work with them.
> 
> 
> 
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to