InstallAware 18 + 4.5 leaves behind data folder
Posted: Thu Jan 23, 2014 3:52 pm
For the Web build it used to be that the data directory would get cleaned out at the end of the process, but now it leaves behind stuff, for example in
Update. I set up a new "My dotNET Setup" with just Framework 4 and Framework Client 4 and the data folder is successfully removed at the end of the build. Unchecking build in the Web Media Blocks also is successful. If I change the prereq to be 4.5, 4 and Client 4 are automatically checked. When building all the Web Media Blocks, the data folder is NOT removed. This is mainly annoying because I want to be able to drag the whole release into the server for release. But now I have to manually delete the data folder. I also wonder what happened that these files were not deleted. Were they not compiled into the 7zip? Was the file name too long? (Suddenly I remember a problem with path names and converting path names to 8 chars...)
Once of these directories is
Maybe we hit some kind of max filename? I'm not sure how much shorter I can get than D:\Temp
Update2. I tried moving the folder and got "the file name(s) would be too long for the destination folder". I suspect this is probably the issue.
Update3. When I rebuild from D:\My dotNET Setup, there is only one leftover file, in fact, the one that failed the copy in Update2.
I suspect if I change the folder name to a few characters it will ultimately work. The puzzling thing is that this happens even when the .NET Web Media Blocks are set not to build. It is as if a copy occurs and an erase right after that partially fails.
Update4. When I rename the project folder to 'x' so that I am in D:/x/... the data folder gets properly removed.
Code: Select all
Release\Web\data\Microsoft .NET Framework 4.5\mFileBagIDE.dll\453DDD59\Windows\Microsoft.NET\assembly\GAC_MSIL
Update. I set up a new "My dotNET Setup" with just Framework 4 and Framework Client 4 and the data folder is successfully removed at the end of the build. Unchecking build in the Web Media Blocks also is successful. If I change the prereq to be 4.5, 4 and Client 4 are automatically checked. When building all the Web Media Blocks, the data folder is NOT removed. This is mainly annoying because I want to be able to drag the whole release into the server for release. But now I have to manually delete the data folder. I also wonder what happened that these files were not deleted. Were they not compiled into the 7zip? Was the file name too long? (Suddenly I remember a problem with path names and converting path names to 8 chars...)
Once of these directories is
Code: Select all
D:\Temp\My dotNET Setup\Release\Web\data\Microsoft .NET Framework 4.5\mFileBagIDE.dll\453DDD59\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Windows.ApplicationServer.Applications\v4.0_4.0.0.0__31bf3856ad364e35\Microsoft.Windows.ApplicationServer.Applications.dll
Maybe we hit some kind of max filename? I'm not sure how much shorter I can get than D:\Temp
Update2. I tried moving the folder and got "the file name(s) would be too long for the destination folder". I suspect this is probably the issue.
Update3. When I rebuild from D:\My dotNET Setup, there is only one leftover file, in fact, the one that failed the copy in Update2.
Code: Select all
D:\My dotNET Setup\Release\Web\data\Microsoft .NET Framework 4.5\mFileBagIDE.dll\453DDD59\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.Windows.ApplicationServer.Applications\v4.0_4.0.0.0__31bf3856ad364e35
I suspect if I change the folder name to a few characters it will ultimately work. The puzzling thing is that this happens even when the .NET Web Media Blocks are set not to build. It is as if a copy occurs and an erase right after that partially fails.
Update4. When I rename the project folder to 'x' so that I am in D:/x/... the data folder gets properly removed.