LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Microsoft Visual C++ runtime error when building installer

I'm trying to build an installer for a very simple VI I've created in 8.2.  Before the build is complete I get a Microsoft Visual C++ runtime error message pointing towards the labview.exe file.  I've already tried re-installing LabVIEW and deleting older versions of the LabVIEW Runtime engines with no luck.  I recently upgraded my system from LabVIEW 6.1 and I'm using Windows XP.  Any suggestions?
 
Thanks.
LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 1 of 10
(4,237 Views)
MeCoOp,
     Please post a screenshot of your error code.  Also, do you have another computer to install LabVIEW on and try creating an installer?  What are the specs of your current computer?

Thanks

NathanT
0 Kudos
Message 2 of 10
(4,220 Views)
Is there a solution for this problem. Seems to be similair to my problem.
 
 
0 Kudos
Message 3 of 10
(4,170 Views)
With the repair function I was able to bring the installer to run. But now there is another problem. There is always a erro message when I let the setup run. After director has been chosen. The message no file found appears. I create also a log file to detect where the problem is. How is the logfile to interpret. Is there a information what's going wrong
0 Kudos
Message 4 of 10
(4,164 Views)
I ended up using msiblast to clean everything NI related completely off my computer, then did a re-install.  Evertyhing worked fine after that.
LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 5 of 10
(4,156 Views)
MeCoOp,
      I am glad to hear that everything works fine now. 

Halo,
      What additional installers are you attempting to include?  If you don't include any additional installers does it still give the error?  Does LabVIEW indicate that it is looking for a certain file before the error is thrown?

Cheers,

NathanT
0 Kudos
Message 6 of 10
(4,129 Views)

I included waveform storage, runtime engine 8.2, ni-visa-runtime and  ni-serial3.1. I tried to create a setup.exe by installer on an other pc. But it's completely the same behavior afterwards. I attached the error message. This message appears after I choose the path and continue the setup. It's the question which file is meaning.

I tried to create a setup.exe by installer without any additional. 

The strange thing is it was unsuccessful with following message. Maybe this will be helpful to find the problem.

 

CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_BuildDevPart.vi >> NI_MDF.lvlib:MDFBuildDevPart_Open.vi

0 Kudos
Message 7 of 10
(4,118 Views)
Hello halo,
      
I recommend that you update/repair your Windows Installer.  Let us know if that helps.  Also, what version of Windows are you using?  Have all of the Windows Updates been installed?

Cheers,

NathanT
0 Kudos
Message 8 of 10
(4,104 Views)
Another thing is I'm able to build setup.exe with another project. It looks as if the problem will be in my specific project. I also tried to build this specific project on a another pc. The same behaviour. I'm using xp with all updates. I created also a new project un put all the vi's in. I And now trie to find out which vi's are responsible that the installer setup.exe is not working well. Seems to be very tiring.
0 Kudos
Message 9 of 10
(4,097 Views)
halo,
     So the installer build problem persists on other machines, but is isolated to a single project and still persists even if you don't include any additional installers?  What is the error code saying in German?  Can you strip your project down to the bare minimum that reproduces the error behavior and post the code with steps to reproduce the error?

Thanks,

NathanT
0 Kudos
Message 10 of 10
(4,085 Views)