Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / December 2005

Tip: Looking for answers? Try searching our database.

ClickOnce

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Steele - 07 Dec 2005 23:06 GMT
I have today gone to production with my first .net 2.0 Windows forms app.  I
distributed it using click once.  I was impressed with the .net framework
1.1,  2.0 looked even better from a developer point of view (generics are
brilliant).  But I have to say click once is the best thing microsoft has
ever done.  

I published the app to my webserver, sent everyone a link, sat back and
grinned.  It felt so good I even built a quick enhancement just so i could do
an update in the afternoon.  The last software distribution i did was a vb6
app and involved sending ~20Mb of install set around to 100+ people, so you
can imagine how good this felt.

Well done microsoft!

If you havent played with this technology then i would definitely suggest
you have a go.

Desktop Apps are back!

Cheers

Signature

David Steele
Recent VB6 - Dot net convert

Rene - 07 Dec 2005 23:20 GMT
Just out of curiosity, how big are the assembly on the server and what is
the connection speed of your users?

>I have today gone to production with my first .net 2.0 Windows forms app.
>I
[quoted text clipped - 20 lines]
>
> Cheers
David Steele - 07 Dec 2005 23:38 GMT
Not v big ~500kb in total.  It is not a big application.  All users have
normal uk broadband - 500Kbs
Signature

David Steele
Recent VB6 - Dot net convert

> Just out of curiosity, how big are the assembly on the server and what is
> the connection speed of your users?
[quoted text clipped - 23 lines]
> >
> > Cheers
Rene - 08 Dec 2005 00:05 GMT
I have never played around with the Click-Once technology.

Do you know if the file is cached in the user's computer and if the server
file is only re-downloaded if the version number changes? Or is the file
downloaded from the server every time the user uses it.

Just curious.

> Not v big ~500kb in total.  It is not a big application.  All users have
> normal uk broadband - 500Kbs
[quoted text clipped - 32 lines]
>> >
>> > Cheers
Bajoo - 08 Dec 2005 10:24 GMT
Dear Divid,
              When a user accesses a Launched ClickOnce application,
he clicks a link that points to the deployment manifest. The deployment
manifest has ".application" extension. The DFS(Deployment Framework
Service) reads the deployment manifest, locates the current version
from the application store, and launches it.In case of  Installed
application, a client-side .NET component executes every time a user
runs the application. The startup SHIM reads a cached copy of the
deployment manifest to find the update settings of the application. Its
first task is to answer , "Is there a need to check for updates?" If
the answer is no, the application loads from the local program
directory, and the work of the SHIM is finished. if the update settings
in the manifest do call for an update check, SHIM reads the location of
the deployment provider and calls it to determine whether an update is
available. If the application is up-to-date, the SHIM launches the
application from the local program directory. If an update is
available, the application gets updated.

              The client-side SHIM queries the cached manifest to
learn whether an update check was necessary.
Using an Installed ClickOnce deployment, you have a number of update
options to choose from. you can refine this process by configuring the
ClickOnce application to immediately check for updates upon startup.
you can allow the user to choose whether to accept the update.
You can also make the update mandatory by specifying the minimum
required version for the application and then setting that version to
the latest version of the application.
Another option is to programmatically implement updating. You can, for
example, add menu items to your application to check for updates. This
gives control to the user regarding when to update the application.

I hope it clears Click-Once to you.

Regards,
Naveed Ahmad Bajwa
http://bajoo.blogspot.com/
Simon - 08 Dec 2005 10:29 GMT
Many Thanks,

Very clear and concise answer.

Simon

> Dear Divid,
>                When a user accesses a Launched ClickOnce application,
[quoted text clipped - 32 lines]
> Naveed Ahmad Bajwa
> http://bajoo.blogspot.com/
Rene - 08 Dec 2005 18:18 GMT
Thnaks, great answer but, what about the .Net framework? Does the Click-Once
technology detects that the user does not have the proper .Net framework
installed and gracefully prompts the user to install it? Or does the
application simply crashes with the typical cryptic error message?
Simon - 09 Dec 2005 13:19 GMT
I'm going from memory, but I'm pretty sure you can set a dependency that
detects whether the framework is installed. Might want to look at
dependancies in the deployment project.

Simon

> Thnaks, great answer but, what about the .Net framework? Does the Click-Once
> technology detects that the user does not have the proper .Net framework
> installed and gracefully prompts the user to install it? Or does the
> application simply crashes with the typical cryptic error message?
CodeFester - 29 Dec 2005 21:38 GMT
Yes you can configure the publish "Prerequisites" to include the MDAC 2.8,
the .NET framework 2.0 and the Report Viewer (if you need to have forms
display a SQL reports services report), among other dependencies which can be
configured to install thru ClickOnce.  I too like the technology but is
anyone out there experiencing a problem regarding ADO not installed in GAC
errors (on the clients after ClickOnce completes)???  ANY help would be
greatly appreciated.  So far the only way I can make my clients work is to
install the SDK on them and it's HUGE!

Signature

"If there are only 2 people on the elevator, then everybody knows who
farted..." - George Carlin

> I'm going from memory, but I'm pretty sure you can set a dependency that
> detects whether the framework is installed. Might want to look at
[quoted text clipped - 6 lines]
> > installed and gracefully prompts the user to install it? Or does the
> > application simply crashes with the typical cryptic error message?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.