to run application automatically after CAB file installation...

to run application automatically after CAB file installation...

Post by QXJpZ » Sun, 18 Jan 2009 20:50:05


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

Regards,
arif.
 
 
 

to run application automatically after CAB file installation...

Post by Christophe » Tue, 20 Jan 2009 05:50:48

Hi,




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.yqcomputer.com/
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

 
 
 

to run application automatically after CAB file installation...

Post by Alberto Si » Tue, 20 Jan 2009 21:20:24

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://www.yqcomputer.com/
Microsoft MVP - Device Application Development