Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have made a desktop application which user installs in its local machine. There are different versions of this application. I want that the user can install the latest version which is available at any server.
If user installs any lower version there should be a message for him to install the latest version(if available on the remote server) and if the user accept that the application should connect to the server and download the latest version and install it in the user's machine.
I am not sure how to do this. Can anyone please help/guide me.

Thanks in advance
Posted

1 solution

There are different approaches to that, but, as the question (MFC) suggests this is the Windows application, you can use Windows Installer and MSI, the files you can publish on-line.
These days, I strongly advise open-source Wix toolkit:
http://en.wikipedia.org/wiki/WiX[^],
http://wixtoolset.org/[^].

Actually, this product is more "legitimate" than the Setup project file, because it is perfectly complies with MSBuild project file standard and has better Visual Studio integration. Please see also my past answer:
installshield and Visual Studio 2012[^],
How to conditionally install components based on processor architecture type (32-bit or 64-bit)?[^],
How to conditionally install components based on processor architecture type (32-bit or 64-bit)?[^],
Custom setup project[^].

—SA
 
Share this answer
 
Comments
nv3 13-Aug-14 8:51am    
Some really good links, Sergey. Thank you.
Sergey Alexandrovich Kryukov 13-Aug-14 10:43am    
You are very welcome.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900