Strange duplicate/read only/compression problem
Posted: Wed Jul 19, 2006 6:46 pm
I am currently working on my first InstallAware install and have run into what I think is a very strange bug. Our install has a number of files that need to be installed in multiple locations. If seems that any time one of these multiply referenced files is read only, and compression is turned on, you get an error like the following:
Error during build: Unable to copy file to C:\\install_files\\InstallAware\\setupvns\\Release\\Web\\data\\Planning Charts\\C_\\INSTAL~1\\tides\\tides.dat
If I take away the read only status, the problem goes away (until the next file is hit). I have not experienced this problem before I turned on compression, nor have I seen this problem with other files.
While removing the read only flag from the files works for testing, it’s not a long term solution. We pull a number of files directly out of version control, and our CMS really likes having this flag set.
Error during build: Unable to copy file to C:\\install_files\\InstallAware\\setupvns\\Release\\Web\\data\\Planning Charts\\C_\\INSTAL~1\\tides\\tides.dat
If I take away the read only status, the problem goes away (until the next file is hit). I have not experienced this problem before I turned on compression, nor have I seen this problem with other files.
While removing the read only flag from the files works for testing, it’s not a long term solution. We pull a number of files directly out of version control, and our CMS really likes having this flag set.