InstallAware 18 + 4.5 leaves behind data folder

Got a problem you cannot solve? Try here.
tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

InstallAware 18 + 4.5 leaves behind data folder

Postby tofutim » 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

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...)

2014-01-23_1432.png
2014-01-23_1432.png (31.88 KiB) Viewed 5744 times


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.

tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

Re: InstallAware 18 + 4.5 leaves behind data folder

Postby tofutim » Thu Jan 23, 2014 5:41 pm

D:\blds\autoup\1.6\ is too long :(

Code: Select all

D:\blds\autoup\1.6\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


never gets erased. The limit must be close to 260 if not 260.

I checked and was able to get the data folder to go away with D:\bd\autou\1.6\. That's 12 characters to play with including the internal slashes between D:\ and \Release. Now I'm worried what happens if I choose "Uncompressed" instead of "Web". Maybe it is ok because the data folder should stay.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: InstallAware 18 + 4.5 leaves behind data folder

Postby FrancescoT » Fri Jan 24, 2014 12:08 pm

Dear Tofutim,

Unfortunately, this is a know behavior that occurs with including .Net 45 runtimes only.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

tofutim
Posts: 176
Joined: Thu Mar 01, 2012 1:16 pm

Re: InstallAware 18 + 4.5 leaves behind data folder

Postby tofutim » Mon Jan 27, 2014 10:05 am

I suspect it happens with other .NET versions too -- if your base path is long enough. I think that 4.5 just has some extra extra long paths!

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: InstallAware 18 + 4.5 leaves behind data folder

Postby FrancescoT » Mon Jan 27, 2014 12:21 pm

Honestly for what I know, that data folder is left when using net 45 only.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 87 guests