This code will directly launch setup.exe.
Properties -> right click Open to Resources.resx -> Top Left Add Existing File -> select the file.
byte[] resourceFile = Properties.Resources.setup;
string destination = Path.Combine(Path.GetTempPath(), "setup.exe");
System.IO.File.WriteAllBytes(destination, resourceFile);
Process.Start(destination);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…