Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello There
I have created a C# application and its corresponding setup project. The setup was installed on a client machine.
The client want some changes in the application so as I did it accordingly into the code. The application build successfully. Now the client don't want to uninstall previous setup and install the new one. I carry executable file inside the bin folder and dump it into the client's destination folder but the changes doesn't affect the system.

Looking for a solution.
Need Suggestion
Best Regards
Posted
Updated 17-Aug-13 1:59am
v3

1 solution

you have to do following steps while creating setup,

1.Set Remove Previous Installation as True
2.Set Detect new version as True
3.Your C# program's version must increase with every deployment
4.You should change version of your installer to one higher version and it will ask you to change product code, select YES.
5.Do not change your upgrade code, let it be same.

If you do not do 3rd step correctly, installer will still install and keep the old file, your file version of every file must be new if you have changed your content.

http://aritrasaha.wordpress.com/2009/04/24/setup-and-deployment-project-uninstall-previous-version/[^]
 
Share this answer
 
Comments
Mayank Topiwala 16-Aug-13 8:00am    
couldn't find the solution.
abbaspirmoradi 17-Aug-13 10:48am    
Are you also set app dll into client folder?
Mayank Topiwala 20-Aug-13 1:29am    
which dll ?

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