Wait for the installation project to close in .NET.

My end result is that I want to start another installation project after closing the first installation project. The problem is that since setup.exe is just a wrapper for the MSI package, WaitForExit leaves when the setup.exe file is completed, 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 the ways of doing this? Customization is a Visual Studio installation project.

I believe that I need to try some professional installers to find out if I can get the results that I want.

+3
source share
2 answers

InstallAware Studio Edition. , .

0

Source: https://habr.com/ru/post/1706177/


All Articles