/build/static/layout/Breadcrumb_cap_w.png

Problem with desktop shortcut

Working on vendor MSI which copies 2 files on my desktop and i can't seem to find them under Allusers\Desktop as well as Users\Desktop. When i right click on them it only shows me Open/Explore & create a shortcut option. Any advice on how to get rid of them? Thanks in advance guys

0 Comments   [ + ] Show comments

Answers (5)

Posted by: anonymous_9363 14 years ago
Red Belt
0
This involves basic MSI detective work.

Find the filename in the File table and work back to the Component table. Hopefully, they'll be in discrete components and you can condition them out.
Posted by: chichora123 14 years ago
Fourth Degree Green Belt
0
its coming from a Feature & if i try to delete it from the project some of the other shortcuts doesn't work from start/ program menu. Which of the following values should i modify to accomplish this? Thanks for ur help on this Vb...

Title= Connection Central Desktop Icon
Description= Install an icon on your desktop for quick access to Connection Central.
Display= 29400
Level= 100
Attributes= 10
Posted by: chichora123 14 years ago
Fourth Degree Green Belt
0
Some of you might not approve this but i end up creating a custom action to delete the registry entry & it works like a charm. Desktop icons can be removed from....

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
OR
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
Posted by: captain_planet 14 years ago
Black Belt
0
Hmmm.....I personally don't delete namespace icons by writing CAs to delete registry keys afterwords. My preferred method is:

Let's say your namespace reg key is:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{7877c8e2-8b13-11d0-92c2-00aa004b1111}]

Then you can create the following registry key to simply 'hide' it:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{7877c8e2-8b13-11d0-92c2-00aa004b1111}"=dword:00000001

(1 = hide, 0 = show)

The reason I do it this way is because in the past, simply deleting the registry key caused errors whilst running the application....this method didn't. [;)] (And it's probably a tidier way of doing things.)
Posted by: anonymous_9363 14 years ago
Red Belt
0
Rrrrrrrrrrright......so......the package isn't actually copying files to the Desktop, then, but creating Desktop icons pointing to some folders/files.

I find that it usually helps to accurately describe what's happening in order to elicit a response which will fix the issue.

Your initial "fix" - removing the feature - reveals a startling lack of knowledge. Can I suggest you get hold of and read Phil Wilson's The Definitive Guide to Windows Installer (@regulars: I've emailed Phil, asking him for my commission...)? You really need to get a grip on the fundamentals before letting loose on any more packages.
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