all groups > dotnet distributed apps > may 2007 >
You're in the

dotnet distributed apps

group:

Clickonce app launch at login replace explorer.exe as shell


Clickonce app launch at login replace explorer.exe as shell ujjc001 NO[at]SPAM gmail.com
5/23/2007 8:12:40 AM
dotnet distributed apps:
I(sorry for cross post)

'm trying to get an app to run on logon as the shell. We have our
app run as a kiosk by replacing the shell key value in HKCU\Software
\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell

I've tried the following (used to be a ref to the actual exe, which
now needs to run the clickonce proxy exe to check for update prior to
running the app) as values for the shell value:


C:\Documents and Settings\username\Start Menu\Programs\Company Name,
Inc\AppClient.appref-ms


rundll32.exe dfshim.dll,ShOpenVerbApplication
http://webserver/clientpublish/AppClient.application


and none work on startup but work from command line (run).


Any thoughts on how to get my app to run on startup, replacing
explorer.exe and maintaing the functionality of clickonce (auto-
update)...


Thanks!
Jeff
Re: Clickonce app launch at login replace explorer.exe as shell ujjc001 NO[at]SPAM gmail.com
5/25/2007 8:01:55 AM
What I did to fix this was to make a .bat file that points the the
app.appref-ms file in the start menu. What the problem turned out to
be was a comma in the folder for the start menu which came from not
having a publisher name in the publisher settings, so it took my
assembly info's company name and added a ", Inc" to the end of it...
the shell died at the comma.

Thanks,
Jeff
AddThis Social Bookmark Button