Solved

Running an executable after installation

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

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…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

626 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