Hi,
Arif said:
I want to run application automatically after CAB file installation. But i
want to write code in C# if required for this.
I don't think you will find a solution which can be done fully in C#. The
most common technique for implementing this sort functionality is to write
what's called a setup.dll for your CAB file, but these can not be written
completely in managed code.
If you are looking for a solution which you can quickly alter for your needs
with minimal coding you may be interested in a blog post of mine titled "How
to run an application immediately after installation" available at
http://www.christec.co.nz/blog/archives/119. This demonstrates one way to
achieve what you want and the only thing needing to be edited in the C
source code to work for your application would be name of the application
*.exe to launch.
Hope this helps,
Christopher Fairbairn