dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: autoo updater help

  1. #1
    Join Date
    Apr 2006
    Posts
    220

    autoo updater help

    I have a confusion related to ClickOnce application development.

    I have a windows forms applications. what if I only replace the MyApp.exe and related DLL files in the program directory instead of building the project with ClickOnce? will it work. what is the advantage of ClickOnce.

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,210

    Re: autoo updater help

    Quote Originally Posted by nabeelisnabeel View Post
    I have a confusion related to ClickOnce application development.

    I have a windows forms applications. what if I only replace the MyApp.exe and related DLL files in the program directory instead of building the project with ClickOnce? will it work. what is the advantage of ClickOnce.
    You can do this, providing the user has permissions to write to this location. If you use ClickOnce, once the application has been initially installed a user doesn't need to have elevated permissions for an upgrade.

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,268

    Re: autoo updater help

    I concur. If it is a program used by a very limited amount of users, yes, this would be the better option. But, with any major enterprise application, you would need to use ClickOnce

  4. #4
    Join Date
    Apr 2006
    Posts
    220

    Re: autoo updater help

    Arjay and Hannes, thanks for your replies.

    Can I make an installer with ClickOnce which updates my software to newer version without uninstalling the older version.

    Limitation: assume my machine where the software will be installer has not internet access from where to download the assemblies.

  5. #5
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,210

    Re: autoo updater help

    Have you read the documentation on ClickOnce deployment?

  6. #6
    Join Date
    Apr 2006
    Posts
    220

    Re: autoo updater help

    Quote Originally Posted by Arjay View Post
    Have you read the documentation on ClickOnce deployment?
    Yes, according to Microsoft,

    With ClickOnce deployment, you publish the application to a centralized location and the user installs or runs the application from that location.
    Links:
    http://msdn.microsoft.com/en-us/libr...=VS.90%29.aspx
    and
    http://msdn.microsoft.com/en-us/libr...=VS.90%29.aspx

    I don't have a centralized location and the client machine also don't have internet access so the question of implementing Automatic Updates does not arise here. I can only work with windows installers here.

    Can a windows installer be modified in such a way that it doesn't ask to uninstall the previous application and installs the latest version on it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)