In my deployment project in VS2005 I have set the RemovePreviousVersions property to true, but do not get the desired effect. After changing the Version property from 0.0.1 to 0.0.2 as well as the ProductCode property when prompted by VS (leaving UpgradeCode as-is), I expected a following install to remove the version 0.0.1 from the target computer before installing the version 0.0.2. This does not seem to happen. After the install I have the 2 versions simultaneously visible in Add/Remove Programs. This seems like a trivial problem so I must do something fundamentally wrong or missing some other property somewhere. Any help greatly appreciated, thanks.
I have an installer, which has RemovePreviousVersions set to true. I created a new version of my software, where one of the libraries assembly versions went from 1.0.0 to 2.0.0. I changed the Version of the setup from 2.4.4 to 2.4.5 and when prompted to change the Product Code, I clicked OK.
![Doesn Doesn](/uploads/1/2/4/2/124243844/417937879.jpg)
Thx for the answers. Before posting I had sniffed out the possibility of version numbers below 0 creating my problem. So I uninstalled everything from the target machine, created new installers (version 1.0.0 and version 1.0.1) - same result. But I can get it to work if I increment the major version (1.0.0 and 2.0.0). Is that the way it is? I would like to explore the.msi with orca. I have seen a post somewhere telling where to find it, but - try as I might - I am unable to find neither this post nor orca itself.
Can you point me to a download site with orca on it, please. I have a similar issue. I set the RemovePreviousVersions to true, set the Version to 5.0. Create an installer and install.
I change the Version to 6.0, VS prompts me to update the ProductCode, I accept, rebuild the installer and try to install. The installer fails with an error saying the installation has been interrupted and to close the installer and retry.
I do so retry, this time I get a installation exception, it appears something failed while the uninstalling the previous version. I go back to the Control Panel Add/Remove programs, I try to Remove the installation, it fails, I Repair the installation. Why is a repair required? After Repair I can uininstall but I still have to install my second version!
Shouldn't the Second version just uninstall the first and then install the second version?