troubleshooting Question

Outlook add-in - new version headscratcher....

Avatar of WernerVonBraun
WernerVonBraunFlag for Ireland asked on
Outlook.NET ProgrammingVisual Basic.NET
6 Comments1 Solution311 ViewsLast Modified:

Build myself a wee little outlook add-in based on the VSTO model. Works nicely. But now I'm looking at deployment. The first time I deploy the add-in it installs fine, and everything seems hunky dory.

I then make a change to the application. Some of its DLLs remain the same, others are changed. So I recompile the Solution, I increment the Version number in the deployment project, which prompts me to change the product code (which I do) but that leaves the Upgrade Code intact (ok...). I set RemovePreviousVersions to True ...

And it installs the newer version fine. But now it doesn't run.

So I set RemovePreviousVrsions to False

And it still installs the newer version fine, but now there are TWO entries for my product in Programs and Features.

Neither of which are acceptable. What am I doing wrong?
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros