How can I make a self updating application - specifically a plug-in - via C#?

This is a discussion on How can I make a self updating application - specifically a plug-in - via C#? within the C# Programming forums, part of the General Programming Boards category; I don't think I can use click once (or can I?) because it's a plug-in and not a stand-alone app......

  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    14

    Question How can I make a self updating application - specifically a plug-in - via C#?

    I don't think I can use click once (or can I?) because it's a plug-in and not a stand-alone app...

  2. #2
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    A plug-in for what application?

    If your app has the freedom to execute an updating code, download from a server the new updated plugin for example, then it is self-updating right there.

    If you want the plug-in to be reinstalled then you will have to check out with the main program and see how it can be updated from there.

  3. #3
    Registered User
    Join Date
    Jul 2010
    Posts
    14
    Basically I have a Outlook plug-in
    I just want to have the capability to update the plug-in without the user having to go through the hassle of uninstalling it first.

    Thanks for your continued help, C_ntua!

  4. #4
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Plug-ins can be done by loading the assembly at run-time. You can pretty much query for all members of a class regardless of visibility and you can also instantiate any object in another assembly. Assembly has a GetType() function which returns a Type and then you can use the Activator class to instantiate the type and then cast it to the interface visibility that you want provided the object derives from said interface.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. trying to make a KenGen ( for a game tool )
    By lonewolfy in forum C# Programming
    Replies: 4
    Last Post: 03-28-2007, 09:23 AM
  2. How can i make a normal application
    By jobbie in forum C++ Programming
    Replies: 18
    Last Post: 01-22-2006, 05:59 PM
  3. Win32 Common Controls in C++, how do i make and use them?
    By C+noob in forum Windows Programming
    Replies: 6
    Last Post: 01-09-2006, 11:53 AM
  4. Replies: 20
    Last Post: 12-09-2004, 07:52 PM
  5. "Cannot make pipe"
    By crepincdotcom in forum C Programming
    Replies: 5
    Last Post: 08-16-2004, 01:43 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21