durnek60 Posted July 26, 2011 Report Share Posted July 26, 2011 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.... Quote Link to comment
Rolf Kalbermatter Posted July 27, 2011 Report Share Posted July 27, 2011 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. 1 Quote Link to comment
Darren Posted July 27, 2011 Report Share Posted July 27, 2011 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. 2 Quote Link to comment
durnek60 Posted July 27, 2011 Author Report Share Posted July 27, 2011 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. Thanks! Quote Link to comment
durnek60 Posted July 27, 2011 Author Report Share Posted July 27, 2011 (edited) 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 July 27, 2011 by durnek60 Quote Link to comment
Darren Posted July 27, 2011 Report Share Posted July 27, 2011 Do you have any experience or shall I make a test on it? I've never tried it in a built EXE, so you'll need to test it. Let me know what you figure out. 1 Quote Link to comment
durnek60 Posted July 28, 2011 Author Report Share Posted July 28, 2011 I've never tried it in a built EXE, so you'll need to test it. Let me know what you figure out. Sure! I'll try it soon! Quote Link to comment
durnek60 Posted July 28, 2011 Author Report Share Posted July 28, 2011 Sure! I'll try it soon! I created an installer, and Tested on Virtual XP, and works fine! Thanks! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.