Need A Script to remove a special Shortcut file
Hello All,
I am working with PrimoPDF Setup.exe Application, am using VB script to install and uninstall, both scripts are working fine but the problem is
1. I want to remove Uninstall.exe Shortcut from Startmenu\Program which is getting created during installation. The Uninstall.exe file has a link to uninstallPDF4.XML file to unistall. am not finding a way out to remove such doubly linked short cut. Please help me out if any one has a solution.
One can observe that the shortcut has two destination Files one in C:\Windows and One in C:\Program Files as below is the Original Path.
C:\WINDOWS\PrimoPDF\uninstall.exe /U:C:\ProgramFiles\activePDF\PrimoPDF\Uninstall\uninstallPrimoPDF4.xml"
Thanks & Regards
I am working with PrimoPDF Setup.exe Application, am using VB script to install and uninstall, both scripts are working fine but the problem is
1. I want to remove Uninstall.exe Shortcut from Startmenu\Program which is getting created during installation. The Uninstall.exe file has a link to uninstallPDF4.XML file to unistall. am not finding a way out to remove such doubly linked short cut. Please help me out if any one has a solution.
One can observe that the shortcut has two destination Files one in C:\Windows and One in C:\Program Files as below is the Original Path.
C:\WINDOWS\PrimoPDF\uninstall.exe /U:C:\ProgramFiles\activePDF\PrimoPDF\Uninstall\uninstallPrimoPDF4.xml"
Thanks & Regards
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
AssmbLLYCoder
16 years ago
Set Shell = CreateObject("WScript.Shell")
FSO.DeleteFile Path & "Uninstall.lnk"
Here I have assumed that the application shortcut is installed to All Users Start Menu and the name of the shortcut is Uninstall.
It would have been easier if you had posted your script. I hope it helps..
Regards,
AssmbLLYCoder
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.