SteveDT123
Posts: 7
Joined: Thu Aug 02, 2007 8:44 pm

Build creates multiple 2GB cab files continuously and fails

Hello,

I was using Adv Installer 3.3.1, then upgraded to 5.0. I created new AIP files when I did this. The first few builds worked fine with 5.0, but then I started observing this condition where I would attempt to build and I would get here:

DefaultBuild
Building package (en): C:\Documents and Settings\xpuser\Desktop\VIEX Dists\VIEX-2.1.1\viex-2.1.1.msi
Applying file transforms... done.
Creating CAB file(s)...

The progress bar then "sticks" there for 15-25 mins, eventually I start to see these 2GB disk1.cab, disk2.cab files, etc. I then cancel the build and retry. It seems to want to create sequentially numbered cab files forever until I stop it.

Last week, I downloaded 5.1.1, and the first time I ran it with the 5.0 AIP, it worked fine. However, now, I am trying to run the EXACT same AIP and is reverting to the bad behavior mentioned above.

Any thoughts?
SteveDT123
Posts: 7
Joined: Thu Aug 02, 2007 8:44 pm

Update-

I have now started from scratch in both v5.1.1 and version 3.3.1 and everything fails now with the same problem. So now Im thoroughly confused- I don't even understand any condition that would ever cause the Advanced Installer to loop around forever creating multiple cab files endlessly!

The final MSI should be 200MB - it gets to 4GB pretty quick and then I shut it off
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please send us the .aip file (if it doesn't contain confidential information) or a small test case reproducing this behavior to support at advancedinstaller dot com

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Steve,

The problem you encounter is due to the fact that Windows Installer restricts the CAB size to 2GB and your package is more than 2GB in size. This is why AI creates sequentially numbered 2GB CAB files.

The solution is to create multiple volumes. In the "Media" page choose "Multiple Volumes" with the size you want per volume:
http://www.advancedinstaller.com/user-g ... a-tab.html

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
SteveDT123
Posts: 7
Joined: Thu Aug 02, 2007 8:44 pm

No- the package should only be ~200MB as mentioned in my second post. And remember "sometimes" (like usually one in five-ten) it works and creates the MSI correctly and its ~200MB.

It always seemed to me like Advanced Installers was getting in some kind of loop like if I were to have some shortcut from a subfolder back to the root causing it to loop adding files forever, but I know this is not the case.

So- that being said- are you seeing >2GB package in the AIP that I sent in?

Regards,
Steve
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Have you tried to reproduce this behavior on other machine?

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
SteveDT123
Posts: 7
Joined: Thu Aug 02, 2007 8:44 pm

No I haven't, we only have one installed copy / license. However, I did create a "Fresh" AIP file and it seems to work now. When this started happening, I was using the AIP file created with v5.0. Then I upgraded to 5.1.1 to hopefully resolve the problem, but I was still using the AIP created with v5.0. Now, I have just created a new AIP entirely with 5.1.1 and have had no problems and have used it to build twice, which is much better than before. However, now I've lost my product code/upgrade code. Can I just copy and paste these in the XML or is there more to it?
SteveDT123
Posts: 7
Joined: Thu Aug 02, 2007 8:44 pm

Well I spoke too soon- I just tried again this morning with the exact AIP file and it is still stuck flushing cabs to disk!

I will try on another computer for now, but this is our build machine, and there is obviously something wrong. Any ideas?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
I will try on another computer for now, but this is our build machine, and there is obviously something wrong. Any ideas?
We are unable to reproduce this behavior on our test computers. Please try on other computer and let us know if you get the same behavior.

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
SteveDT123
Posts: 7
Joined: Thu Aug 02, 2007 8:44 pm

I tried this on another computer and it works fine. Could there be something that is not getting deleted by the uninstall that is conflicting with this version?

This is our build machine, so I would of course prefer to get it running on that box.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

It's hard to tell what is wrong on that computer. Are you sure you have enough disk space on the partition when the build is made?

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”