View Single Post
Old 02-20-2007   #2 (permalink)
Jesper


 
 

RE: Question About "autoexec.nt" and "config.nt" (in Vista)


"bjackson445@yahoo.com" wrote:

> We are creating an installer for our application which we of course
> anticipate will be installed under Vista (more and more as Vista
> becomes more commonly used). One thing this installer does is set the
> attributes of the files "autotexec.nt" and "config.nt" to READ-ONLY
> (BTW, in Vista, these files are located in C:\WINDOWS\SYSTEM32).
> There is something peculiar about our app which is why, under XP, we
> had the installer "protect" these files by setting them to READ-ONLY.
> My question is, does anyone see any problem in setting these same
> files to READ-ONLY under Windows Vista? We had no customer complaints
> after thousands of installations under XP. But maybe Vista, at some
> point, changes these files (ie. "autotexec.nt" and "config.nt") for
> whatever reason and, if we set them to READ-ONLY, Vista wouldn't be
> able to change them.


1. Modifying system files, particularly in a way that might break the
operating system in unexpected ways is _a really bad idea!_ You may want to
rethink that plan altogether.

2. Is your application a 16-bit application? If not, those files have
absolutely no impact on it at all. They are only used to initialize the
16-bit WOW subsystem.

3. If your app is a 16-bit application it won't run at all on Vista 64-bit
as that OS has no 16-bit subsystem. You may want to note that before people
buy the app.

4. If your app is actually a 16-bit application and it needs to rely on the
autoexec.nt and config.nt files to be formatted a particular way to work
properly you would be a whole lot better off by using a .pif file that
overrides those files instead.
My System SpecsSystem Spec