Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3875558
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:16:51+00:00 2026-05-19T22:16:51+00:00

I have a .NET 4 WPF app that gets installed using an MSI, generated

  • 0

I have a .NET 4 WPF app that gets installed using an MSI, generated via a visual studio setup project. Everything works great, except that I’m missing the Click Once Deployment feature that checks for new versions of the app on load and downloads/installs them. I switched away from Click Once Deployment because it seems to be a half-baked solution that makes you do hacks just to do simple things like have your app run on startup.

I was wondering if there is any sort of tutorial or code anyone can show me that lays out how to handle checking for new versions of the app, downloading the new version of the app, and installing the new app over the old one. This seems like something that most WPF apps would want to have, I’m surprised that I can’t find anything about this on google.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T22:16:52+00:00Added an answer on May 19, 2026 at 10:16 pm

    There is no such inbuilt or ready made tool. In startup of your application you can run your code which does following.

    1. Fetch your http://myserver.com/myproduct/update.xml, where you will keep settings of your latest version and url of a new update msi file
    2. If update is available that is different then the currently running version, then download the file using WebClient and store it in temp folder
    3. You can then create a batch file with following string and store it in temp folder
    msiexec /u {your product code}
    msiexec /i ..path to your new msi
    

    Finally Execute your batch file using Process.Start and exit your app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a mixed UI (Win App, WPF App, and soon an ASP.NET MVC
I have a C# (2008/.NET 3.5) class library assembly that supports WPF (based on
I have a WPF (.Net 3.5 sp1) application that loads a bunch of data
I have a .Net client WPF application using System.DirectoryServices and LDAP for authentication. On
Ok another WPF question, well I guess this is just general .NET. I have
If I have .Net Form with a component/object such as a textbox that I
I have a .NET 2.0 windows forms app, which makes heavy use of the
I have a .NET application, which is using an open source C++ compression library
I have a .NET webforms front end that allows admin users to upload two
I have a .NET 2.0 application that has recently had contributions that are Service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.