MSFN Forum: How to delete shortcuts? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to delete shortcuts? Almost finished with all my questions. Rate Topic: -----

#1 User is offline   hevnbnd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 06-September 03

Posted 15 June 2004 - 01:39 AM

Here is what my xml is for deleting 3 quicken shortcuts:

<item display='Quicken 2004' image="%SOURCEPATH%\PostInstall\images\Quicken.gif">
<execute display='Installing Quicken 2004...' program='%SOURCEPATH%\PostInstall\Applications\Quicken2004\DISK1\setup.exe' arguments='-s -f1"%SOURCEPATH%\PostInstall\Applications\Quicken2004\DISK1\setup.iss"' />
<delete source='%SYSTEMDRIVE%\Documents and Settings\All Users\Desktop\BEST FOR QUICKEN - LOW INTRO APR AND OPTIONAL TRAVEL REWARDS.lnk' />
<delete source='%SYSTEMDRIVE%\Documents and Settings\All Users\Desktop\VISIT QUICKEN.COM.lnk' />
<delete source='%SYSTEMDRIVE%\Documents and Settings\All Users\Desktop\SPECIAL OFFER FROM CITIBANK.lnk' />
</item>

Here is my log for that section after it runs:


Running item: 'Quicken 2004' {
      Running command: 'execute' {
        Command: execute, (2,0)
        Running: 'D:\PostInstall\Applications\Quicken2004\DISK1\setup.exe -s -f1"D:\PostInstall\Applications\Quicken2004\DISK1\setup.iss"'
      }
      Running command: 'delete' {
        Command: delete, (3,2)
        Deleting directory: 'C:\Documents and Settings\All Users\Desktop\BEST FOR QUICKEN - LOW INTRO APR AND OPTIONAL TRAVEL REWARDS.lnk'
        File mask: '*.*'
      }
      Running command: 'delete' {
        Command: delete, (3,2)
        Deleting directory: 'C:\Documents and Settings\All Users\Desktop\VISIT QUICKEN.COM.lnk'
        File mask: '*.*'
      }
      Running command: 'delete' {
        Command: delete, (3,2)
        Deleting directory: 'C:\Documents and Settings\All Users\Desktop\SPECIAL OFFER FROM CITIBANK.lnk'
        File mask: '*.*'
      }


I found it strang that xplode treated the files as directories and not files like my other delete file commands. Any ideas i think there in could lie the problem. Thanks Brian


#2 User is offline   killerbee 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 500
  • Joined: 22-April 03

Posted 16 June 2004 - 01:45 PM

hi,

here is a deletion line that works for me:
	 <delete source='#USERPROFILE#\Desktop\winscp3.lnk' />


hope this helps a bit

cya

Killer Bee

edit: replaced code with a sample of the actual XPlode

#3 User is offline   hevnbnd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 268
  • Joined: 06-September 03

Posted 21 June 2004 - 12:14 AM

Ok folks, well i suppose i did something stupid here. Figured i would post this for anyone that has problems deleting a shortcut. Come to find out the reason my shortcut would not delete was because it was a internet shortcut

.url Internet Shortcut (Extension not visible)

Not .lnk Gzzzzz i did not even think about that. Well enough is enough maybe this little bit of info can save someone some time


HEVNBND

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy