|
#1
|
|||
|
|||
|
Remove shortcuts from desktop and Start Programs?
There are bunch of options of creating shortcuts, but I do not see how can I remove shortcuts that become obsolete...
Any ideas or script samples? Thank you |
|
#2
|
|||
|
|||
|
Any script samples please? Is there a "Shell.DeleteShortcut" function or something like that?
|
|
#3
|
||||
|
||||
|
You can do that using a Remove Files action from the installer itself. See the attached project. It removes a shortcut called "My Old Notepad" from the Start > Programs > My Notepad group during installation. The secret is just to delete the file <shortcut name>.lnk. For example, "My Old Notepad.lnk".
If you want to do it from the bootstrapper using a script, see the Shell.DeleteShortcut action. Although in this case I would reccomend doing it directly from the MSI installer assuming that you know the name of the file. |
|
#4
|
|||
|
|||
|
Quote:
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I remove old desktop shortcuts? | Stein Inge | Setup Factory 7.0 Discussion | 10 | 03-04-2007 04:30 AM |
| NirCmd v1.85 - Freeware command-line tool | bobbie | AutoPlay Media Studio 6.0 | 1 | 02-19-2007 08:20 AM |
| Remove shortcuts from old version | Stein Inge | Setup Factory 7.0 Discussion | 0 | 01-05-2007 02:21 AM |
| Start Menu Shortcuts? | srussell | AutoPlay Media Studio 6.0 | 6 | 12-06-2005 09:26 AM |
All times are GMT -6. The time now is 06:55 AM.









Linear Mode

