I have a standard windows forms application that is being deployed using the VS2017 setup project. When opening the setup project using the "File System", I added to the application folder the following:
- Primary output from the win forms app.
- The
EPPlus
library's dll. - Some excel files.
The setup project gives the output .msi
package just fine. The problem is, when I run the .msi
output after building the setup project (of course after building the source project) and run the application, I do not see my updates, even the files on C:\Program Files ....
directory are not modified. I tried changing the product code and the increasing the version and it does not work. My questions are:
- Besides removing and installing the program again, is there anyway to make the installer package actually updating the software's installation?
- How to avoid the problem in #1 no matter how much I update the software?
- What is the cause and how to avoid this error "Another version of this product is already installed"? I'm not sure of what I did for it to pop up.
- If I want some part of the source code to be in a separate dll, is it as simple as adding a class library project and adding its output to the setup project?
Thank you very much.