create installer and uninstaller both for C# .net project
i have visual studio 2010
i have created a .net project C#.net which produces a simple DLL...Its on .net framework 3.5
Now, i created a setup project to install that DLL on users machine.
I can do a silent installation on my/users machien by running -
Now, I might have to make changes to my DLL and upgrade that DLL on users machines for many times...
I donot want to go to users machine and uninstall my dll using add-remove programs each time I upgrade my DLL...
How can i create an uninstaller for that DLL? So that i can run a command and it will do a silent uninstall of that DLL ? thansk a lot...
So if I do this-
setup.exe -quiet -l mylogfile.txt
Log file - shows this message
MSI (s) (EC:24) [14:01:44:541]: Product: MyProduct-- Configuration failed.
MSI (s) (EC:24) [14:01:44:541]: Windows Installer reconfigured the product. Product Name: MyProduct. Product Version: 1.0.0. Product Language: 1033. Manufacturer: MyCompany. Reconfiguration success or error status: 1638.
Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.