• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Reinstalling a program built in Visual Studio

I wrote an Excel Add-in in Visual Studio, installed it on another computer, then made some changes and tried to reinstall it on the other computer. I got a little pop-up the second time that said "Another version of this product is already installed. Please remove... etc." After I remove it using the add/remove programs, then I can install the newer version without Windows installer yelling at me. Why is that? Shouldn't it just ask if I want to repair the program? Is there a way I can get it to work like that?

Thanks guys.
 
First, I think it should be said in general it is safer to force the user to uninstall first (in particular if no settings are saved) as it's less likely to cause conflicts. That being said,, the method for fixing your installer is to update the version number (VS should automatically offer to update the GUID as well, which I believe needs to be done). So if you're installer says version 1.0.0.0 simply update it to 1.0.0.01 and it should be able to install over the top. There may also be a "allow upgrade" type option which you may need to enable, but I don't recall that detail off hand.
 
Back
Top