We have an installer dedicated to 64 bits OS (done with IA 2008).
We bundle a 64 bits VM with the installer, that will be installed and used by our application.

If we launch this installer on 32 bits, we have the error message "Windows error 216 occured while loading the java VM".
I would like replace this error by a clearer message like "System architecture not supported".

I didn't find how to do add a system architecture check: the error appears before the real installer starting...
Does someone have a solution?
Thanks in advance