SL-USA

Used ClickOnce to deploy an upgraded VB6 to VB.Net application relatively easily. Customer who uses the regular XP Start Menu notices that after the app has been installed and run, the Start/Programs shortcut continues to stay highlighted. I use the Classic Start Menu so didn't see it during testing.

I know how to turn the "Highlighted Newly Installed Programs" option off, but this is the customer's machine and they want it on. ClickOnce is able to register the program as new, but for some reason XP doesn't turn it off even after the application has been used.

I tested other applications and they are all highlighted until after they've been used the first time, which is what I would expect. Is there an option in ClickOnce that I'm using that is setting this

Any suggestions Is there way to programmatically turn it off

thanks

Scott




Re: ClickOnce and Setup & Deployment Projects App continues to stay highlighted as a Newly Installed Program after installed with ClickOnce

Peter Ritchie

I've seen that highlight stay around for a day or two. I suspect that it depends on how many icons there are in the startup group for that application. If there's two, for example, and you only click one to start the app., it remain highlighted...




Re: ClickOnce and Setup & Deployment Projects App continues to stay highlighted as a Newly Installed Program after installed with ClickOnce

SL-USA

Thanks - there is just one icon in the group. Really kind of baffling, to say the least....




Re: ClickOnce and Setup & Deployment Projects App continues to stay highlighted as a Newly Installed Program after installed with ClickOnce

SL-USA

Just to ensure it wasn't something special with this particular application or VB.Net, I created a quick app in C# (Express Edition) packaged it with ClickOnce and installed it. Now both groups (the original application and my sample app) are highlighted. Really raises questions about what else is being done behind the scenes when you deploy an application with ClickOnce.




Re: ClickOnce and Setup & Deployment Projects App continues to stay highlighted as a Newly Installed Program after installed with ClickOnce

Peter Ritchie

The highlight in the Start menu is completely WinXP+, ClickOnce has nothing to do with that other than it creates the groups/shortcuts that XP uses to detect "new" applications.




Re: ClickOnce and Setup & Deployment Projects App continues to stay highlighted as a Newly Installed Program after installed with ClickOnce

SL-USA

Thanks, Peter, I appreciate the response. The question remains: why do applications installed with ClickOnce STAY highlighted, even after repeated use, while programs installed with other types of installers (InstallShield, for example) don't What does XP check to see whether or not the application has been used What tells XP to turn off the highlight

I'm guessing there is something in the group/shortcuts that ClickOnce creates that is NOT in sync (i.e., a missing setting or configured incorrectly) with what XP needs to identify the app has been used and then turn off the highlighting I know this is a nit, but when a customer is installing the application and having this problem, they think it's our application causing the problem, not XP, so it's not a nit to them.

Do me a favor: create a "Hello World" app, install it with ClickOnce and bring it up in XP using the Regular XP Start Menu (not the Classic Menu) and tell me what you see. Try doing it a couple times with different sample apps you create and see if the highlighting goes away for any of those installed with ClickOnce after you run them. Maybe it's an XP problem, but as far as I can see, it's only manifested when using ClickOnce install.

Thanks again for your time,

Scott






Re: ClickOnce and Setup & Deployment Projects App continues to stay highlighted as a Newly Installed Program after installed with ClickOnce

Peter Ritchie

ClickOnce applications seem to register differently than regular MSI/setup applications. Windows XP uses this registration information to highlight the applicable entries in the Start Menu (if you simply add an entry into the start menu it won't be highlighted because it's not registered to be seen in add/remove programs). For example, a ClickOnce application has it's add/remove program information stored in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall, whereas most of that information is normally stored at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\.

Windows XP, in my opinion, is not handling these circumstances correctly in terms of what has or has not been run. But, it appears the highlight goes away after a week.






Re: ClickOnce and Setup & Deployment Projects App continues to stay highlighted as a Newly Installed Program after installed with ClickOnce

SL-USA

Thanks again, Peter - I'll forward your explanation on the customer.... I appreciate the follow up and quick response!