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
RobinS - 23 Feb 2008 03:08 GMT
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.
-----------------------------------------
> Hi all,
>
[quoted text clipped - 23 lines]
> Thank you in advance,
> Jan
Jan Vinten - 27 Feb 2008 07:19 GMT
Hi RobinS,
Thank you.
Pointing at the appref-ms does the job. :o)
/ 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
[quoted text clipped - 31 lines]
> > Thank you in advance,
> > Jan
RobinS - 01 Mar 2008 16:39 GMT
Cool. I'm glad it helped. Thanks for posting back and letting us know.
RobinS.
----------------------
> Hi RobinS,
>
[quoted text clipped - 44 lines]
>> > Thank you in advance,
>> > Jan