ArchSetup.NET redone in C so as to allow it to be used at install time.