Jump to content

How to delete shortcuts?


hevnbnd

Recommended Posts

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

Link to comment
Share on other sites


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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...