01-22-2013 01:39 AM
Hey,
I am trying to build an installer in labview 2011 and I get the error code -12 (see attached picture).
Does anyone know what this is about and how to solve it?
Thanks,
Grega
01-22-2013 03:01 AM
There are so many things that could cause an installer build to fail...
Sometimes when a build fail (EXE or Installer) simply closing LabVIEW and re-opening it is enough so solve the issue.
Next step would be to check that the Source Files have all been built correctly before (the EXEs and source distrib that the installer is using), check the additional installers that you enabled (make sure LabVIEW will find them where they were installed from), if you use any LVOOP make sure there is not ANY broken VIs in your classes and if your installer creates some registry entries make sure you haen't deleted any (see here for more details about that one).
Hope this helps, good luck!
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
01-23-2013 01:37 AM
Hi,
Another issue that you might have is, if you use some toolkit or modules that are not licensed/activated, you will receive an error while compiling.
What error do you receive if you build the executable and not installer?
Best regards,
I.R.
01-23-2013 01:45 AM
Hey ion.rosca,
I don't get any error for building exe file. Only for installer.
Regards,
Grega
01-23-2013 01:49 AM
Hi,
1. Please confirm that the executable works fine after you build it.
2. When you build the installer, what do you include beside your application, what drivers and what RunTime version?
Best regards,
I.R.
01-23-2013 01:51 AM
Hey,
1. my exe application works fine (provided that the target computer has labview run-time environment).
2. I don't get to that point. In my project i only choose new installer, and I get the error (without any optional window poping up).
Kind Regards,
Grega
01-23-2013 02:01 AM
Hi Grega,
At the following link it is described step by step how to build an installer
http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/build_installer/
On of the option you have, at Advanced Installer Option, you can choose what RunTime version and what drivers to be installed on the new computer.
Basically the reason for building an installer is that you don't have to install additionaly RunTime or drivers, installer will de everything for you.
Please follow the steps described in the link above and tell me if the error is still there.
I.R.
01-23-2013 02:04 AM
Hey,
this is exactly what I did. At Build Specifications I choose New -> Installer. Then I get the error (picture attached in first post).
Kind Regards,
Grega
01-23-2013 02:25 AM
If you make a simple project, a simple VI that lits a led, do you manage to build an installer for that application?
01-23-2013 02:57 AM
I tried switching on a led with boolean control in a while loop and it is the same.