Exclude a Single File

Exclude a Single File

While excluding by file extension or by directory covers most SVS exclusion needs, I've run into a number of applications (mostly home-grown) that write settings to INI or configuration files within the application's main directory. When these files need to be excluded (usually to support upgrades where user settings are retained on the workstation -- not forced down anew with each program update) I find myself without options. I cannot exclude INI files in general, as these programs generally save ALL settings to INIs, and I want most of these files returned to original on reset. I can't exclude the directory, as it is the application's main directory.

So I'm suggesting an option to exclude a single file in addition to the current exclude options.

Good post, Josh.

Evan Thomas's picture

Good post, Josh. I've entered this request into our list of Enhancement Requests and hopefully we can get this into a future build. Keep your eyes peeled for this one.

In the meantime, do you have any "workarounds" for the issue you've come up against? Maybe something you've done to work around the issue could assist someone else with the same problem.

Thanks,

Evan Thomas

Altiris Support Services
SVS\Protect\PCT Team Lead

Exclude a Single File

MinDFreak's picture

Perhaps it is possible to put the ini file(s) in a seperate directory.
Then you can exclude this directory.

RE: Exclude a Single File

It is not always possible to move configuration files to a separate directory. I know a couple of programs (at least) that would run better over SVS than installed conventionally. But those configuration files must be on default locations, otherwise executables would not find those.

I believe that this is very common with other Win32 applications too.

----
Masi

Work around - suggestion

I realize that this topic has been up for some time. And may already have been addressed...

But I just came across it and wanted to offer my work around. When I have settings that I want to maintain (for instance in an INI), I usually will edit the primary layer and put a copy of the updated INI file inside. This allows me to still make changes but keep a base level of settings for reset of the modify layer.

Like I said, this may already have been addressed, but I figured if someone else wanted another idea, maybe it would help.

Any Ideas?

robertser's picture

Has this enhancement ever been added into SVS? I have a need to exclude only certain .ini files from a package.