We ar using VSS to manage our sourcecode and NAnt to compile it. After the main build the InstallAware is executed to build setup file.
All of our config files are also in VSS and every file in VSS is read-only so when we want to install our product with InstallAware the files that are installed on new system are also read-only this is not good because I want the setup to modify some of the configuration files.
How do I remove read-only attribute and why is it doing this? Is it a bug?
Read-Only Attribute
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
I don't think this is a bug - its simply preserving the original attributes of the file. You could call the SetFileAttributesA function in kernel32.dll using Call DLL Function to clear the attribute on files that must be read-write.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 138 guests