473,574 Members | 2,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
5 2175
You might be able to create a custom action and use the Process class to
launch the application.

"Sue" <pb*********@ya hoo.com> wrote in message
news:5e******** *************** **@posting.goog le.com...
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
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_t o_launch_an_ins talled_file_at_ the_end_of_the_ installation.as p

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

--------------------
From: pb*********@yah oo.com (Sue)
Newsgroups: microsoft.publi c.dotnet.genera l
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
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


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
On Wed, 28 Jan 2004 06:09:50 -0800, Sue Dana <pb*********@ya hoo.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2510
by: Patrick Carroll | last post by:
Hi, I have a problem installing MS VS.NET 2003. First of all, I have all the pre-requisites installed and I have the requirements in system and in OS. (Win2000 SP3, etc..) Now, I had to install this on a client's machine, for some strange reasons, it had to be installed on their production server, but that's besides the point. The...
3
3153
by: McCool | last post by:
How can I get the deployment project to setup a DSN pointing to an Access DB after installation takes place? Also, is there a way to kick off a vbs script after installation takes place through the deployment project? TIA Brian
1
1548
by: source | last post by:
I have a setup project and I am adding registry entries in my setup. For one of my regitry entries I need to assing the value of the path. When I put the value of my registry as \mypage.htm when I install my app, the value is simply set as "\mypage.htm" without the path of the application folder. If I also need to run a batch file as one...
2
353
by: Ricky | last post by:
I am doing setup and deployment for the first time in .NET. I have developed an application in VB.NET which uses a third party component. But in order for the component to work I need to register the component first. So I developed another applciation which does the registering automatically. So now I have 2 exe's. One exe registers the...
5
347
by: Sue | last post by:
How do I launch an executable at the end of an installation created by Microsoft Visual Studio setup and deployment project?
4
2578
by: Saber | last post by:
In VS 2005 I made a setup project for my application. The application uses a mdb file and needs Microsoft Jet OLE DB Provider to run on another PCs. In Prerequisites section of Setup Property Pages there are some checkboxes including Microsoft Data Access Component 2.8. But in microsoft site they say: This release does not include Microsoft...
5
2036
by: Nelluru | last post by:
Hi, I am using Visual Studio 2005. I am trying to create an msi package for my application using Setup and Deployment project. I am able to create msi package and it is installing properly. The problem is: I installed the application by selecting "Everyone" option. When I want to launch this application in user(not...
0
1247
by: fscharff | last post by:
I'm having difficulties with a setup-project for a VS-2003 application. The setup is used for both a new installation as an update installation. When the user performs an update, a specific files should never be overwritten (this file holds some user information). On the other hand, when the setup is a first time install, the file must be...
0
1344
by: Andrus | last post by:
I created .NET 3.5 SP1 Winforms application setup by pressing publish button in VCSE 2008 SP1 Running created setup.exe in same computer causes error below "Reference in the manifest does not match the identity of the downloaded assembly RdlDesigner.exe." and application is not installed. RDLDesigner.exe file is application created using...
0
7815
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7738
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8077
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8257
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7828
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6476
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5634
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5316
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3765
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.