Posts: 2
Joined: Tue Jun 21, 2011 9:44 am

Error Code 2356

Tue Jun 21, 2011 9:49 am


A client is having some problems installing my software on their machine. The exact error code they get is "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2356". This is a Windows error, and means "Could not locate cabinet in stream".

I am trying to find all possible causes for this, before I go back to the client.

So far, I have found posts where this is caused by
  1. 32/64 bit merge module problems
  2. Corrupted install file
Are there any other causes that you guys know of? It might be worth noting that my client's machine language is (probably) Finnish, whilst the machine I build on is English.

Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error Code 2356

Tue Jun 21, 2011 11:52 am


This can have a lot of causes. It may be even caused by the machine and not by your package. Can you please send us the .AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it? Also, please attach a verbose log of the install process.

All the best,
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Posts: 2
Joined: Tue Jun 21, 2011 9:44 am

Re: Error Code 2356

Tue Jun 21, 2011 4:59 pm

Thanks for your quick response Mihai, but I have now found the cause of the error.

The cause of this bug was a missing cab file in the .msi, because of a misconfiguration in my setup.aip file.

For future reference, I ran the following command to get debug output from msiexec, which was more useful in finding out why the install failed

Code: Select all

msiexec /i FileName.msi /L*V output.log
The error message I found was

Code: Select all

DEBUG: Error 2356:  Couldn't locate cabinet in stream: media1.cab.
Which led me to re-examine my setup.aip.

Thanks for you help!

Return to “Common Problems”