Reputation: 641
My end result is that I want to launch another setup project after the first setup project closes. The problem is that since setup.exe is just a wrapper for the MSI package, WaitForExit is quitting when the setup.exe is finished and not foo.msi.
Using Process As New System.Diagnostics.Process
Process.StartInfo.FileName = "setup.exe"
Process.StartInfo.WindowStyle = ProcessWindowStyle.Normal
Process.WaitForExit()
End Using
'Launch next setup here
What are ways to accomplish this? The setup is a Visual Studio Setup Project.
I believe I am going to need to try out some professional installer products to see if I can get the results that I want.
Upvotes: 3
Views: 847
Reputation: 641
Our company decided to go with InstallAware Studio Edition. It was able to run setups after the installation was completely finished and everything else that I could possibly need.
Upvotes: 0
Reputation: 11395
Try
msiexec
to run your msi file instead of setup.exe (http://technet.microsoft.com/en-us/library/cc759262.aspx)
Here is a detailed example: Launching MSIExec.exe From C#
Upvotes: 2