Robert
Robert

Reputation: 541

PowerPoint Add-In Setup Project Does Not Update

I have been developing a .Net PowerPoint Add-In in Visual Studio 2013.

The project was originally created in Visual Studio 2010, utilizing the Setup Project. I recently migrated the project to 2013 and installed the 'Visual Studio Installer Projects" extension. I do not believe this is causing the problem, however it should still be noted.

I don't understand why, but when I generate updated Setup.exe and msi files, the previous version is not replaced. My colleagues and I are forced to manually remove the previous version before running the setup file or these updates are not made.

What I do on my Project:

Once this process is complete, I run the Setup.exe file. The problem is then visible; as my Add-In does not update and my changes do not exist.

I then:

However, if anybody uninstalls the Add-In and then uses the Setup.exe; the changes exist and everything works as expected.

I can only assume that there is a fundamental step or procedure that I have missed - do you have any suggestions on what this might be?

Do you know how I should troubleshoot this problem from here?

Upvotes: 1

Views: 81

Answers (1)

Robert
Robert

Reputation: 541

Okay - I have just resolved this problem!

I researched for a good hour before posting this question; typically I resolved it straight after! Apologies for that.

Simply put; I had to update the Assembly Information (version numbers) and Clean the project - instead of updating the publish version number.

Sounds obvious now I think about it.

To all those who stumble upon this: I hope you have a fantastic day! :)

Upvotes: 1

Related Questions