Could not create cabinet file error with AI v14.0.1 - Advanced Installer Community
t3knoid
Posts: 21
Joined: Wed May 27, 2015 8:15 pm

Could not create cabinet file error with AI v14.0.1

I finally decided to upgrade our installs from 11.1 to 14.0.1. My initial tests showed no problems. I am able to build the upgraded project from my dev machine.

However, when I build the same code using our build machines, I get the following error:
Could not create cabinet file

Advanced Installer 14.0.1 build 78402
*** Stack Trace (x86) ***

[0x7534845d] RaiseException()
[0x0287dfa9] -----
[0x01944bc2] -----
[0x01a2aa3d] -----
[0x019fe4e8] -----
[0x019a3c35] -----
[0x019a972d] -----
[0x01822d71] -----
[0x019a19e9] -----
[0x015b9dfe] -----
[0x01510e84] -----
[0x0151856c] -----
[0x02112dd8] -----
[0x02112f09] -----
[0x7742367a] RtlInitializeExceptionChain()
[0x7742364d] RtlInitializeExceptionChain()
[0x01240000] MODULE_BASE_ADDRESS
What does the above stack error indicate?
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Could not create cabinet file error with AI v14.0.1

Hello,

This kind of error looks to be related to building environment. It could be related to a permission problem. By default, Advanced Installer create cab files in temp folder of the current user. When building with a build machine, please ensure that it has access and sufficient privileges to write a file to that location.
After .CAB the file is generated, it is placed accordingly to the project settings - inside the MSI/EXE or next to the package.

You should also ensure you have sufficient space on the disk.

This problem could also appear when Anti Virus programs block Advanced Installer write to disk process. If you have AV enabled, please try to build with it disable.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”