1

I am writing an installer for a c# application using visual studio 2008.There i have created a setup project and created the .msi file also.it is working properly.Now I need to run my application at the end of the installation.Is there any way to override the installer class to do that? need a help

thanks

Bek Raupov
  • 3,782
  • 3
  • 24
  • 42
kalani
  • 143
  • 1
  • 4
  • 11

2 Answers2

1

Download Orca from microsoft which lets you read and edit msi files. That helped me puzzle out a different problem with installs.

And check this out Run exe after msi installation?

Community
  • 1
  • 1
Wudang
  • 553
  • 3
  • 17
  • you could use WIX to build your MSI as part of your solution build, but not sure it allows you to run arbitrary executable after install – Bek Raupov Jun 24 '11 at 08:55
0

does it have to be in MSI ? why not have a batch file (run.bat) and run your msi first followed by your app

Bek Raupov
  • 3,782
  • 3
  • 24
  • 42
  • Are you completely sure that the batch file would wait the msi execution to complete and terminate before trying to run the next command? – Davide Piras Jun 24 '11 at 08:52
  • yes, i would have though so, otherwise some of our batch files would be in big trouble :) – Bek Raupov Jun 24 '11 at 08:55