I'm using a setup project in visual studio 2010 for a c# outlook add-in (Office 2010/2013) and an other standalone tool. During the installation I kill all instances of outlook, afterwards I want to restart an instance of outlook.
In my addin project I added an installerclass and added an InstallEventHandler(AfterInstallEventHandler) where I execute
Process.Start("Outlook");
While the same command simply opens Outlook in an other compiled class, in the context of the installer outlook opens in the profile creation assistant.
I also tried to run said working compiled exe as an user defined action after the commit, but same problem occurs.
Any solution or explanation would be appreciated.