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)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Posted by:
chichora123
14 years ago
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
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
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
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
OR
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace
Posted by:
captain_planet
14 years ago
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.)
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
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.
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.
so that the conversation will remain readable.