Solved

Running an executable after installation

Posted on 2006-07-17
5
185 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

862 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now