I know we tend to stay away from Tech Support Hell (tm Dell) here and
focus more on process/tools, however I wanted to ask a question to
those possibly more experienced with AppDomains than I am. I pretty
much have a solution to the problem, however I just want to make sure
I'm not missing anything.
The problem is this, I have an Updater scenario where I need to have
the Updater update itself. This is the perfect scenario for
AppDomain.ShadowCopyFiles, however I cannot find a way to have a .NET
executable start with the ShadowCopyFiles turned on by default. Does
anyone here know of a way?
My current solution is to have a launcher.exe that will likely never
change spin up a new AppDomain with ShadowCopyFiles turned on, then
execute my updater.exe within that AppDomain. This allows the updater
to be updatable while minimizing any unchangable code. I still feels
like a kludge to me though. What do you guys and gals think?
-Jon