to run application automatically after CAB file installation...

A

Arif

I want to run application automatically after CAB file installation. But i
want to write code in C# if required for this.

Regards,
arif.
 
C

Christopher Fairbairn [MVP]

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
 
A

Alberto Silva - Microsoft MVP - Device Application

Another issue to take into account is whether the user who has installed the
cab file wants a particular EXE file to be executed automatically, without
being asked for permission.

--

Alberto Silva
www.moving2u.pt - R&D Manager
http://msmvps.com/AlbertoSilva - Blog
Microsoft MVP - Device Application Development
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top