Jump to content

Recommended Posts

Hi!

I would like to write a code, what is able to find the ProgramFiles\National Instruments\Shared - Folder. This folder is selectable during installation.

This code will be placed into my exe, and Installer.

So, When the user install my applicaton, and select a path where my application and National Instruments Runtime will be installed, my app will search for the National Instruments\Shared path.

Is there any tricky way for that, or I have to seach whole computer, so I will have a lot of premission error.... :(

Link to comment

Hi!

I would like to write a code, what is able to find the ProgramFiles\National Instruments\Shared - Folder. This folder is selectable during installation.

This code will be placed into my exe, and Installer.

So, When the user install my applicaton, and select a path where my application and National Instruments Runtime will be installed, my app will search for the National Instruments\Shared path.

Is there any tricky way for that, or I have to seach whole computer, so I will have a lot of premission error.... :(

Most likely it's location is stored in a key in the registry in a National Instrument specific subtree.

  • Like 1
Link to comment

I would like to write a code, what is able to find the ProgramFiles\National Instruments\Shared - Folder...

Check out [LabVIEW]\help\_exfinder.llb\get NI shared folder path.vi. It's password-protected (makes a callback into LabVIEW.exe), but it does the job.

  • Like 2
Link to comment

Check out [LabVIEW]\help\_exfinder.llb\get NI shared folder path.vi. It's password-protected (makes a callback into LabVIEW.exe), but it does the job.

Will this vi work if I don't have LV development? I mean, I wanna create an installer, LV09 RTE will be included. When I install this app, will this VI returns the Shared folder?

Do you have any experience or shall I make a test on it?

Thanks in advance!

Edited by durnek60
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.