Deployment Project - custom action update

632 views Asked by At

Situation:

I have a Deployment Project in visual studio 2010 setup to install a console application. This console application has some custom actions written into it for the Deployment project.

EDIT: To clarify, these custom actions are using the System.Configuration.Install.Installer class in .NET. I use the Committed, BeforeUninstall, AfterUninstall events on this class, and mainly use them to cleanup left over files.

Question:

If I swap out the console application's executable with a newer version (with updated custom actions) - Will the MSI used to originally install it have any problem with the new EXE and updated custom actions on uninstall?

1

There are 1 answers

1
S.Krishna On BEST ANSWER

--Adding comment as Answer as requested--

As long as your new console app is updated in your install project, and you are releasing the new version of the installation, it should work just fine. Once installed, you can over-write the installation with the new executable and they should work just fine