By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,101 Members | 1,463 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,101 IT Pros & Developers. It's quick & easy.

Microsoft setup and deployment - launch an application at the end of installation

P: n/a
Sue
How do I launch an executable at the end of an installation created by
Microsoft Visual Studio setup and deployment project?
Jul 21 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
You might be able to create a custom action and use the Process class to
launch the application.

"Sue" <pb*********@yahoo.com> wrote in message
news:5e*************************@posting.google.co m...
How do I launch an executable at the end of an installation created by
Microsoft Visual Studio setup and deployment project?

Jul 21 '05 #2

P: n/a
There is no support within VS to do this. However, there is a topic in the Windows Installer Platform SDK help to do
this. See the link below (careful for linewrap).

http://msdn.microsoft.com/library/de...l=/library/en-
us/msi/setup/how_do_i_use_a_custom_action_to_launch_an_installe d_file_at_the_end_of_the_installation.asp

--
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: pb*********@yahoo.com (Sue)
Newsgroups: microsoft.public.dotnet.general
Subject: Microsoft setup and deployment - launch an application at the end of installation
Date: 27 Jan 2004 11:59:34 -0800

How do I launch an executable at the end of an installation created by
Microsoft Visual Studio setup and deployment project?

Jul 21 '05 #3

P: n/a
Thanks a lot for the information.

I also have another question. I have a Visual Studio.net application,
which uses MSCOMM32.OCX. This control has license problem at runtime. Is
there any setup/installation steps to fix the problem. The application
works fine on a developer machine, but, displays license error on a
end-user machine.

Thanks again.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #4

P: n/a


Thanks a lot for the information.

I also have another question. I have a Visual Studio.net application,
which uses MSCOMM32.OCX. This control has license problem at runtime. Is
there any setup/installation steps to fix the problem. The application
works fine on a developer machine, but, displays license error on a
end-user machine.

Thanks again.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #5

P: n/a
On Wed, 28 Jan 2004 06:09:50 -0800, Sue Dana <pb*********@yahoo.com>
wrote:


Thanks a lot for the information.

I also have another question. I have a Visual Studio.net application,
which uses MSCOMM32.OCX. This control has license problem at runtime. Is
there any setup/installation steps to fix the problem. The application
works fine on a developer machine, but, displays license error on a
end-user machine.

Thanks again.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


I am not an expert in ActiveX area, but here is what I am aware of:

You have to make sure that your OCX file does not have yellow icon
(warning) when you deploy the application.

Also, make sure that deployment project contains OCX file as its
dependency.

Any warning about OCX file sent to output during the build process
will result in problems with OCX file.

MS installation process will always unregister your OCX file every
time you uninstall your product with OCX. Building a product on a
machine which does not have OCX file registered will result in
problems as well.

I hope this helps...
Jul 21 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.