ClickOnce problem.

  • Thread starter Thread starter Jan Vinten
  • Start date Start date
J

Jan Vinten

Hi all,

I have a application done in VS2008 which uses ClickOnce deployment.

The application is set to check for updates on application start -
this is working... more or less.

My problem is:

When the application is started manually from Start->Programs-
AppFolder->AppExe then ClickOnce checks for application updates. This
is working just fine.

But my problem is that since ClickOnce doesn't support the option to
add the application to the startup folder then I have added the
application into the registry HKLM->Software->Microsoft->Windows-
CurrentVersion->Run. So the application actually starts up everytime
the user is logging in. But ClickOnce doesn't check for updates when
started this way. That I simply cannot understand.

I have also tried to add the application into the Startup folder -
then I experience the same problem.

Can anyone in here help me?

Thank you in advance,
Jan
 
In order for ClickOnce to check for updates, you have to have the shortcut
point at the appref-ms file, not the exe file. Try googling "click once
shortcut desktop" and you can find the code used to put a shortcut on the
desktop for a ClickOnce deployment; maybe that will tell you what you can
do, if it's even possible.

RobinS.
-----------------------------------------
 
Cool. I'm glad it helped. Thanks for posting back and letting us know.
RobinS.
----------------------
 
Back
Top