Launching Application immediatley after Installation
-
Can any one guide me how to launch the installed application immediatley after the Finished screen button clicked. Once the user clicks the finished screen "Close" button, i need to launch the installed application. I tried with installer class. Sample code is given below.I have created a class library and within that an installer class. I tried with the afterInstall event, but its not working. namespace ClassLibrary1 { [RunInstaller(true)] public partial class Installer1 : Installer { public event InstallEventHandler AfterInstall; public Installer1() { InitializeComponent(); AfterInstall += new InstallEventHandler(AfterInstallEventHandler); } private void AfterInstallEventHandler(object sender, InstallEventArgs e) { Process.Start(@"C:\Program Files\Surisoft\SampleSetup\SampleApplication.exe", "/q"); } } } Regards Mukilan.P.S