0
Here is the Code,
This goes as the primary output to the SetUp
Project in the Install Node. This code calls Some.exe, I know this
works because when I run EmptyProject.exe directly, it calls Some.exe
without any problems. Only when I try to install the main application,
I`m getting an exception.
These are the options i`m using InstallerClass - False [I`ve tried with True]
Argument - [TARGETDIR] - [I`ve tried this being blank too]
Any idea of whats going wrong?
using System;
using System.Windows.Forms;
using System.Diagnostics;
namespace EmptyProject
{
public class ClassEP
{
public static void Main(string[] args)
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = "Some.exe";
psi.WorkingDirectory = String.Join(" ",args);
Process.Start(psi);
}
}
}
0
Snehal,
I doing primary output. But only the exe is being created and sent to the application folder and its not being executed.
Best,
San
0
instead of adding files, u can add project output< primary output then the file get added instead of exe