Building installer Crashed with the error code 0xc0000409 - Advanced Installer Community
bivatury
Posts: 3
Joined: Wed Jan 08, 2020 9:56 am

Building installer Crashed with the error code 0xc0000409

We are trying to build installer with a total payload size of 7 GB .

The application is a simple Eclipse build with python .
The focus of the application is to just copy the customized "Eclipse" application already bundled with JRE , create shortcuts , set few environmental variables using PATH and finally running a batch file to install pre-requisites.

After running the build in the final stage the application crashes with the following WER ( Windows Error Reporting Message)

Faulting application name: advinst.exe, version: 16.6.1.0, time stamp: 0x5df8a147
Faulting module name: advinst.exe, version: 16.6.1.0, time stamp: 0x5df8a147
Exception code: 0xc0000409
Fault offset: 0x0177dffc
Faulting process id: 0x26bc
Faulting application start time: 0x01d5c491333226ee
Faulting application path: C:\Program Files (x86)\Caphyon\Advanced Installer 16.6.1\bin\x86\advinst.exe
Faulting module path: C:\Program Files (x86)\Caphyon\Advanced Installer 16.6.1\bin\x86\advinst.exe
Report Id: c7a49ec7-5d10-4170-bd27-80870604e269
Faulting package full name:
Faulting package-relative application ID:


Environment
Windows 10 Professional - 64 Bit edition

Installer version 4
Advanced Installer Freeware Edition Version 16.6.1.0

System Information
Lenovo Legion 9th Gen i7 with SSD 500 GB RAM 16GB

The installer crashes and abruptly exists during the final stage.

This was working fine previously when the payload size was around 3 GB , we have tried on 4 different machines and also a virtual machine with no respite.

Please let us know what could be the issue , is it the size for distribution?

We are trying to build a Single MSI installation package.

Thanks and regards

Bhushan
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Building installer Crashed with the error code 0xc0000409

Hello Bhushan and welcome to Advanced Installer forums,

To be fully honest with you, I can not say for sure why this issue occurs. However, I've done few tests on my machine, using 7 test files of 1GB each and everything worked as expected on both my machine and on a VM.

Could you please try to create a new project and fill it with dummy resources up to 7GB and let me know if the behavior still persists?

If so, could you please forward me the .AIP file together with a download link for the dummy resources so I can test it on my end?

Looking forward to hearing from you.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bivatury
Posts: 3
Joined: Wed Jan 08, 2020 9:56 am

Re: Building installer Crashed with the error code 0xc0000409

Sure let me do once and come back
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Building installer Crashed with the error code 0xc0000409

Hello Bhushan,

Sure, just let me know how things have worked out for you.

I am looking forward to hearing from you.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bivatury
Posts: 3
Joined: Wed Jan 08, 2020 9:56 am

Re: Building installer Crashed with the error code 0xc0000409

Hello

Have done the same , sorry to get back late , we have done same and still throws the error..

Is it possible that the single cab file has a limit for adding 4-500 small files adding up to 11 GB

Bhushan
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Building installer Crashed with the error code 0xc0000409

Hello Bhushan,

Please not that a .CAB file can not contain files larger than 2GB and also its size limit is 2GB (maximum size).

A solution to this limitation would be to have your files organized in bigger features (up to 2GB each) and then, from "Builds" page, to use the "One CAB archive per feature" option from under the "Archive" section.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”