Runtime Error building Installer with NI-VISA Runtime

Greetings,  I'm getting this error whenever I check the "NI-VISA Runtime" option in the installer app builder.
Everything builds fine when I check only the Runtime Engine.  Shown below is what causes the RUNTIME ERROR and closes Labview Unexpectedly.
Any help you could provide would be very much appreciated.
Regards,
JD

Hi JD,
This is a relatively common error with the Application Builder that can happen for several different reasons, namely registry keys pointing to installations that no longer exist. The easiest way to identify the problem is to get detailed information about the installer build. Here are directions:
LabVIEW has the
ability to create a very detailed log of the events that occur when
building an application or installer. To enable this feature, open up
the LabVIEW.ini file and copy "CDK.EnableLog=true" to the bottom
of the file. Save the changes and close the ini file. The LabVIEW.ini
file is usually located in C:\Program Files\National
Instruments\LabVIEW X.X
Enabling this feature will create a log file in the %temp% directory of your computer (%...% means a computer variable) .
To
find out where this temp directory is located, go to Start>>Run.
Type in "cmd". Then type "set". This will return all of your computer's
variable names.
Look for TEMP in the list of variable names. You should see something like "TEMP=C:\DOCUME~1\user\LOCALS~1\Temp".
Navigate to this directory using Windows Explorer.
You
should see a file named "Name.log" where "name" is the name of your
build specification. For example, you might see "My Installer.log" if
the name of your build specification is "My Installer".
This will give you a more detailed log of the attempted build and, if I'm correct about why this particular build failed, show you which installer is expected at that registry. If the registry points to a directory without the necessary installer (i.e. VISA), simply delete the registry and allow the App Builder to prompt you to to point to the correct location.
Michael K.
| Michael K | Project Manager | LabVIEW R&D | National Instruments |

