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
Page 1 of 1
How to delete shortcuts? Almost finished with all my questions.
#2
Posted 16 June 2004 - 01:45 PM
hi,
here is a deletion line that works for me:
hope this helps a bit
cya
Killer Bee
edit: replaced code with a sample of the actual XPlode
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
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
.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



Help

Back to top








