/build/static/layout/Breadcrumb_cap_w.png

Removing ShortCuts

I have repacked an App but I have a problem when I uninstall the App. the desktop shortcuts are still there. any ideals please

thanks

0 Comments   [ + ] Show comments

Answers (9)

Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
Are they advertised shortcuts or normal shortcuts?
Posted by: cygan 18 years ago
Fifth Degree Brown Belt
0
the shortcuts are advertised.
Posted by: brenthunter2005 18 years ago
Fifth Degree Brown Belt
0
I have had this problem when the application was advertised to the user (from Active Directory) and then never installed. When the application was removed from that particular user, the application would "uninstall" but leave the advertised shortcuts behind. If the user did install the application (from the advertised shortcuts) then this problem wouldn't happen.

Are you doing the same process the same way as I was?
Posted by: Bladerun 18 years ago
Green Belt
0
I had a similar problem with a vendor MSI. The application was assigned per user. When it was removed, it left the shortcuts behind in Start>programs, which obviously repaired the msi when the user clicked them.

I suspect that it had something to do with the fact that the shortcuts where dropped in the All Users start menu rather than the user-specific start menu, but I was pressed for time on the package and ultimately just ended up writing a vbscript to remove the shortcuts.
Posted by: cygan 18 years ago
Fifth Degree Brown Belt
0
THANKS GUYS
Posted by: Sathia 18 years ago
Senior Yellow Belt
0
Hi Frnds,

I do hv similar problem in Removing ShortCuts since those are advertised as well. I have set to removefiles,removeregistry still doesn't help. It was happend because of i have to register those exe,extension files inorder to open up the files saved on the desktop.

Mean while if you can guide / advice me how to create vbs for the removal. Since i am new VBS.

Thanks in advance.
Posted by: rikx2 18 years ago
Purple Belt
0
Set objFSO = CreateObject("Scripting.FileSystemObject")

if objFSO.FileExists("path\filename.lnk") then
objFSO.DeleteFile "path\filename.lnk", true
end if

simple =)
Posted by: GB1 18 years ago
Orange Belt
0
I have a vendors MSI that leaves behind advertised shortcuts for some installed features after an uninstall. This is on a per machine installation.

Does anyone know why this happens? The targets for the shortcuts get removed.

I can remove the shortcuts, but would rather resolve why they don't get uninstalled in the normal sequence.
Posted by: Sathia 18 years ago
Senior Yellow Belt
0
Hi Rikx2,

Thanks for your script.

I managed to remove those shortcuts using RemoveFile Table.

Running the script may be considered as another deployment.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