I want to run a very short set of lines in command prompt before the VSTO Add-In gets installed.
Ideally, users would click on setup.exe, then
- my custom lines get executed
- Add-In installs.
I want to do similar after the add-in is uninstalled.
Is there a good tutorial on how to do this? I tried several approaches but it never seems to really work in the end…
Workaround
I have a workaround which I really don’t like. It’s basically another project, where the executable runs the two lines of code before running another executable.
It works, but it doesn’t feel right.