Is there a way to read the RTE version of an executable without opening it?

All,
I'd like to find a method of determining which runtime engine is needed to run an executable programatically.  I'm working on an auto-updater program and have read dozens of forum posting on the topic.  I've found the Application property node for version number in the DevEnvr, and the FileVersionInfo.VI to read the build version number, etc. in the RTE.  The coding for updates within the same RTE is done and works fine.
The one thing that is absent from all of the postings is a technique to determine the RTE needed to open and run an executable.  Is one out there?
I've already got the code working to install the new version of RTE, but I'm at the last (skipped earlier) step of determining when that is needed.  Right now I've resorted to writing it in the build properties version information description and parsing it out.  I fear this flimsy work around could be easily missed on the next upgrade if someone doesn't read the documentation and include it.
I just found this Idea Exchange  which looks like a suitable solution is going into NI R&D as of a couple days ago.  But until that is released, is there a more robust way of determining this?
Solved!
Go to Solution.

Here's a recent thread about this:http://forums.ni.com/t5/LabVIEW/LabVIEW-Version-of-Built-Executables/td-p/2162718
In short, we found a way to read the EXE as a text file and performed a search for a specific pattern.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I have written a binary file with a specific header format in LABVIEW 8.6 and tried  to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I can think of two possible stumbling blocks:
    What are your 8.6 options for "byte order" and "prepend array or string size"?
    Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
    LabVIEW Champion . Do more with less code and in less time .

  • Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.

    Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.
    As an example, I'm going to my email in safari, while I wait for it to load, I open an excel document, and the OS decides excel should be the front app, so I go back to safari so I can enter my login info, but halfway through my password the OS decides that excel is where I should finish typing my password.
    VERY ANNOYING.  Can I open apps in the background?

    Thank you everyone for the suggestions. J D, I'm not a terminal fan, but I'm sure it works.  I found a solution that I can use in the dock from another post. 
    Annoyed by Mac OS
    Works great and allows me to maximize those multitasking minutes.

  • I have deleted iPhoto from my MacBook Air. When I try to reinstall it, itunes tries to charge me. Is there a way to reinstall the old version for free?

    I have deleted iPhoto from my MacBook Air. When I try to reinstall it, itunes tries to charge me. Is there a way to reinstall the old version for free?

    depening on what OS you're running you should be able to reinstall it without charge since it's part of the operating system. if running 10.6.8 or earlier you will need to use the applications install disc if there is one or if you only have one disc you can put it in and do a reinstall of the OS which will put the iphoto back on. if running 10.7 or 10.8 can sign into the app store w/ the same apple id that is associated w/ the mac and it should show in your purchases for you to reinstall it. you may need to click on the accept button if it appears next to the iphoto in your purchase listing.

  • I reedemed a movie and it only downloaded in hd and I need it in SD is there a way to get the sd version?

    I recently bought the hunger games catching fire movie combo, which included the the sd and hd movie plus the digital reemption code for itunes.  When I reeded the code onlt the HD version of the movie showed up in my purchased area.  I have a ipod classic and wish to have the SD version.  Is there a way to download the SD version?

    If you go to the iTune Store (signed in with the same Apple ID) and find the listing for that movie, and toggle the HD/SD swtich to SD, you may be able to download it without paying.
    If that does not work, from the iTunes Store Home screen, click on Purchased under QUICK LINKS.  This brings up the Purchased screen, where you can download previous purchases (that are not currently in your iTunes library).  Click Movies.  There is a toggle toward the upper right corner for All and Not in My Library.  Click All.  Confirm that your movie is listed there.
    NOTE:  Anything that you can download (because it's not in your current iTunes library) will have a Cloud (with downward arrow) icon.
    There is a checkbox near the bottom right corner, that says Download HD When Available.  Uncheck that box.  Hopefully, your movie will now show the Cloud icon.  Click that icon to download the SD version.

  • I have an iPad1 which I have reset and am preparing to give to a kid.  I now find that I can't reinstall many apps as they now seem to require IOS 6 or greater.  This is IOS 5 and can't be upgraded.  Is there a way to find the older versions of the apps?

    I have an iPad1 which I have reset and am preparing to give to a kid.  I now find that I can't reinstall many apps as they now seem to require IOS 6 or greater.  This is IOS 5 and can't be upgraded.  Is there a way to find the older versions of the apps?

    One of these links may help:
    iOSSearch - search the iTunes store for compatible apps.
    Vintapps 3.1.3 - paid app.
    Apple Club - filter apps by iOS version.

  • My old computer that ran on Mavericks was stolen and my new computer runs on Yosemite. I don't like the new iMovie (10) on the Yosemite version. Is there any way to get the old version (9) back?

    My old computer that ran on Mavericks was stolen and my new computer runs on Yosemite. I don't like the new iMovie (10) on the Yosemite version. Is there any way to get the old version (9) back?

    I read his question the way I answered it.
    If that is wrong then he can clarify his question.

  • Is there a way to download the older version of Pages 9 if you upgraded to the new one?

    Is there any way to download the older version of Pages (9) once you have updated to the newer Pages?

    If you’ve already purchased the new iWork apps in Mavericks, you can use this trick to get Pages 4.3. If you still have access to a Mac running Mountain Lion. It must be Mountain Lion or Lion. Snow Leopard won't work. If the iWork '09 apps are installed, compress them & delete the originals. Launch the Mac App Store & click on the 'install' buttons under the iWork apps. You will get a message that you can't install the new version on this Mac but it will offer to download the previous version for you. Voilá, you have the self-contained apps that you can copy to another Mac.

  • I want to install idvd 6 from an install disc.  I have idvd 7 already installed.  It will not let me because of the later installed version.  Is there a way to install the earlier version?

    I want to install idvd 6 from an install disc.  I have idvd 7 already installed.  It will not let me because of the later installed version.  Is there a way to install the earlier version?

    Delete of hide the existing iDVD application T and all files with "iDVD" in the file name with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder,
    Click to view full size
    Then install iDVD from the disk it came on originally.
    OT

  • I am trying to crop faces from old family group photos and paste them on to records in Family Tree Maker. When I do this, the pasted cropped image reverts to the original of the entire family. Is there a way of unlinking the original version from the crop

    I am trying to crop faces from old family group photos and paste them on to records in Family Tree Maker. When I do this, the pasted cropped image reverts to the original of the entire family. Is there a way of unlinking the original version from the cropped image?

    Are you copying the cropped images directly from Aperture's Browser window and then pasting into your family tree?
    It would be safer to export the cropped faces as new image files to a folder on your disk, and then drag them from there to the "Family Tree" window.
    To export select the cropped image versions in Aperture's browser and use the command "File > Export > Version". Select a suitable export preset from the pop-up menu, for example "Jpeg fit into ..." and select a folder to export to.
    Regards
    Léonie

  • Is there a way to simplify the published version of an animation, so it can be easily added into RealMedia ad service?

    When publishing an animation from Edge, I get given 1 x html file and 3 (or 5) js files. Is there an option to add the js inline, so that I am only left with 1 html file? This would make it a lot easier to add an animated file into RealMedia  ad service.
    At the moment I am left trying to work out what file paths to change in the js files and then making sure the html file is also looking at an uploaded addess for the js files.

    Here's a recent thread about this:http://forums.ni.com/t5/LabVIEW/LabVIEW-Version-of-Built-Executables/td-p/2162718
    In short, we found a way to read the EXE as a text file and performed a search for a specific pattern.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Is there any way to specify the default version of LabVIEW?

    I have a sinking feeling that the answer to this question is "no."  With more than one version installed, is there any way to set the default LabVIEW version for opening a VI? I have both 7.1 and 8 installed, and usually only use 8 to open an example or look at something posted here.  When I do that, it resets all the OS hooks so that the default action for opening a VI is to open it in version 8.  I've even gone so far as to create actions to open files in 7.1 and 8, but it always resets my default action.
    I found this KB article for when version 7 came out, but it's suggestions don't seem to work with 7 and 8.
    Ugh. I hate it when software thinks it knows what I want better than I do.

    eaolson wrote:
    I have a sinking
    feeling that the answer to this question is "no."  With more than
    one version installed, is there any way to set the default LabVIEW
    version for opening a VI? I have both 7.1 and 8 installed, and usually
    only use 8 to open an example or look at something posted here. 
    When I do that, it resets all the OS hooks so that the default action
    for opening a VI is to open it in version 8.  I've even gone so
    far as to create actions to open files in 7.1 and 8, but it always
    resets my default action.
    I found this KB article for when version 7 came out, but it's suggestions don't seem to work with 7 and 8.
    Ugh. I hate it when software thinks it knows what I want better than I do.
    Add
    in the LabVIEW.ini file of those versions you do not want to rewrite
    the registry on startup to point to themselves for VI files, the
    following:
    RegisterExtensions=False
    Of course the VersionChooser utility mentioned earlier is even more convinient.
    Rolf Kalbermatter
    Message Edited by rolfk on 06-28-2006 08:21 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Is there any way to read the pdf file in java

    Hai,
    i need some advice from anyone that is there anyway to read the pdf file directly from java...
    Without converting to other files(txt,html)
    if it is possible please help me..
    Thank you

    Or use the Adobe one (search the adobe site). Or search this forum, this is one of the Top Ten Qestions Asked here.

  • Is there any way to read the field name,through the property binded to it.

    Hi
    I want to know that,is there any method exits with which i can find the field names of the screen,if i have the property attribute with me.
    as my req is to make the validation for the property attr,& check  how many fields are binded with the single property attr,i have read the property attr dynamically,now need to find the fields linked,& need to check how many fields have not field value,& through the error msg.

    just read the attribute binded to properties using code wizard ( Control + F7).
    Code generalted will be like :
    DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
        DATA ls_cn_check TYPE wd_this->element_cn_check.
        DATA lv_ca_check LIKE ls_cn_check-ca_check.
      navigate from <CONTEXT> to <CN_CHECK> via lead selection
        lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
      get element via lead selection
        lo_el_cn_check = lo_nd_cn_check->get_element(  ).
      get single attribute
        lo_el_cn_check->get_attribute(
          EXPORTING
            name =  `CA_CHECK`
          IMPORTING
            value = lv_ca_check ).
    Here i have read attribute CA_CHECK.

  • Is there a way of grabbing the name of a shape layer without referring to it specifically?

    similar to 'thisLayer.name', is there a way of being able to grab the name of a shape layer without referring to it specifically?
    I'm wanting something like 'thisShape.name' rather than having to define it as content("this shape name")
    Any help with this would be greatly appreciated!
    thanks

    Thanks for replying Dan, you're right, I should provide more context.
    I want to be able to duplicate a shape inside a layer a number of times, and with every duplicated shape, I want that shape to evaluate what number it is (based on a name I give it so I could name it '1' and then use something like 'eval(propertyname)' to return a number or perhaps use an index to count the number of shapes in the layer) and multiply that number by some set of rules that I can define and control through a list of expression controls on another layer. This would allow me to duplicate a square 10 times and have each square's position do something like
    x = thisShapeNumber + shapeLength * TranslateExpressionControl;
    y = 0;
    [x,y]
    which would form a long line of squares for instance. Does that make sense?
    thanks in advance!

Maybe you are looking for

  • HT204655 How do I change the Names of a Group photos

    How do I change the Names of a Group of photos in the Photos app

  • Shows as installed, but it's not

    Muse and Lightroom show as installed. But they, in fact, are not. This likely stems from the way I initially set things up. I was using my traditional licensed software but have now signed up with the cloud account. Muse and LR installed but everythi

  • Oracle-BAM failed

    Hi can any body tel when I config new BAM I got the error Please correct the reported issue and redeploy the BPEL process. : Endpoint Activation Error. AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error. The Resource Adapter was una

  • Updating un-jailbroken 3gs iOS results in activation error - Help please!

    After updating my iphone 3gs to a new iOS it comes up with an activation error - this phone has NOT been jailbroken and I have tried apples suggestions. Is there anything else I can do - or should I go just in to an apple store?

  • How do i mount a disk image??

    i want to be able to look at it and make sure it works before i burn, but how do i do it?