Solved

Running an executable after installation

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Email Body 4 47
C# Problem Solving Execerscise 5 43
Calling stored proc in EDMX 11 19
bulid json format 3 21
Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

12 Experts available now in Live!

Get 1:1 Help Now