How to run a batch(.bat) file during installation of window based application in c#?

Question: In my recent window based application(WPF), a requirement came to create a Window task scheduler during installation of application setup, and also same task scheduler should be deleted during un-installation of same application setup.

Can someone please help me to achieve this?

By blog owner -

After searched so many links/references, I found the solutions -

Some are the below references - 
http://stackoverflow.com/questions/2414956/how-to-run-a-bat-file-during-installation

http://shrinandvyas.blogspot.com/2010/10/run-exe-or-bat-file-from-c-wpf-with.html


In order to easy understanding about this process, Later I wrote my own blog. Please check this out -

http://vsstack.blogspot.com/2014/04/run-batch-file-during-installation.html

Please share your post/reference if any better approach to implement this process.

Post a Comment

0 Comments