Indigo Rose Software

Go Back   Indigo Rose Software Forums > MSI Factory 2.0 > MSI Factory 2.0 Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2007
alexzfirm alexzfirm is offline
Forum Member
 
Join Date: Jul 2007
Posts: 69
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
Reply With Quote
  #2  
Old 07-23-2007
alexzfirm alexzfirm is offline
Forum Member
 
Join Date: Jul 2007
Posts: 69
Any script samples please? Is there a "Shell.DeleteShortcut" function or something like that?
Reply With Quote
  #3  
Old 07-23-2007
Brett's Avatar
Brett Brett is offline
Indigo Rose Staff Member
 
Join Date: Jan 2000
Posts: 2,001
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.
Attached Files
File Type: zip Remove Shortcut Sample.zip (19.9 KB, 19 views)
Reply With Quote
  #4  
Old 07-23-2007
alexzfirm alexzfirm is offline
Forum Member
 
Join Date: Jul 2007
Posts: 69
Quote:
Originally Posted by Brett View Post
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"
That should work. Thank you!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software