|
I have one ClickOnce application that I have been developing and testing on this machine. I have used Add/Remove programs to uninstall it a few times. The tree under: HKEY_CURRENT_USER\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment seems to have a bit of stuff leftover from prior versions that were uninstalled.
Where can I find documentation on the registry structure under the above key? | | saberman Monday, August 10, 2009 2:43 PM | I don't think there's any official documentation on the registry settings, as you are not really supposed to muck around with them. What are you trying to accomplish? This is the only thing I could find: http://msdn.microsoft.com/en-us/library/267k390a.aspxIf you're trying to clean yours up, try copying mage.exe over to the computer and running it in a command window with -cc as an argument. > mage -cc This will clean out your ClickOnce cache, and might clean the registry settings as well. mage.exe is part of the Windows SDK; try searcing your c:\programfiles folder. (On my machine, it's under Windows SDK, drilling down enough levels to get to the \bin\ folder.) RobinDotNet Click here to visit my ClickOnce blog!- Marked As Answer byRobinDotNetMVP, ModeratorMonday, August 31, 2009 2:28 AM
-
| | RobinDotNet Tuesday, August 11, 2009 4:19 AM | Hello saberman, I agree with Robin, and I've searched on our database, but I didn't find any documentation about the registry settings on ClickOnce deployment. The only thing I found is http://msdn.microsoft.com/en-us/library/ms404265.aspx Based on my understanding, the registry entries under HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment are written out by the ClickOnce engine. You don't need to care about these entries. I don't know the exactly problem you are facing, if you could provide more background, maybe I can help. Thanks, Rong-Chun Zhang MSDN Subscriber Support in Forum If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Marked As Answer byRobinDotNetMVP, ModeratorMonday, August 31, 2009 2:28 AM
-
| | Rong-Chun Zhang Friday, August 28, 2009 6:43 AM | I don't think there's any official documentation on the registry settings, as you are not really supposed to muck around with them. What are you trying to accomplish? This is the only thing I could find: http://msdn.microsoft.com/en-us/library/267k390a.aspxIf you're trying to clean yours up, try copying mage.exe over to the computer and running it in a command window with -cc as an argument. > mage -cc This will clean out your ClickOnce cache, and might clean the registry settings as well. mage.exe is part of the Windows SDK; try searcing your c:\programfiles folder. (On my machine, it's under Windows SDK, drilling down enough levels to get to the \bin\ folder.) RobinDotNet Click here to visit my ClickOnce blog!- Marked As Answer byRobinDotNetMVP, ModeratorMonday, August 31, 2009 2:28 AM
-
| | RobinDotNet Tuesday, August 11, 2009 4:19 AM | Hello I am writing to check the status of the issue on your side. Would you mind letting me know the result of the suggestions? If you have any additional question, welcome to post here. Have a great day! Thanks, Rong-Chun Zhang
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. | | Rong-Chun Zhang Monday, August 17, 2009 10:06 AM | I am still wandering through the registry entries and trying to understand what they are used for and how they are controlled. It is not an urgent matter -- just one of my scars that started itching when I was told that the naming conventions for registry keys and directories used in ClickOnce deployments are trade secrets. I have some other things to address right now but if some documentation does become available I would appreciate it. | | saberman Tuesday, August 18, 2009 6:50 AM | I didn't say they were trade secrets. I said that as far as I knew, they weren't really documented, and MSFT told me not to depend on anything not documented staying the way it was. Or even documented, for that matter. We were discussing the files in the cache at that time, but note that they did change the foldering of the deployments on the web server between Visual Studio 2005 and Visual Studio 2008. (This really vexed some people, but I find it a lot cleaner.) In the meantime, if I come across anything about this, I'll post it back here for you. :-) RobinDotNet Click here to visit my ClickOnce blog! | | RobinDotNet Tuesday, August 18, 2009 7:09 AM | I didn't say they were trade secrets.
And I didn't say you did. That was the offical response from Microsoft -- not you.
MSFT told me not to depend on anything not documented staying the way it was. Or even documented, for that matter.
So what else is new? I don't want to depend on it -- I would just like to know the current algorithm for generating directory names and registry keys and what the registry keys represent. The only way I can get any information right nowis to find a hole,build an exploit and publish it and I don't have the time to do that -- right now.
In the meantime, if I come across anything about this, I'll post it back here for you. :-)
Thanks -- I'd appreciate that. | | saberman Thursday, August 27, 2009 1:27 AM | Hello saberman, I agree with Robin, and I've searched on our database, but I didn't find any documentation about the registry settings on ClickOnce deployment. The only thing I found is http://msdn.microsoft.com/en-us/library/ms404265.aspx Based on my understanding, the registry entries under HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment are written out by the ClickOnce engine. You don't need to care about these entries. I don't know the exactly problem you are facing, if you could provide more background, maybe I can help. Thanks, Rong-Chun Zhang MSDN Subscriber Support in Forum If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us. - Marked As Answer byRobinDotNetMVP, ModeratorMonday, August 31, 2009 2:28 AM
-
| | Rong-Chun Zhang Friday, August 28, 2009 6:43 AM | Based on my understanding, the registry entries under HKCU\Software\Classes\Software\Microsoft\Windows\CurrentVersion\Deployment are written out by the ClickOnce engine. You don't need to care about these entries. I don't know the exactly problem you are facing, if you could provide more background, maybe I can help.
Anytime someone says "You don't need to care about..." I start looking for an exit. If I am putting together a package that is going to install on a user's machine I need to understand the controls over both the applicationinstallation and execution. The exact problem is that I don't evenknow what they are much less understand them. I appreciate youreffort but I think this thread has run its course. When I have time to pursue the matter I will be back with specific questions. | | saberman Sunday, August 30, 2009 5:06 AM |
|