Problem with my file in the SupportVIs directory found deployment package and not the Destination directory specified

I have a little problem with a package of teststand.  I wrote a few screws to provide a wrapper around a custom DLL to provide the error handling. These screws use the following call library functions as indicated below.

After installing my application, some of my screws are my DLL custom in the correct destination directory and other parts that are in the Directory Support screw which creates the deployment. The problem is that the DLL must be installed in a specific directory, because it uses the other files that are in this place-related directories.

Currently I work around this problem by running the installer, and then manually delete the DLL to the folder of the SupportVIs dirctory.

Does anyone have any suggestions on how to fix this?.

Hey,.

So, what seems to happen, is that your VI sees that DLL as a dependency and wants to keep with her VI.  I can't find a way to the deployment tool to do what you ask, however, here are two ideas that could solve your problem in other words.

Do you need to have your DLL in the precise place?  If this is not the case, why not in your VI on your call library function, check specify a path on the chart.  Then, on your diagram, you generate a path relative to the location of the VI.  In this way, it's okay if your DLL is located in the support of screw

Another idea would be after that installation is created, you can create a batch file that runs the installation and then automatically delete the DLL support VI place.

Tags: NI Software

Similar Questions

Maybe you are looking for