I created a new Visual Studio Setup project with VS 2008.
I use it to install SQLExpress. The installatino of SQLExpress works fine when I do it manually outside of the installer.
But when I install, I get an error in SQL Express with permissions. I found out that it's because the SQLExpress process is running as the System account when I run it from my setup project.
I tried starting the process both via custom actions and via C# code that runs after a module is installed via Process.Start. But both of them run the SQLExpress process as the System account.
What can I do to run this process instead as the currently logged on user?
Note: I also tried to start calc.exe and that runs as the system process as well. Why won't it run under the context of the same user as my installer is running as?