Error during build: Unable to build web media block: Incorrect parameter value
Posted: Tue Jun 14, 2016 5:31 pm
I upgraded to InstallAware X4 yesterday and the very first project that I built threw the error:
"Error during build: Unable to build web media block: Incorrect parameter value".
This is not a new project... in fact it is an existing InstallAware project that is about 10 years old. So, suffice it to say that the above problem is not the project, it is in fact a problem in InstallAware X4. There were absolutely no project changes... The ONLY thing that changed was an upgrade from InstallAware x3 to X4.
The SOLUTION:
I realised pretty quickly that building the project with compression (Web Deploy) threw the error, but building with no compression (CD or DVD) did not throw the error. Upon looking at 'Project Settings > Build > Compression >' I noticed that my compression setting had dropped from my normal setting of 'Best' to 2 steps below that:
I then increased the compression setting back up to 'Best' and the build error resolved itself:
Why this resolves the issue is something that only the gurus at InstallAware can tell us... but it is somewhat scarey that an upgrade to X4 changes project settings without authorisation and that a lower compression rate causes an error. Other than insufficient hardware to perform at a higher compression setting, there is no way that compression ratios should be the cause of an InstallAware build error.
"Error during build: Unable to build web media block: Incorrect parameter value".
This is not a new project... in fact it is an existing InstallAware project that is about 10 years old. So, suffice it to say that the above problem is not the project, it is in fact a problem in InstallAware X4. There were absolutely no project changes... The ONLY thing that changed was an upgrade from InstallAware x3 to X4.
The SOLUTION:
I realised pretty quickly that building the project with compression (Web Deploy) threw the error, but building with no compression (CD or DVD) did not throw the error. Upon looking at 'Project Settings > Build > Compression >' I noticed that my compression setting had dropped from my normal setting of 'Best' to 2 steps below that:
I then increased the compression setting back up to 'Best' and the build error resolved itself:
Why this resolves the issue is something that only the gurus at InstallAware can tell us... but it is somewhat scarey that an upgrade to X4 changes project settings without authorisation and that a lower compression rate causes an error. Other than insufficient hardware to perform at a higher compression setting, there is no way that compression ratios should be the cause of an InstallAware build error.