DevPinoy.org
A Filipino Developers Community

>>> First two to make 3 wins! <<<

AutoLaunch Wizard after Installion

rated by 0 users
This post has 1 Reply | 0 Followers

Top 25 Contributor
Posts 83
Points 1,560
romcab Posted: 08-25-2008 5:22 PM

Hi guys,

Just want to ask your idea on how I can launch a wizard after I install my application. I need this wizard to launch right after I install my application to configure/initialize my application settings. I have created an installer before but have never try to add a wizard. Hope you can give me some ideas on how to do it.

 

Thanks for all the help. 

  • | Post Points: 5
Top 25 Contributor
Posts 83
Points 1,560

 Hello guys,

I was able to do it. I just create an installer class and overrides the Commit method. I paste the code below if someone needs it.

 public override void Commit(System.Collections.IDictionary savedState)

{

base.Commit(savedState);

 

 

Process p = new Process();

 

 

p.StartInfo.FileName = Context.Parameters["INSTALLDIR"] + "AppsToLaunch.exe";

p.StartInfo.UseShellExecute = 

false;

p.StartInfo.RedirectStandardOutput =

true;

 

 

 

}

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS

Copyright DevPinoy 2005-2008