M
Michael A. Covington
I want to deploy a project in which the user is provided with a set of
READ-ONLY files to use as templates. They will be in a directory to which
the user can add files of his own.
It's important to keep the user from deleting any of the pre-supplied files,
because if this is done, the Windows Installer apparently wants to "repair"
the application. I didn't realize it kept track of such things, but it's
doing so.
How can I make the files install as read-only files?
Making them read-only in the source directory isn't enough.
If this is a Custom Action, how can I determine the directory (under Program
Files) in which they are installed? For example, suppose the Custom Action
were just a .BAT file. Could it use environment variables to find out where
the user has installed the application?
Thanks!
READ-ONLY files to use as templates. They will be in a directory to which
the user can add files of his own.
It's important to keep the user from deleting any of the pre-supplied files,
because if this is done, the Windows Installer apparently wants to "repair"
the application. I didn't realize it kept track of such things, but it's
doing so.
How can I make the files install as read-only files?
Making them read-only in the source directory isn't enough.
If this is a Custom Action, how can I determine the directory (under Program
Files) in which they are installed? For example, suppose the Custom Action
were just a .BAT file. Could it use environment variables to find out where
the user has installed the application?
Thanks!