What caused this error during a build ... - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

wtdedula
Posts: 13
Joined: Wed Aug 15, 2007 6:46 pm

What caused this error during a build ...

Hello All;
I sent a message to support yesterday but didn't receivee a response yet.

I am tryinbg to create an install from a directory that is 2.12 GB, and has 157,156 files and 5,769 filders using the Advanced Installer Professional which I purchased last week.

I executed a build a few days ago and I really thought everything was going to finish OK but I received the following error before the build finished...

Exception - Reason: Error calling Msi API:
1627 Method: MsiDatabaseCommit
Table:.Extended Error:
1:2265 2: 3:-2147286767.

My system is a brand new P4 Dual Core - Windows XP, 4 GB RAM, 429 GB Free Hard Drive Space.

I don't know why this is so difficult at a time when I really need to get my application deployed fast.

Tim
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Tim,

The problem is that the package you are creating exceeds one of the limits of the CAB file format. The maximum number of files in a single cabinet file cannot exceed 65536:

http://www.msifaq.com/a/1043.htm

The solution is to split your package into multiple volumes (at least 3 CAB files are required in your case). Select the "Multiple Volumes" option in the Media page, "Media" tab and define the sizes for the first volume and the subsequent volumes.

Another solution would be to use the option "Place files unpacked in folders next to the MSI database".

Please let me know if this solves the problem.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
wtdedula
Posts: 13
Joined: Wed Aug 15, 2007 6:46 pm

Ionut;
Thanks for the response. This sounds great if I were doing distribution on DVD but I need to provide a single file for users to download.

Can I do this using one of the two options you specified ? Can I split the file into 3 cabs and place them in a single installer package that users can download ?

Thanks.

Tim
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Tim,

In this case, I would recommend one of the following approaches:
1. Use the LZMA compression feature available for an Enterprise project.

2. Use the "One CAB archive per feature" option from the Media page. If you follow this approach, note the following:

a) You would need to modify the Organization of your package such that there are at least 3 Features and there are less than 65536 files in each Feature. In order to do this, use the "Feed to list" (F4 and/or SHIFT+F4 keys) from the Organization page.

http://www.advancedinstaller.com/user-g ... ation.html

b) In the Media page, "Bootstrapper" tab select the follwing options:
- "Create EXE setup file"
- "Include install files in EXE"
- "Retrieve from on-line location" and also specify here the URL from where the MSI will be downloaded

c) The users will download only the EXE package which will download the MSI and the CAB files (corresponding to each Feature) when they are required.

Hope this helps.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
wtdedula
Posts: 13
Joined: Wed Aug 15, 2007 6:46 pm

Hello;
I do not want to invest any more money into Advanced Installer until I'm sure it will do exactly what I want.

Will the evaluation version enable me to fully test option #1 listed below or do I need to buy it first ?

Will simply enabling LZMA compression automatically make this work for me or do I need to set anything else ?

Thanks.

Tim
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Tim,

You can test the Enterprise features for a trial period of 30 days. You can convert your existing project to Enterprise in the "Project Type" tab of the "Edit Project Settings" dialog (select "Project -> Options" from the main menu). Remember to backup the AIP file first.
Will simply enabling LZMA compression automatically make this work for me or do I need to set anything else ?
When the LZMA option is used, no CAB files are created and you do not need to configure anything else. Do however send the AIP file to our support email address in order to determine if there are any issues with it.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
wtdedula
Posts: 13
Joined: Wed Aug 15, 2007 6:46 pm

Ionut;
I have decided not to use the Enterprise Version but instead to use the Advanced Version that I purchased and create multiple Cab files that I am placing inside a Zip archive.

I just finished doing this and I placed the .msi installer plus the four Cab files on DVD and then tried to run it on a fresh computer to test.

Everything was going OK until I was asked to Insert Disk 2 and when I just clicked OK, that box came up again. I would expect the Installer to know automatically where the 4 Cab files are and to not even prompt the user to insert them. Do you know why this isn't working, and why I am prompted to enter Disk 2 and when I just press "Enter", I am prompted again to insert disk 2 ?

Also, for the License text and readme text dialogues, I used a .txt file and noticed that these two dialogues were blank when the installer was initially run. Am I required to use Rich Text Format (.rtf) only ?

Thanks.

Tim
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Tim,
Do you know why this isn't working, and why I am prompted to enter Disk 2 and when I just press "Enter", I am prompted again to insert disk 2 ?
If you are using a DVD as the distribution media set the "First Volume" and "Next Volumes" comboboxes in the Media page, "Media" tab to "4.7 GB (DVD-5)" (that is, "4482 MB").
Am I required to use Rich Text Format (.rtf) only ?
Yes, you need to use RTF files - create them using Wordpad.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
wtdedula
Posts: 13
Joined: Wed Aug 15, 2007 6:46 pm

Ionut;
Would I set the first volume and next volume to DVD (4.7 GB) if I ALSO want to bundle the installer files and cabs into a Self-Extracting Zip archive ?

I'll have to wait until I get home tonite to try it.

Thanks.

Tim
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi Tim,
Would I set the first volume and next volume to DVD (4.7 GB) if I ALSO want to bundle the installer files and cabs into a Self-Extracting Zip archive ?
Yes, also in this case.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”