PDA

View Full Version : Removing Shortcut Icons



NewsArchive
05-01-2010, 02:15 AM
How is the best way to remove unwanted icons (shortcuts) on the desktop? We
have customers who are beta testing our next release of our software and we
created a desktop shortcut that needs to be removed when the beta testers
install our production release. I have attached screen shots of one of my
'Create Shortcut' statements.

Dee Witham

NewsArchive
05-01-2010, 02:16 AM
>How is the best way to remove unwanted icons (shortcuts) on the desktop? We
>have customers who are beta testing our next release of our software and we
>created a desktop shortcut that needs to be removed when the beta testers
>install our production release. I have attached screen shots of one of my
>'Create Shortcut' statements.

I once finished up with a beta user complaining about five icons for
deferent develop versions. It's the version number change. To make
sure old icons are removed I found that exactly the same name must be
used.

Steve

--
Neural Planner Software Ltd www.NPSL1.com
EasyNN-plus. Neural Networks plus. www.easynn.com
SwingNN. Forecast with Neural Networks. www.swingnn.com
JustNN. Just Neural Networks. www.justnn.com

NewsArchive
05-01-2010, 02:16 AM
Dee,

> How is the best way to remove unwanted icons (shortcuts) on the desktop?
> We have customers who are beta testing our next release of our software
> and we created a desktop shortcut that needs to be removed when the beta
> testers install our production release. I have attached screen shots of
> one of my 'Create Shortcut' statements.

A shortcut is nothing more (or less) than a file. So just use the "Delete
File(s)..." script function and you are done. I assume you install to the
all users desktop, so you can use the built-in
%_CSIDL_COMMON_DESKTOPDIRECTORY% variable.

For example:
%_CSIDL_COMMON_DESKTOPDIRECTORY%\yada.lnk

Friedrich

NewsArchive
05-01-2010, 02:16 AM
BTW, in your case, if you would like to remove your "PDS Cortex V7" desktop
shortcut, you can use the following in the Delete File(s) function:

%_CSIDL_COMMON_DESKTOPDIRECTORY%\PDS Cortex P7.lnk

Friedrich

NewsArchive
05-01-2010, 02:17 AM
Thanks, I will incorporate into my project.

Dee