Solved

Running an executable after installation

Posted on 2006-07-17
5
187 Views
Last Modified: 2010-04-16
Hi All,
I have created an MSI file for my .net remoting c# application in VS 2003.  It works well.  I have also added an Executable to the installaiton that will update the client application.  It is part of the MSI file.  I would like to make this Executable run after the installation has completed.  How can I add command to my setup project to make the update component run when the installation is completed?

Any help would be greatly appreciated.

Scott
0
Comment
Question by:smpross
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:hangar18
ID: 17124626
you will need to write code in the set up to start the exe.
Something on the lines of Process.Start if I remember right.
I have some code but I'll need to dig it out.
0
 

Author Comment

by:smpross
ID: 17124811
Hangar18,
Thanks.  But how do you add code to a setup project?  Scott
0
 
LVL 1

Accepted Solution

by:
hangar18 earned 500 total points
ID: 17124998
You need to right click on the set up solution, select View/User Interface.
Here you can add a custom interface. and handle events.
As i said, I need to do a search for the code. Incase I do find it i'll post it across.
0
 

Author Comment

by:smpross
ID: 17125422
Thanks.

Scott
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vb.net dynamic formulas in runtime 11 74
Angular JS Route 3 69
C# HTTP GET method sample code 3 57
Printing 1 51
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question