Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing Desktop Shortcuts Using Wise Install Builder

Status
Not open for further replies.

FastOneBaz

IS-IT--Management
Feb 9, 2005
1
0
0
GB
Hi All

Am having trouble getting my Wisescript to remove desktop shortcuts.

The script is simple, just installs a bunch of files to particular folder structure and part of its job is to remove 2 old desktop shortcuts.

The DESKTOP variable is created by searching the registry and I can tell from a Message Box in the code that it takes the correct value.

I have 2 desktop shortcuts I need to remove and am using the code:

Delete File(s) %DESKTOPDIR%\MyShortcut.Ink

This code in is the same loop (If system has Windows 95 shell interface...) that the DESKTOP variable is defined in.

But it won't work!!

Anybody offer any tips?

thanks
Baz
 
I don't underestand, after you performed your initial scan, installed the software and then removed the old Icons before performing the post scan.

This should have captured those actions, what platform are you packaging on?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top