473,320 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Launching a program at the end of an installation

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!
Jul 21 '05 #1
2 1185
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/20...mInstallMG.asp
"Meader" <Me****@discussions.microsoft.com> wrote in message
news:D9**********************************@microsof t.com...
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!
Jul 21 '05 #2
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/20...mInstallMG.asp
"Meader" <Me****@discussions.microsoft.com> wrote in message
news:D9**********************************@microsof t.com...
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!
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Drew Lettington | last post by:
I want to launch an installation (setup.exe) from a Web Server using via a URL. I currently accomplish this by passing the URL to IE: System.Diagnostics.Process ieProcess = new...
1
by: Peter | last post by:
Hallo, my application depends on others (libraries + a service), so I wrote a custom installer action for my MSI setup project that tries to install all dependencies. Unfortunately, one of them...
1
by: Gamaliel | last post by:
When I try and install Visual C++ 6.0 Enterprise Edition on a laptop with windows XP I get the error message Error launching acmboot.exe. I tried deleting...
1
by: hellrazor | last post by:
Hi, Basically, I'm trying to replicate what these guys do: http://www.whirlywiryweb.com/q/launchinie.asp Installation of their program requires registering a DLL, and registering a list...
24
by: Alan M Dunsmuir | last post by:
What is the command (in Windows Forms VB.NET) which will cause the subject computer's default browser to launch, and display a specified Web page? -- Alan M Dunsmuir
8
by: Keith French | last post by:
I am trying to launch an external program within Visual Basic 2005 Express. If it is a simple program it works well with:- myProg = "C:\MyFolder\MyApp.exe"...
1
by: Meader | last post by:
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...
7
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
1
by: alexia.bee | last post by:
Hi all, I want to develop a setup exe which installs my application using VS 2005 setup projec when installation is done. I havn't found any way for doing so. the last dialog in the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.