I tried to create Installer for my application. I want befor install new version,so uninstall old version. Iusing Command line to solve.
This is my Command :
start /b msiexec.exe /x{79735753-F9D4-49AD-B29E-55C578390D25} /passive &cmd /k "e:\22-08-2016\setup.exe"
But Uninstall command not yet finish, then install start. I want Uninstall command complete then deloy install command.
How to do that.
PS: I create installer by Installshiedl 2015, if have way to create uninstall before install, please show for me, thanks.
You can use Process.WaitForExit Method: