I've made an installer that installs a folder and some files (.dll's) to a directory that the user specifies, but I've made changes to the things that are being installed and I have to have one of the .dll's removed during the installation of the next updated installer, how would I go about getting that dll deleted?
If you want the file to be removed during an upgrade, simply remove it from your project in the next version of your product.
For instance, if setup A 1.0 installs "a.txt" and "b.txt", if you want to remove "b.txt", simply remove it from your project and then build the version 2.0 of setup A.
An major upgrade consists of two steps:
- removal of the older setup
- install of the newer setup
Basically, when the older setup is removed, "b.txt" will be removed. When the newer version is installed, "b.txt" will not be installed since it is not present in the setup.