I am writing a small app which I want to be stored in a particular location on each laptop it is run on. The reason for this is that it is a wizard for configuring new laptops - e.g. it joins the domain, sets some reg keys, does some configuration - but requires some reboots along the way.
As such I want to either put it in startup or make a scheduled "start-up" task to run it at each boot, until it finishes - when it will remove itself.
I will have users running it initially from a CD or memory stick.
When it is first run, I want it to copy itself locally somewhere so it will be run again at next boot regardless of whether the cd/ mem stick is present.
Can I do this natively in the app itself, or do I need to use an unstaller of some sort? I'm pretty new to C# and noticed a publish option in Visuall C# express 2010. Can I use this?
Thanks in advance,
Ben