Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
i have created the window application and i have created the setup of that application that has been installed to client machine.Now the requirement is that if i will do the further modification to the project the client not need to install whole application again instead client only need to install Update of new version.

i have used Setup and Deployment project from VS2008.

what should i do ?

Thanks in advance
Posted

For windows application updates,
no need to re-install application for each update.

there are three solutions

1.
just replace client's exe file with your latest exe.
(basic process for update is to detect the changes and replace with latest one.)

2.
use .net clickOnce feature
step 1 open project properties
step 2 click 'publish' tab
step 3 click 'updates' button
step 4 tick 'the application should check for updates';
step 4.1 other settings as per requirement.
step 4.2 and last, specify update location (specify ftp or http path, where you will upload application updates and client-side the updates will be detected automatically and will be download + the files will also be automatically replaced on specific location. visual.net's clickonce feature serves this facility.)

3.
use custom Auto-update application. check reference given below
http://www.codeproject.com/Articles/19623/Adding-automatic-updates-to-your-program-Part-1


each every method have their own pros-cons.
if you don't have space to upload updates on internet or your client doesn't have internet facility.
and also you don't get updates from your client frequently, then go with first basic method.

simple thing is that,
"just use resources as per requirement and Convenience."

Happy coding!
:)
 
Share this answer
 
v2
You can manually create a patch between two MSI files as long as only files have changed - technically, you can also handle additions/removals of files too, but that relies on consistency of file ordering between the two MSI builds

Example of small update[^]

If you want to do it 'properly', I'd suggest you use something more useful than the Setup and Deployment tool in VS; that's extremely rudimentary - have a look at WiX[^] if you want a free one, it is (or was) written by the MSI development team

Deploying via MSI is extremely powerful, but requires a lot of thought and design - unfortunately, most Dev teams look at the setup process just before release and make mistakes they eventually regret

My honest advice would be to re-engineer a new msi in it's entirety, using a real MSI creator, have it remove your previous installer (using the Upgrade Table[^] and start again at v1.1
 
Share this answer
 

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