TENS of installation in the application directory--> cannot find directory RTE

Hello

I couldn't find an answer of fitting about my problem using search, so I'll try my luck by asking.

First of all: I'm using Labwindows/CVI 8.5

I created an installer for my application using the Distribution Kit Wizard. Under the tab drivers & components I chose only the 'standard Run-Time'.

On the Advanced tab, I left the option "Install Labwindos/CVI Run-Time Engine in the application directory" unchecked.

This installs and works fine at my PC clients.

Now the problem:

My client does not want that all files are installed in the Windows\System32 directory...

So I checked the option "Install Labwindos/CVI Run-Time Engine in the application directory" and created a new installation routine.

This installs fine and the cvirte folder is also be copied into the directory of the specified program and not Windows\System32... but now whenever my client tries to run the application, it gets called with the following messagebox:

Cannot find the directory RTE:

C:\Windows\system32\cvirte

Which is actually very good, because I wanted to RTE must be installed in the folder of my program, but somehow my request is always pointed toward the search in system32.

Is there a way to fix this without copying the RTE in Windows\System32 again?

Given your explanation, I can understand why you see the error message. When you try to locate the resource (bin) and directories of fonts, DLL RTE search in the directory of the process that loaded, then in the system directory. As RTÉ is not installed in one of these locations (instead, it is installed in the same directory as your DLL file), we do not find the directory "RTE". There is nothing particularly wrong with what you're trying to do, except that we can't do well. I'll drop a request to fix this for a future version. In the meantime, you have a few options:

1. let the RTE to install in the system directory, as it normally would.

2. manually copy the directory cvirte of your repertoire of the DLL in the system directory.

3. ask the client install your package DLL in its application directory. The target directory can be changed by the customer at the time of installation.

I know these aren't the major options. I personally highly recommend the first option, despite protests from your customer. Is there a good reason that it is forbidden to use the system directory?

A. Mert

National Instruments

Tags: NI Software

Similar Questions

Maybe you are looking for