Similar Messages

  • Error building installer with additional traditiona ni-daq

    I get an internal error 40 when I try to build an installeur with the additional traditional ni-daq installer
    This is what I get: Hard to decript
    CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_Open.vi
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Building deployment
    Copying setup files
    Setting merged database information
    Setting product information
    Setting developer part information
    Starting final build
    Validating...
    Copying files...
    Updating files...
    Creating merged database...
    Creating installer files...
    Build complete successfully.
    Copying additional setup files
    Done building deployment
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    *** Error: Internal error. (Error code -40)
    *** End Error Report
    Done building deployment

    Champlain:
    I hope all is well. I am sorry you are experiencing such issues with the application builder. Does this issue occur consistently or it was just a one-time occurence? You may try to do the following:
    1. Delete the "Application" folder which was created after the unsuccessful builds.
    2. Uncach the folder in the Build Specs
    3. Copy your driver CDs to your hard driver and point to the newly created folder.
    Please feel free to try this at your own convenience and let me know what you find.
    Regards,
    Rudi N.

  • I keep getting the following message:  Runtime Error...Microsoft Visual C + Runtime Library  Program C:\Program Files\iTunes\iTunes.exe  R6034 An application has made an attempt to load the C runtime library incorrectly and can't open iTunes now.  Help!!

    I keep getting the following message:
    Runtime Error...Microsoft Visual C++   Runtime Library  Program C:\Program Files\iTunes\iTunes.exe
    R6034 An application has made an attempt to load the C runtime library incorrectly and can't open iTunes now.
    Please could someone help with this query as I am at a loss as to why this problem is now occurring?  Thank you.

    Check the user tip below.
    https://discussions.apple.com/docs/DOC-6562

  • Error in installation with NW04S

    Hi,
    error : CJS-30196. SAPBC JSF Communication role is not assigned to the user SAPJSF.
    i am getting the fallowing error in installation with NW04S. while trying to assign the above role to the user.any body help me with the solution.
    Thanks & Regards
        kiran.B

    Hi,
    Assign the Role  <b>SAP_BC_JSF_COMMUNICATION_RO</b> to the profile of SAPJSF user in production client and restart the installation.
    Regards,
    Siddhesh

  • TS3212 I tried to update my iTunes, but I keep getting a runtime error  R6034 Attempt to run C runtime library incorrectly.    I also got an Error 7 (Windows error 1114)

    I tried to update my iTunes, but I keep getting a runtime error R6034 attempt to run C runtime library incorrectly.  I also got an Error 7 (Windows error 1114).  Now my currently iTunes will not open.

    Hey twhitten!
    Here is an article that will help you troubleshoot this issue:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • Photoshop elements 10 won't start. Message is. 'Runtime error.  Application has requested the runtime to terminate in an unusual way.  Please contact support team for more information' 'microsoft Visual C   Runtime Library.  How do I fix this or can I jus

    photoshop elements 10 won't start. Message is. 'Runtime error.  Application has requested the runtime to terminate in an unusual way.  Please contact support team for more information' 'microsoft Visual C   Runtime Library.  How do I fix this or can I just uninstal and then re-instal (without losing my spare licence that I want to use elsewhere)  It is a PC not a Mac

    See if anything here helps:
    Troubleshoot C++ runtime errors | Adobe products | Windows

  • Error building installer: this application has requested the runtime to terminate it in an unusual way

    Hi,
    I build an appliction using LabView 8.2 with Report Generation Toolkit for MS Office V1.1.1 on a WinXP SP3 system without any errors. When I try to build a coresponding Installer, I got the following error message:
    This application has requested the runtime to terminate it in an unusual way.
    Can anyone help me????
    Solved!
    Go to Solution.

    Hi Gunnar,
    Good Morning and I hope your well today. Thanks for your post onto the NI Discussion Forums. 
    There are several considerations and potential causes of the error. I will try my best to cover some of the potential causes.
    Firstly, you've suggested that the Report Generation Toolkit is being used:
    When building applications with Report Generation Toolkit VIs, you must complete the following additional steps:
    1. From the Source Files tab of the Build Application or Shared Library (DLL) dialog box, click the Add Dynamic VI button to add the following two VIs to the application:
    – _Excel Dynamic VIs.vi in vi.lib\addons\_office\_exclsub.llb
    – _Word Dynamic VIs.vi in vi.lib\addons\
    _office\_wordsub.llb
    2. If the application you are building contains the MS Office Report Express VI, you must add any Word or Excel templates that you use to the built application. From the Source Files tab, click the Add Support File button to add the template files to the application. By default, the custom destination for the templates is the same as the path that appears in the Destination directory field on the Target tab with a data subdirectory appended. Do not change the custom destination for the files you add.
    For example, if you are using the basic Excel template with the MS Office Report Express VI, add MSOffice_RGT_Template.xlt to the application. The basic template files are located in the templates\Report directory.
    Have you done this?
    Could you please send an image of your project and your installer options?
    The problem was that I use Office toolkit and it was not compiled with LabVIEW 8.2:
    I found a forum where the toolkit wasn't complied for LabVIEW 8.2. Could this be an issue I wonder?
    I mass compiled the complete directory c:\program files\National
    Instruments\LabVIEW 8.2 (it took quite a long time) and afterwards the
    directory lvjpeg disapeared.
    Have you tried this?
    Runtime to Terminate Error:
    1. Have you been having any trouble with LabVIEW - crashes or bug installation?
    I would suggest repairing your installation of LabVIEW and the toolkit(s) using the Add/Remove Programs.
    2. Also would it be possible to try building an installer on another machine?
    3. I have seen that not enough Hard-disk space can cause this error - what is the status of yours?
    4. Are you using any other drivers such as DAQmx or VISA?
    I hope this information starts to help us locate the root cause of the trouble your having, and if you could answer the questions above and try my suggestions that would be great! if you could also gather the extra information about your installer options that would also really help supporting the issue further.
     *edit:
    5. Also the runtime error would suggest you've selected to include a runtime in your installer options - have you tried de-selecting this and see if it installer builds correctly? If it does, then we could then work on how to add the additional installer to your build. 
    Message Edited by Hillman on 04-01-2009 10:01 AM
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • USB/Serial Drivers and App Builder Installer Questions...are drivers included in the Installer with the LV runtime engine?

    Hello all,
    I'm wondering if someone can help me out with how drivers and all are treated with applications distributed with App Builder, used to create a stand alone, full install of app and labview engine with Installer.
    What has happened  is, my application was created using the NI branded USB to RS232...and USB to RS485, and they work great.
    On the application when running..you fire it up, it finds the USB to serial device, and I have a dropdown that finds the available COM ports to use (along with setting parity, etc).
    I've installed on different computers (without previous labview installs) with the installer. They all worked.
    The customer has received the installer....and despite us telling them to use the NI branded USB/Serial interfaces..they are trying to work with a different USB/serial cable.
    They say the COM ports aren't even showing up when they run the installed application.
    So, I'm not sure where to start. Is this a driver issue?  Does the App Builder Installer...install the drivers for the interfaces I was using with it? Is there a way for the person to find and install a driver on their own...or would I have to somehow find out a driver for what they use....then, basically redo the App Builder Installer build...to include that driver with the executable I send back out?
    I guess I basically need a better understanding of how drivers for external access/communications are handled when you use App Builder to create a stand alone application complete with the labview runtime engine...and nothing else.
    Thank you in advance,
    cayenne

    The main thing is that LV uses VISA to talk to serial port whether native on the machine or from USB dongles that you plug into the computer. It sounds to me like their dongles aren't working.
    Can the customer see the ports in the Windows Device Manager? Can they access them through something like hyperterminal? How does your program find the USB/Serial devices?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Missing installer component NI-VISA Runtime

    We use the LabWindows/CVI 2010 Version 10.0.0 (360) and have installed the new runtime from the installer package 5.0.3.31.
    With different projects on different computers we have the same problem: The NI-VISA runtime can not be included in the installation package. With older projects which have been already distributed we get the error message when opening the tab "Drivers & Components" and click on the red entry for the visa runtime: "This component is not installed on this system, and cannot be included in distributions built on this machine". Reinstallation of the NI-VISA runtime does not help. The installation is visible in the MDF File and the registry (distributions and products). With a new project the entry NI-VISA runtime does not appear on the "Drivers & Comnponents" tab.
    What went wrong? We are not able to create any distribution at this moment.
    Solved!
    Go to Solution.
    Attachments:
    ScreenInstallerError.jpg ‏334 KB

    The items shown in the Drivers & Components tab are enumerated from the contents of the <program files>\National Instruments\Shared\MDF\Manifests directory. If you have NI-VISA 5.0.3 installed, you should have a file in that directory named 'NI-VISA Runtime 5.0.3 {85BA3FCF-AA00-4151-B97D-84A221E8198A}.xml'. From your experience, I would guess that maybe this file is somehow missing. That would be especially strange, given that you have uninstalled and reinstalled, but it seems to be the most logical explanation. I am attaching a zipped copy of that file here as a replacement, in case you are missing it. If you already have the file, or replacing it does not solve your problem, it will be handy to look at the debug build log. You should attempt to build the distribution, then after it prompts you and you abort, look for the file <user temp dir>\distBuildDbg.log and post it in your reply.
    Mert A.
    National Instruments
    Attachments:
    NI-VISA Runtime 5.0.3 {85BA3FCF-AA00-4151-B97D-84A221E8198A}.zip ‏5 KB

  • Runtime Error on installation of ATKHTK-Driver - pls help!

    Hello All,
    last hope for getting solved this ugly problem.
    Configuration:
    Lenovo SL500; 2746, 6FG, Windows 7 32 bit - updated;
    Symptom:
    While trying to install the ATKHTK-Driver (6AG802WW) manually or with SystemUpdate following error occurs:
     Pop-up-title: Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program: C:\DRIVERS\Win7\ATKHTK\6AG802WW\setup.exe
     This application has requested the Runtime to terminate it in an unusual way.
     Please contact the application´s support team for more information.
    Without that driver i cant use the hotkeys and the PowerManager doesn't recognize the battery as installed.
    So i would be very thankful for any help!

    I am seeing the same problem here. Apparently there are others who are seeing it as well (eg this thread:
    http://forums.lenovo.com/t5/SL-Series-ThinkPad-Laptops/SL500-ATK-Hotkey-driver-and-Fingerprint-probl... and here http://www.thinkpad-forum.de/thinkpad-software/windows/79559-runtime-error-w%C3%A4hrend-installation...   )
    The driver I am trying to install is 6ag802ww, which is version 1.00.03.0
    I do not think I have any Vista drivers installed - how do I check to be sure?
    Can someone provide a step-by-step instruction on how to get around the message "This application has requested the Runtime to terminate it in an unusual way." ? What exactly to look for in the registry, for instance?

  • Runtime Error in JTable with JTableModel Implementation

    Hi,
    I tried to do a JTable (named "table) in my program, with an implementation of JTableModel, called DataContent (obj named "dc"). Now if I try to change dc's data and refresh the table in the window by doing a "table.setModel(dc);", my programm gives me just runtime errors.
    class MyFrame extends JFrame implements ActionListener{
    // This is the class of the JFrame which contains the table
    // globally defined vars:
    private DataContent dc;
    private final JTable table;
    // in someMethod(){
    public MyFrame(){
    // creates, inits and draws the table into the window - this works !
         JPanel jpPreview = new JPanel(new GridLayout(1,0));
         dc = new DataContent();
            table = new JTable(dc.getTableData(), dc.getCol());
            table.setPreferredScrollableViewportSize(new Dimension(500, 40));
            table.setBorder(borderPanel);
            jpPreview.add(table);
         jpSeparator.add(jpPreview);
    public void actionPerformed(ActionEvent ae) {
    // in the same class
              if(ae.getSource() == butLoadPath){
                   // choose a path by clicking on a button "butLoadPath"
                   szPath = sg.readPath();
                   labelLoadPath.setText(szPath);
                   dc.setPath(szPath);
                   dc.setContent(szToken);
              }else if(ae.getSource() == butSeparator){
                   // choose a different separator token by JRadioButtons
                   // when someone clicks on the button butSeparator,
                   // the table should be refreshed, with this function:
                   setPreview();
              }else...
    private void setPreview(){
              // reads out which option was chosen by the radiobuttons - this works
              // refreshes the Object[][] oData in dc - this works, too
              dc.setContent(szToken);
              // this should refresh the table obj in the JFrame,
              // this gives me some Null.pointer.exception - why ?
              table.setModel(dc);// ??? P R O B L E M ???
         }I have implemented the Interface DataContent like this:
    public class DataContent implements TableModel{
         // vars
         private int iRow,iCol;
         private String szInputData = "";
         char cToken, cLineLimiter;
         private Object[][] oData;
         // ctor
         public DataContent(){
              reset(); // set Elements...
         public void setPath( String szPath){          
              // read line from file obj...
         private void reset(){
              // set up an epmty set of data in the table...
         public void setContent( String szToken){          
              // separate content of szInputData by szToken and set oData...
         public Object[][] getTableData(){
              // return oData...
         public String[] getCol(){
              // gives some name for each column...
    ////////////////////////////////// automatic generated for the implementation of the interface JTableModel /////////////////
         /* (non-Javadoc)
          * @see javax.swing.table.TableModel#getRowCount()
         public int getRowCount() {
              // TODO Auto-generated method stub
              return iRow;
         /* (non-Javadoc)
          * @see javax.swing.table.TableModel#getColumnCount()
         public int getColumnCount() {
              // TODO Auto-generated method stub
              return iCol;
         /* (non-Javadoc)
          * @see javax.swing.table.TableModel#getColumnName(int)
         public String getColumnName(int columnIndex) {
              // TODO Auto-generated method stub
              String[] szColumnName = getCol();
              return szColumnName[columnIndex];
         /* (non-Javadoc)
          * @see javax.swing.table.TableModel#getColumnClass(int)
         public Class getColumnClass(int columnIndex) {
              // TODO Auto-generated method stub
              return null;
         /* (non-Javadoc)
          * @see javax.swing.table.TableModel#isCellEditable(int, int)
         public boolean isCellEditable(int rowIndex, int columnIndex) {
              // TODO Auto-generated method stub
              return false;
         /* (non-Javadoc)
          * @see javax.swing.table.TableModel#getValueAt(int, int)
         public Object getValueAt(int rowIndex, int columnIndex) {
              // TODO Auto-generated method stub
              return oData[rowIndex][columnIndex];
         /* (non-Javadoc)
          * @see javax.swing.table.TableModel#setValueAt(java.lang.Object, int, int)
         public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
              // TODO Auto-generated method stub
              // NO editing !
         /* (non-Javadoc)
          * @see javax.swing.table.TableModel#addTableModelListener(javax.swing.event.TableModelListener)
         public void addTableModelListener(TableModelListener l) {
              // TODO Auto-generated method stub
         /* (non-Javadoc)
          * @see javax.swing.table.TableModel#removeTableModelListener(javax.swing.event.TableModelListener)
         public void removeTableModelListener(TableModelListener l) {
              // TODO Auto-generated method stub
    }I tried to implement some of the automatic generated methods, without success, still the same problem. What can I do, that...
    table.setModel(dc);
    ...works without probs ???
    Is there a better way to do this - the table should not even be editable, just to be shown in the window, to give an impression ??
    THX

    Why are you creating you own TableModel. Use the DefaultTableModel its easier. If you don't want you cells to be editable then you just do this:
    JTable table = new JTable(...)
         public boolean isCellEditable(int row, int column)
              return false;
    };

  • Runtime error Outlook.exe with Acrobat 7.0.9

    I use Acrobat 7.0.9 professional with Office 2000. When using Outlook I get often messages "Microsoft Visual C++ runtime library Runtime error! Program: X:\Apps\Microsoft Office\Office]Outlook.exe This application has requested the Runtime to terminate it in a unusual way. Please contact the application's support team for more information."
    This error message shows up after deleting a message. Not always. The operating software is Windows XP.

    1 - the latest is 7.1
    2 - microsoft has one (maybe two) runtime fixes
    go to http://search.microsoft.com/search.aspx?mkt=en-US&setlang=en-US
    search for the text of the error message, or "something like"
    runtime update
    and follow the links to find the download

  • Error when building Installer with USI 1.5.0 with Labview 8.5

    I used to build an installer with Labview 8.2 and included this additional installer USI 1.5.0  but now with labview 8.5 it gives me an error:
    "Locate the "NI LabVIEW" distribution. LabVIEW needs to copy a component installed or updated by the distribuiton to conitnue building the installer"
    Any advice

    Hi reza_sed,
    Thank you for contacting National Instruments.  When you get this message, are you prompted for a location of this installer (CD drive or something)?  Sometimes if components are installed together, certain dependencies are created.  You might be able to add the installer to a LabVIEW 8.2 installer with no problem, but the installer cannot be found when using a different version of LabVIEW.  You might try uninstalling USI, then copying the install files from the CD or from our website to your hard drive and then installing from there.  Then, you should be able to include the additional installer.
    Another thing that may be happening is that the LabVIEW Run-Time Engine you have for 8.5 does not support NI-USI.  The full version of the Run-Time Engine supports NI-USI, but the web browser only version does not.  Make sure you select the full version when installing.
    Donovan

  • Getting "warning" -- "Late bound resolution, runtime errors could occur" with a line referencing a Word document

    The problem line is:
                Dim Author$ = wd.ActiveDocument.BuiltInDocumentProperties(WdBuiltInProperty.wdPropertyAuthor).value.ToString
    "wd" is my program's instance of Microsoft Word.
    I've encountered this error before and could always fix the program and get rid of the warning without having to enclose the line in a "Try..Catch" structure. I enclosed this line in a Try..Catch, but the warning still appears, and for some reason,
    I have dedicated my few remaining years to getting rid of it.
    Robert Homes

    Armin:
    That didn't work for me. I couldn't even compile it like that, and I changed it to:
    =============================================
            Dim props As Microsoft.Office.Core.DocumentProperties = _
                    DirectCast(wd.ActiveDocument.BuiltInDocumentProperties, _
    Microsoft.Office.Core.DocumentProperties)
            Dim Author$ = props(WdBuiltInProperty.wdPropertyAuthor).Value.ToString
    =============================================
    That at least allowed me to compile (and DID get rid of the warning), but then I got a runtime error:
    ========================================================
    An unhandled exception of type 'System.InvalidCastException' occurred in Share.exe
    Additional information: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Core.DocumentProperties'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{2DF8D04D-5BFA-101B-BDE5-00AA0044DE52}'
    failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    ================================================================================
    Robert Homes

  • Is there any choice to get windows Installer with embedded air runtime ???

    I want to get windows installer of air for desktop with embedded air runtime and all swf's

    I've used the following to package captive runtime for Windows distribution:
    Packaging AIR 3 Captive Runtime for Windows Distribution | In Flagrante Delicto!

Maybe you are looking for

  • Cannot send emails from mac email address

    Over the past 24hrs I am unable to send emails from my ibook and sporadically from my iphone. Please advice what the settings should be for SMTP and port. I think this might be the problem but I am unsure. I have a mac email address. I can send email

  • BDC for MRP Run

    Hi,      I am trying to Create Recording for the MD01 Transaction. In Recording itself is Not Updating in the Table Level(i.e., Creating the PR's).      I Have Enhanced the MD01 for Running Based On User Key and Material Group, To Stop Planning for B

  • How to run TestStand script on a remote system from a TestStand script?

    I would like to run a test stand script on a remote system from within another TestStand script. How can this be done?

  • Osd_c03 routines

    Hi, Does any one has business content routines for 0DOC_CLASS and 0DEB_CRED from following DS 2LIS_11_VAHDR,2LIS_11_VAITM,2LIS_11_V_ITM,2LIS_12_VCHDR,2LIS_12_VCITM,2LIS_13_VDHDR,2LIS_13_VDITM. i cannot find them in Business content installed here. i

  • Trouble Burning CDs that Actually Play on a CD Player

    How do I burn a CD, using iTunes purchased music, that will actually play on a stereo system? It seems that songs purchased on iTunes and then burned as an Audio OR mp3 CD won't play on a CD players. Any ideas? Thanks! ~Kate