Solved

Running an executable after installation

Posted on 2006-07-17
5
189 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

752 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