Creating non-healing folders and files on a target system.
Posted: Sun Nov 12, 2006 5:28 pm
Hello; I have two questions that I am hoping to find answers for...
Question 1):
I need to create mulitple folders (and file) on the target system during my installation that will not be self-heal in the event that they are later moved.
The reason that I need to do this is because I have found that my clients often need to move such folders (and files within them) to a server to ensure that they are backed up daily.
The problem is that if I create the folders during the installation, once the client moves the folders to their server, the installer's self healing feature kicks in and restores the missing files and folders.
So I guess what I am really looking to so is create those files and folders during the install, but then have installer forget that they ever existed.
Question 2) I also need to enure that in the event that the client leaves the folders in the default installation location, that during an upgrade or uninstall those folders are not removed. I know how to do this with files, but doing so with folders has me stumped.
Thanks,
Steve
Question 1):
I need to create mulitple folders (and file) on the target system during my installation that will not be self-heal in the event that they are later moved.
The reason that I need to do this is because I have found that my clients often need to move such folders (and files within them) to a server to ensure that they are backed up daily.
The problem is that if I create the folders during the installation, once the client moves the folders to their server, the installer's self healing feature kicks in and restores the missing files and folders.
So I guess what I am really looking to so is create those files and folders during the install, but then have installer forget that they ever existed.
Question 2) I also need to enure that in the event that the client leaves the folders in the default installation location, that during an upgrade or uninstall those folders are not removed. I know how to do this with files, but doing so with folders has me stumped.
Thanks,
Steve