Launching a program at the end of an installation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm using the installer shipped with Visual Studio .NET 2003. It all works
pretty well. Except I can't figure out how to launch a program (after it has
been installed) post-installation. I want it to launch from its final
resting place on the hard drive.

Also, does anyone know how to write information to the registry that is
dependent on the settings the user chooses? For instance, I want to write to
the registry the directory that the program I installed winds up. So, I
would suspect that there would be some keywords I could use like
[ApplicationFolder] or something along those lines. Anyone know what those
keywords might be?

Thanks in advance!
 
You might want to use custom actions.

Check this one for a tutorial on installer custom actions in .NET:
http://www.c-sharpcorner.com/Code/2003/Dec/CustomInstallMG.asp


I'm using the installer shipped with Visual Studio .NET 2003. It all works
pretty well. Except I can't figure out how to launch a program (after it
has
been installed) post-installation. I want it to launch from its final
resting place on the hard drive.

Also, does anyone know how to write information to the registry that is
dependent on the settings the user chooses? For instance, I want to write
to
the registry the directory that the program I installed winds up. So, I
would suspect that there would be some keywords I could use like
[ApplicationFolder] or something along those lines. Anyone know what those
keywords might be?

Thanks in advance!
 
Back
Top