473,472 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1187
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.