I haven't found the way to "change configuration", but I have managed to get it work. I will explain it, because perhaps somebody needs it sometime...
The other day I installed LabVIEW RTE 7.1.1, and I have included when building the installer the LabVIEW RTE (in settings). This way, the application shows the error I mentioned previously.
Now, I have rebuilt the application and installer without including the LabVIEW RTE and everything works OK.