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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 10/19/2010 by: VBScab
Red Belt

Please log in to comment
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
Answered 10/19/2010 by: chichora123
Fourth Degree Green Belt

Please log in to comment
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
Answered 10/19/2010 by: chichora123
Fourth Degree Green Belt

Please log in to comment
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.)
Answered 10/20/2010 by: captain_planet
Second Degree Brown Belt

Please log in to comment
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.
Answered 10/20/2010 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity