Posted 10 January 2002 - 12:08
Posted 10 January 2002 - 12:18
Posted 10 January 2002 - 14:40
I had added the deletefolderIcon code but could not find a condition to make it fire. I tried running the code anyway at the end of the installation just to see if it would work and the installer locked up. The essential code I ran was
where szProgramFolder = "" ie programs menu
and szItemName was the name on the programs menu
Any further help would be much appreciated
Posted 10 January 2002 - 19:31
A good use of conditions for creating icons would be:
On the CreateIcon CA:
($MyComponent = 3) And (?MyComponent <> 3)
On the DeleteIcon CA:
($MyComponent = 2) And (?MyComponent <> 2)
Where MyComponent is the Component key for the component containing the file which the shortcut points to.
The first condition says "when this component is installed locally (and not reinstalled)". The second says "when the component is uninstalled locally (and not ignored on reinstall)".
If you're using advertising and want these Icons to advertise a file then it's a bit more complicated :-D