Hi,
I was also looking for a solution for some days... I developed applications which normally should start after installation.
I created a solution myself.
To run your application after installation, follow this instructions.
1. Add one Installer class in your project, say Installer1.cs ( I used c# to develop this application even though i am a vb.net developer).
2. Create event handler for AfterInstall event
3. Inside AfterInstallEvent add these code fragment..
C#
Process p = new Process();
InstallContext cont = this.Context;
ProcessStartInfo inf = new ProcessStartInfo(cont.Parameters["assemblypath"]);
p.StartInfo = inf;
p.Start();
VB.NET
Dim p as Process = new Process()
Dim cont as InstallContext = me.Context;
Dim inf as New ProcessStartInfo(cont.Parameters("assemblypath"))
p.StartInfo = inf
p.Start()
4. Then select your setup project in your solution explorer. Select "Custom Action Editor"
5. Add custom action under Install. Browse your executable file and rebuild the project.
6. After the installation process get completed, installer will run the primary executable.
Cheers...
Ajeesh B Nair