Thanks for the info!

Its been more than a decade since I worked on a serious Windows installation program for a huge 24/7 application. I am sure that my recollections are fuzzy from Perl 5.6, Win NT days! I remember spending a lot of time dealing with some of the more unusual cases, like what happens if we have a new fileA, but currently running processes are linked to an old .dll version or have open the old version of fileA or are using the info from the old version even though they have closed their filehandle to the old file version. That kind of system coordination stuff can be a mess and beyond the scope in this thread.

The general advice in this thread:

  1. Get the new copy "ready to go" on the HD.
  2. Make a backup of the original file and have a plan to revert to that if something fails.
  3. Do the file replacement (newFile replaces oldFile) in the fewest, fastest steps possible.
Are fundamentally sound, excellent practical advice.

In reply to Re^7: Read in hostfile, modify, output by Marshall
in thread Read in hostfile, modify, output by razmeth

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.