Click here to Skip to main content
15,911,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Just want to point out I am quite a novice in this and have never done it before. Want to be able in the future to update an installed program I made in C #. which ways are there to go? how do you create the program so this is possible?
grateful for all the answers.
Per
Posted
Comments
Sergey Alexandrovich Kryukov 12-Dec-15 5:52am    
It depends on what installation technology and toolbox you are using...
Aren't the standard way is good enough: when you run the same installer when the product is already installed, the user is prompted to uninstall? It it's uninstalled, the user can install the newer version.
—SA
Philippe Mori 12-Dec-15 23:09pm    
Usually if you set an high version number of the same product (setup version), previous version is automatically removed.
Sergey Alexandrovich Kryukov 13-Dec-15 0:19am    
It depends. It's possible because, essentially, the removal of older version is based on the copy of the installer automatically preserved in the installation. Only that installer "knows" how to uninstall the previous version.
—SA

So you need to do patch update right ? you can use MSI (which is with Visual studio, now it is replaced with InstallShield Limited Edition) or Inno setup[^] is also a good one. here you can customize your patch upgrade with different scripts
 
Share this answer
 
You probably need to look into the use of ClickOnce technology[^].
 
Share this answer
 
Comments
phil.o 12-Dec-15 5:58am    
Obviously someone did not like your answer. Nevertheless it is perfectly valid, given what OP describes in this "question".
Richard MacCutchan 12-Dec-15 6:17am    
Ho hum. Thanks for the counter.
Sergey Alexandrovich Kryukov 13-Dec-15 0:24am    
Agree, this advice makes sense, my 5.
—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