Ok. Great.
> doesn't work if you don't use the ProcessStartInfo
I have never experienced anything like that. Really strange.
> but there are no errors either
It's understandable as Process.Start did not fail but the new process just exited.
Just wanted to say, you can dramatically improve your troubleshooting power if you use some other features of Wix#: setup events, Debugging and logging:
> doesn't work if you don't use the ProcessStartInfo
I have never experienced anything like that. Really strange.
> but there are no errors either
It's understandable as Process.Start did not fail but the new process just exited.
Just wanted to say, you can dramatically improve your troubleshooting power if you use some other features of Wix#: setup events, Debugging and logging:
var project = new ManagedProject("ManagedSetup", ... project.AfterInstall += project_AfterInstall; ... staticvoid project_AfterInstall(SetupEventArgs e) //runs elevated { Debug.Assert(false); Process.Start(Path.Combine(e.InstallDir, "Castle.Lockdown.Browser.exe")); }